@openloaf-saas/sdk 0.1.31 → 0.1.33
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 +1281 -289
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ declare class SaaSContract {
|
|
|
15
15
|
name?: string | undefined;
|
|
16
16
|
email?: string | undefined;
|
|
17
17
|
avatarUrl?: string | undefined;
|
|
18
|
+
isAdmin?: boolean | undefined;
|
|
18
19
|
};
|
|
19
20
|
}>;
|
|
20
21
|
readonly refresh: Endpoint<{
|
|
@@ -26,6 +27,7 @@ declare class SaaSContract {
|
|
|
26
27
|
name?: string | undefined;
|
|
27
28
|
email?: string | undefined;
|
|
28
29
|
avatarUrl?: string | undefined;
|
|
30
|
+
isAdmin?: boolean | undefined;
|
|
29
31
|
};
|
|
30
32
|
} | {
|
|
31
33
|
message: string;
|
|
@@ -188,7 +190,7 @@ declare class SaaSContract {
|
|
|
188
190
|
description: string;
|
|
189
191
|
} | undefined;
|
|
190
192
|
} | null;
|
|
191
|
-
resultType: "image" | "audio" | "video";
|
|
193
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
192
194
|
isAsync: boolean;
|
|
193
195
|
paramsSchema: ({
|
|
194
196
|
key: string;
|
|
@@ -296,6 +298,10 @@ declare class SaaSContract {
|
|
|
296
298
|
sharedGroup?: string | undefined;
|
|
297
299
|
sharedMaxCount?: number | undefined;
|
|
298
300
|
}[];
|
|
301
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
302
|
+
endpoint?: string | undefined;
|
|
303
|
+
tags?: string[] | undefined;
|
|
304
|
+
familyId?: string | undefined;
|
|
299
305
|
}[];
|
|
300
306
|
}[];
|
|
301
307
|
updatedAt?: string | undefined;
|
|
@@ -327,7 +333,7 @@ declare class SaaSContract {
|
|
|
327
333
|
description: string;
|
|
328
334
|
} | undefined;
|
|
329
335
|
} | null;
|
|
330
|
-
resultType: "image" | "audio" | "video";
|
|
336
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
331
337
|
isAsync: boolean;
|
|
332
338
|
paramsSchema: ({
|
|
333
339
|
key: string;
|
|
@@ -435,6 +441,10 @@ declare class SaaSContract {
|
|
|
435
441
|
sharedGroup?: string | undefined;
|
|
436
442
|
sharedMaxCount?: number | undefined;
|
|
437
443
|
}[];
|
|
444
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
445
|
+
endpoint?: string | undefined;
|
|
446
|
+
tags?: string[] | undefined;
|
|
447
|
+
familyId?: string | undefined;
|
|
438
448
|
}[];
|
|
439
449
|
}[];
|
|
440
450
|
updatedAt?: string | undefined;
|
|
@@ -466,7 +476,150 @@ declare class SaaSContract {
|
|
|
466
476
|
description: string;
|
|
467
477
|
} | undefined;
|
|
468
478
|
} | null;
|
|
469
|
-
resultType: "image" | "audio" | "video";
|
|
479
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
480
|
+
isAsync: boolean;
|
|
481
|
+
paramsSchema: ({
|
|
482
|
+
key: string;
|
|
483
|
+
label: string;
|
|
484
|
+
type: "select";
|
|
485
|
+
default?: unknown;
|
|
486
|
+
group?: "primary" | "advanced" | undefined;
|
|
487
|
+
visibleWhen?: unknown;
|
|
488
|
+
clientOnly?: boolean | undefined;
|
|
489
|
+
hint?: string | undefined;
|
|
490
|
+
required?: boolean | undefined;
|
|
491
|
+
options?: {
|
|
492
|
+
value: string | number | boolean;
|
|
493
|
+
label: string;
|
|
494
|
+
thumbnail?: string | undefined;
|
|
495
|
+
}[] | undefined;
|
|
496
|
+
catalog?: string | undefined;
|
|
497
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
498
|
+
searchable?: boolean | undefined;
|
|
499
|
+
} | {
|
|
500
|
+
key: string;
|
|
501
|
+
label: string;
|
|
502
|
+
type: "tab";
|
|
503
|
+
options: {
|
|
504
|
+
value: string | number | boolean;
|
|
505
|
+
label: string;
|
|
506
|
+
thumbnail?: string | undefined;
|
|
507
|
+
}[];
|
|
508
|
+
default?: unknown;
|
|
509
|
+
group?: "primary" | "advanced" | undefined;
|
|
510
|
+
visibleWhen?: unknown;
|
|
511
|
+
clientOnly?: boolean | undefined;
|
|
512
|
+
hint?: string | undefined;
|
|
513
|
+
required?: boolean | undefined;
|
|
514
|
+
} | {
|
|
515
|
+
key: string;
|
|
516
|
+
label: string;
|
|
517
|
+
type: "boolean";
|
|
518
|
+
default?: unknown;
|
|
519
|
+
group?: "primary" | "advanced" | undefined;
|
|
520
|
+
visibleWhen?: unknown;
|
|
521
|
+
clientOnly?: boolean | undefined;
|
|
522
|
+
hint?: string | undefined;
|
|
523
|
+
required?: boolean | undefined;
|
|
524
|
+
} | {
|
|
525
|
+
key: string;
|
|
526
|
+
label: string;
|
|
527
|
+
type: "text";
|
|
528
|
+
default?: unknown;
|
|
529
|
+
group?: "primary" | "advanced" | undefined;
|
|
530
|
+
visibleWhen?: unknown;
|
|
531
|
+
clientOnly?: boolean | undefined;
|
|
532
|
+
hint?: string | undefined;
|
|
533
|
+
required?: boolean | undefined;
|
|
534
|
+
multiline?: boolean | undefined;
|
|
535
|
+
placeholder?: string | undefined;
|
|
536
|
+
minLength?: number | undefined;
|
|
537
|
+
maxLength?: number | undefined;
|
|
538
|
+
} | {
|
|
539
|
+
key: string;
|
|
540
|
+
label: string;
|
|
541
|
+
type: "slider";
|
|
542
|
+
min: number;
|
|
543
|
+
max: number;
|
|
544
|
+
default?: unknown;
|
|
545
|
+
group?: "primary" | "advanced" | undefined;
|
|
546
|
+
visibleWhen?: unknown;
|
|
547
|
+
clientOnly?: boolean | undefined;
|
|
548
|
+
hint?: string | undefined;
|
|
549
|
+
required?: boolean | undefined;
|
|
550
|
+
step?: number | undefined;
|
|
551
|
+
} | {
|
|
552
|
+
key: string;
|
|
553
|
+
label: string;
|
|
554
|
+
type: "number";
|
|
555
|
+
default?: unknown;
|
|
556
|
+
group?: "primary" | "advanced" | undefined;
|
|
557
|
+
visibleWhen?: unknown;
|
|
558
|
+
clientOnly?: boolean | undefined;
|
|
559
|
+
hint?: string | undefined;
|
|
560
|
+
required?: boolean | undefined;
|
|
561
|
+
min?: number | undefined;
|
|
562
|
+
max?: number | undefined;
|
|
563
|
+
step?: number | undefined;
|
|
564
|
+
})[];
|
|
565
|
+
inputSlots: {
|
|
566
|
+
role: string;
|
|
567
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
568
|
+
label: string;
|
|
569
|
+
key?: string | undefined;
|
|
570
|
+
required?: boolean | undefined;
|
|
571
|
+
minCount?: number | undefined;
|
|
572
|
+
maxCount?: number | undefined;
|
|
573
|
+
placeholder?: string | undefined;
|
|
574
|
+
multiline?: boolean | undefined;
|
|
575
|
+
minLength?: number | undefined;
|
|
576
|
+
maxLength?: number | undefined;
|
|
577
|
+
maxFileSize?: number | undefined;
|
|
578
|
+
acceptFormats?: string[] | undefined;
|
|
579
|
+
minResolution?: number | undefined;
|
|
580
|
+
maxResolution?: number | undefined;
|
|
581
|
+
minDuration?: number | undefined;
|
|
582
|
+
maxDuration?: number | undefined;
|
|
583
|
+
hint?: string | undefined;
|
|
584
|
+
sharedGroup?: string | undefined;
|
|
585
|
+
sharedMaxCount?: number | undefined;
|
|
586
|
+
}[];
|
|
587
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
588
|
+
endpoint?: string | undefined;
|
|
589
|
+
tags?: string[] | undefined;
|
|
590
|
+
familyId?: string | undefined;
|
|
591
|
+
}[];
|
|
592
|
+
}[];
|
|
593
|
+
updatedAt?: string | undefined;
|
|
594
|
+
};
|
|
595
|
+
}>;
|
|
596
|
+
readonly v3TextCapabilities: Endpoint<void, {
|
|
597
|
+
success: true;
|
|
598
|
+
data: {
|
|
599
|
+
category: string;
|
|
600
|
+
features: {
|
|
601
|
+
id: string;
|
|
602
|
+
displayName: string;
|
|
603
|
+
description: string;
|
|
604
|
+
variants: {
|
|
605
|
+
id: string;
|
|
606
|
+
featureTabName: string;
|
|
607
|
+
creditsPerCall: number;
|
|
608
|
+
billingType: string;
|
|
609
|
+
minMembershipLevel: string;
|
|
610
|
+
maxBatchSize: number;
|
|
611
|
+
resourceConstraints: {
|
|
612
|
+
maxFileSize: number;
|
|
613
|
+
maxFiles: number;
|
|
614
|
+
acceptedFormats: string[];
|
|
615
|
+
requiresUpload: boolean;
|
|
616
|
+
maxResolution?: number | undefined;
|
|
617
|
+
precheck?: {
|
|
618
|
+
type: string;
|
|
619
|
+
description: string;
|
|
620
|
+
} | undefined;
|
|
621
|
+
} | null;
|
|
622
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
470
623
|
isAsync: boolean;
|
|
471
624
|
paramsSchema: ({
|
|
472
625
|
key: string;
|
|
@@ -574,11 +727,27 @@ declare class SaaSContract {
|
|
|
574
727
|
sharedGroup?: string | undefined;
|
|
575
728
|
sharedMaxCount?: number | undefined;
|
|
576
729
|
}[];
|
|
730
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
731
|
+
endpoint?: string | undefined;
|
|
732
|
+
tags?: string[] | undefined;
|
|
733
|
+
familyId?: string | undefined;
|
|
577
734
|
}[];
|
|
578
735
|
}[];
|
|
579
736
|
updatedAt?: string | undefined;
|
|
580
737
|
};
|
|
581
738
|
}>;
|
|
739
|
+
readonly v3TextGenerate: Endpoint<{
|
|
740
|
+
feature: string;
|
|
741
|
+
variant: string;
|
|
742
|
+
inputs?: Record<string, unknown> | undefined;
|
|
743
|
+
params?: Record<string, unknown> | undefined;
|
|
744
|
+
}, {
|
|
745
|
+
success: true;
|
|
746
|
+
data: {
|
|
747
|
+
text: string;
|
|
748
|
+
creditsConsumed?: number | undefined;
|
|
749
|
+
};
|
|
750
|
+
}>;
|
|
582
751
|
readonly v3Generate: Endpoint<{
|
|
583
752
|
feature: string;
|
|
584
753
|
variant: string;
|
|
@@ -860,6 +1029,11 @@ declare class SaaSContract {
|
|
|
860
1029
|
code: string;
|
|
861
1030
|
title: string;
|
|
862
1031
|
creditsAmount: number;
|
|
1032
|
+
grantMembershipLevel: "lite" | "pro" | "premium" | null;
|
|
1033
|
+
grantMembershipDays: number | null;
|
|
1034
|
+
membershipLevelAfterRedeem: "lite" | "pro" | "premium" | "free";
|
|
1035
|
+
membershipStartAt: string | null;
|
|
1036
|
+
membershipEndAt: string | null;
|
|
863
1037
|
newBalance: number;
|
|
864
1038
|
createdAt: string;
|
|
865
1039
|
}>;
|
|
@@ -870,6 +1044,10 @@ declare class SaaSContract {
|
|
|
870
1044
|
items: {
|
|
871
1045
|
id: string;
|
|
872
1046
|
creditsAmount: number;
|
|
1047
|
+
grantMembershipLevel: "lite" | "pro" | "premium" | null;
|
|
1048
|
+
grantMembershipDays: number | null;
|
|
1049
|
+
membershipStartAt: string | null;
|
|
1050
|
+
membershipEndAt: string | null;
|
|
873
1051
|
createdAt: string;
|
|
874
1052
|
redeemCode: {
|
|
875
1053
|
id: string;
|
|
@@ -883,7 +1061,83 @@ declare class SaaSContract {
|
|
|
883
1061
|
pageCount: number;
|
|
884
1062
|
}>;
|
|
885
1063
|
};
|
|
886
|
-
/** Skill
|
|
1064
|
+
/** Skill marketplace endpoints. */
|
|
1065
|
+
readonly skillMarket: {
|
|
1066
|
+
readonly list: Endpoint<{
|
|
1067
|
+
page: number;
|
|
1068
|
+
pageSize: number;
|
|
1069
|
+
lang?: string | undefined;
|
|
1070
|
+
category?: string | undefined;
|
|
1071
|
+
search?: string | undefined;
|
|
1072
|
+
sort?: "rating" | "popular" | "newest" | undefined;
|
|
1073
|
+
repoId?: string | undefined;
|
|
1074
|
+
}, {
|
|
1075
|
+
skills: {
|
|
1076
|
+
id: string;
|
|
1077
|
+
folderName: string;
|
|
1078
|
+
name: string;
|
|
1079
|
+
description: string;
|
|
1080
|
+
tags: string[];
|
|
1081
|
+
repoLabel: string;
|
|
1082
|
+
isOfficial: boolean;
|
|
1083
|
+
downloadCount: number;
|
|
1084
|
+
rating: number;
|
|
1085
|
+
ratingCount: number;
|
|
1086
|
+
version: string;
|
|
1087
|
+
updatedAt: string;
|
|
1088
|
+
summary?: string | undefined;
|
|
1089
|
+
icon?: string | undefined;
|
|
1090
|
+
category?: string | null | undefined;
|
|
1091
|
+
qualityScore?: number | null | undefined;
|
|
1092
|
+
}[];
|
|
1093
|
+
total: number;
|
|
1094
|
+
pageCount: number;
|
|
1095
|
+
}>;
|
|
1096
|
+
readonly detail: (skillId: string) => Endpoint<{
|
|
1097
|
+
lang?: string | undefined;
|
|
1098
|
+
}, {
|
|
1099
|
+
id: string;
|
|
1100
|
+
folderName: string;
|
|
1101
|
+
name: string;
|
|
1102
|
+
description: string;
|
|
1103
|
+
tags: string[];
|
|
1104
|
+
repoLabel: string;
|
|
1105
|
+
isOfficial: boolean;
|
|
1106
|
+
downloadCount: number;
|
|
1107
|
+
rating: number;
|
|
1108
|
+
ratingCount: number;
|
|
1109
|
+
version: string;
|
|
1110
|
+
updatedAt: string;
|
|
1111
|
+
pathInRepo: string;
|
|
1112
|
+
repoUrl: string;
|
|
1113
|
+
fullContent: string;
|
|
1114
|
+
createdAt: string;
|
|
1115
|
+
summary?: string | undefined;
|
|
1116
|
+
icon?: string | undefined;
|
|
1117
|
+
category?: string | null | undefined;
|
|
1118
|
+
qualityScore?: number | null | undefined;
|
|
1119
|
+
}>;
|
|
1120
|
+
readonly checkUpdates: Endpoint<{
|
|
1121
|
+
installed: {
|
|
1122
|
+
skillId: string;
|
|
1123
|
+
version: string;
|
|
1124
|
+
}[];
|
|
1125
|
+
}, {
|
|
1126
|
+
updates: {
|
|
1127
|
+
skillId: string;
|
|
1128
|
+
hasUpdate: boolean;
|
|
1129
|
+
}[];
|
|
1130
|
+
}>;
|
|
1131
|
+
readonly rate: (skillId: string) => Endpoint<{
|
|
1132
|
+
rating: number;
|
|
1133
|
+
comment?: string | undefined;
|
|
1134
|
+
}, {
|
|
1135
|
+
ok: boolean;
|
|
1136
|
+
rating: number | null;
|
|
1137
|
+
ratingCount: number;
|
|
1138
|
+
}>;
|
|
1139
|
+
};
|
|
1140
|
+
/** Skill management endpoints. */
|
|
887
1141
|
readonly skills: {
|
|
888
1142
|
readonly list: Endpoint<{
|
|
889
1143
|
page: number;
|
|
@@ -973,7 +1227,7 @@ declare class SaaSContract {
|
|
|
973
1227
|
user: {
|
|
974
1228
|
id: string;
|
|
975
1229
|
provider: string;
|
|
976
|
-
membershipLevel: "
|
|
1230
|
+
membershipLevel: "lite" | "pro" | "premium" | "free";
|
|
977
1231
|
creditsBalance: number;
|
|
978
1232
|
isAdmin: boolean;
|
|
979
1233
|
createdAt: string;
|
|
@@ -1217,7 +1471,7 @@ declare const aiEndpoints: {
|
|
|
1217
1471
|
description: string;
|
|
1218
1472
|
} | undefined;
|
|
1219
1473
|
} | null;
|
|
1220
|
-
resultType: "image" | "audio" | "video";
|
|
1474
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
1221
1475
|
isAsync: boolean;
|
|
1222
1476
|
paramsSchema: ({
|
|
1223
1477
|
key: string;
|
|
@@ -1325,6 +1579,10 @@ declare const aiEndpoints: {
|
|
|
1325
1579
|
sharedGroup?: string | undefined;
|
|
1326
1580
|
sharedMaxCount?: number | undefined;
|
|
1327
1581
|
}[];
|
|
1582
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
1583
|
+
endpoint?: string | undefined;
|
|
1584
|
+
tags?: string[] | undefined;
|
|
1585
|
+
familyId?: string | undefined;
|
|
1328
1586
|
}[];
|
|
1329
1587
|
}[];
|
|
1330
1588
|
updatedAt?: string | undefined;
|
|
@@ -1357,7 +1615,7 @@ declare const aiEndpoints: {
|
|
|
1357
1615
|
description: string;
|
|
1358
1616
|
} | undefined;
|
|
1359
1617
|
} | null;
|
|
1360
|
-
resultType: "image" | "audio" | "video";
|
|
1618
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
1361
1619
|
isAsync: boolean;
|
|
1362
1620
|
paramsSchema: ({
|
|
1363
1621
|
key: string;
|
|
@@ -1465,6 +1723,10 @@ declare const aiEndpoints: {
|
|
|
1465
1723
|
sharedGroup?: string | undefined;
|
|
1466
1724
|
sharedMaxCount?: number | undefined;
|
|
1467
1725
|
}[];
|
|
1726
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
1727
|
+
endpoint?: string | undefined;
|
|
1728
|
+
tags?: string[] | undefined;
|
|
1729
|
+
familyId?: string | undefined;
|
|
1468
1730
|
}[];
|
|
1469
1731
|
}[];
|
|
1470
1732
|
updatedAt?: string | undefined;
|
|
@@ -1497,7 +1759,7 @@ declare const aiEndpoints: {
|
|
|
1497
1759
|
description: string;
|
|
1498
1760
|
} | undefined;
|
|
1499
1761
|
} | null;
|
|
1500
|
-
resultType: "image" | "audio" | "video";
|
|
1762
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
1501
1763
|
isAsync: boolean;
|
|
1502
1764
|
paramsSchema: ({
|
|
1503
1765
|
key: string;
|
|
@@ -1605,11 +1867,172 @@ declare const aiEndpoints: {
|
|
|
1605
1867
|
sharedGroup?: string | undefined;
|
|
1606
1868
|
sharedMaxCount?: number | undefined;
|
|
1607
1869
|
}[];
|
|
1870
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
1871
|
+
endpoint?: string | undefined;
|
|
1872
|
+
tags?: string[] | undefined;
|
|
1873
|
+
familyId?: string | undefined;
|
|
1608
1874
|
}[];
|
|
1609
1875
|
}[];
|
|
1610
1876
|
updatedAt?: string | undefined;
|
|
1611
1877
|
};
|
|
1612
1878
|
}>;
|
|
1879
|
+
/** Get text capabilities (features + variants). */
|
|
1880
|
+
readonly v3TextCapabilities: Endpoint<void, {
|
|
1881
|
+
success: true;
|
|
1882
|
+
data: {
|
|
1883
|
+
category: string;
|
|
1884
|
+
features: {
|
|
1885
|
+
id: string;
|
|
1886
|
+
displayName: string;
|
|
1887
|
+
description: string;
|
|
1888
|
+
variants: {
|
|
1889
|
+
id: string;
|
|
1890
|
+
featureTabName: string;
|
|
1891
|
+
creditsPerCall: number;
|
|
1892
|
+
billingType: string;
|
|
1893
|
+
minMembershipLevel: string;
|
|
1894
|
+
maxBatchSize: number;
|
|
1895
|
+
resourceConstraints: {
|
|
1896
|
+
maxFileSize: number;
|
|
1897
|
+
maxFiles: number;
|
|
1898
|
+
acceptedFormats: string[];
|
|
1899
|
+
requiresUpload: boolean;
|
|
1900
|
+
maxResolution?: number | undefined;
|
|
1901
|
+
precheck?: {
|
|
1902
|
+
type: string;
|
|
1903
|
+
description: string;
|
|
1904
|
+
} | undefined;
|
|
1905
|
+
} | null;
|
|
1906
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
1907
|
+
isAsync: boolean;
|
|
1908
|
+
paramsSchema: ({
|
|
1909
|
+
key: string;
|
|
1910
|
+
label: string;
|
|
1911
|
+
type: "select";
|
|
1912
|
+
default?: unknown;
|
|
1913
|
+
group?: "primary" | "advanced" | undefined;
|
|
1914
|
+
visibleWhen?: unknown;
|
|
1915
|
+
clientOnly?: boolean | undefined;
|
|
1916
|
+
hint?: string | undefined;
|
|
1917
|
+
required?: boolean | undefined;
|
|
1918
|
+
options?: {
|
|
1919
|
+
value: string | number | boolean;
|
|
1920
|
+
label: string;
|
|
1921
|
+
thumbnail?: string | undefined;
|
|
1922
|
+
}[] | undefined;
|
|
1923
|
+
catalog?: string | undefined;
|
|
1924
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
1925
|
+
searchable?: boolean | undefined;
|
|
1926
|
+
} | {
|
|
1927
|
+
key: string;
|
|
1928
|
+
label: string;
|
|
1929
|
+
type: "tab";
|
|
1930
|
+
options: {
|
|
1931
|
+
value: string | number | boolean;
|
|
1932
|
+
label: string;
|
|
1933
|
+
thumbnail?: string | undefined;
|
|
1934
|
+
}[];
|
|
1935
|
+
default?: unknown;
|
|
1936
|
+
group?: "primary" | "advanced" | undefined;
|
|
1937
|
+
visibleWhen?: unknown;
|
|
1938
|
+
clientOnly?: boolean | undefined;
|
|
1939
|
+
hint?: string | undefined;
|
|
1940
|
+
required?: boolean | undefined;
|
|
1941
|
+
} | {
|
|
1942
|
+
key: string;
|
|
1943
|
+
label: string;
|
|
1944
|
+
type: "boolean";
|
|
1945
|
+
default?: unknown;
|
|
1946
|
+
group?: "primary" | "advanced" | undefined;
|
|
1947
|
+
visibleWhen?: unknown;
|
|
1948
|
+
clientOnly?: boolean | undefined;
|
|
1949
|
+
hint?: string | undefined;
|
|
1950
|
+
required?: boolean | undefined;
|
|
1951
|
+
} | {
|
|
1952
|
+
key: string;
|
|
1953
|
+
label: string;
|
|
1954
|
+
type: "text";
|
|
1955
|
+
default?: unknown;
|
|
1956
|
+
group?: "primary" | "advanced" | undefined;
|
|
1957
|
+
visibleWhen?: unknown;
|
|
1958
|
+
clientOnly?: boolean | undefined;
|
|
1959
|
+
hint?: string | undefined;
|
|
1960
|
+
required?: boolean | undefined;
|
|
1961
|
+
multiline?: boolean | undefined;
|
|
1962
|
+
placeholder?: string | undefined;
|
|
1963
|
+
minLength?: number | undefined;
|
|
1964
|
+
maxLength?: number | undefined;
|
|
1965
|
+
} | {
|
|
1966
|
+
key: string;
|
|
1967
|
+
label: string;
|
|
1968
|
+
type: "slider";
|
|
1969
|
+
min: number;
|
|
1970
|
+
max: number;
|
|
1971
|
+
default?: unknown;
|
|
1972
|
+
group?: "primary" | "advanced" | undefined;
|
|
1973
|
+
visibleWhen?: unknown;
|
|
1974
|
+
clientOnly?: boolean | undefined;
|
|
1975
|
+
hint?: string | undefined;
|
|
1976
|
+
required?: boolean | undefined;
|
|
1977
|
+
step?: number | undefined;
|
|
1978
|
+
} | {
|
|
1979
|
+
key: string;
|
|
1980
|
+
label: string;
|
|
1981
|
+
type: "number";
|
|
1982
|
+
default?: unknown;
|
|
1983
|
+
group?: "primary" | "advanced" | undefined;
|
|
1984
|
+
visibleWhen?: unknown;
|
|
1985
|
+
clientOnly?: boolean | undefined;
|
|
1986
|
+
hint?: string | undefined;
|
|
1987
|
+
required?: boolean | undefined;
|
|
1988
|
+
min?: number | undefined;
|
|
1989
|
+
max?: number | undefined;
|
|
1990
|
+
step?: number | undefined;
|
|
1991
|
+
})[];
|
|
1992
|
+
inputSlots: {
|
|
1993
|
+
role: string;
|
|
1994
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
1995
|
+
label: string;
|
|
1996
|
+
key?: string | undefined;
|
|
1997
|
+
required?: boolean | undefined;
|
|
1998
|
+
minCount?: number | undefined;
|
|
1999
|
+
maxCount?: number | undefined;
|
|
2000
|
+
placeholder?: string | undefined;
|
|
2001
|
+
multiline?: boolean | undefined;
|
|
2002
|
+
minLength?: number | undefined;
|
|
2003
|
+
maxLength?: number | undefined;
|
|
2004
|
+
maxFileSize?: number | undefined;
|
|
2005
|
+
acceptFormats?: string[] | undefined;
|
|
2006
|
+
minResolution?: number | undefined;
|
|
2007
|
+
maxResolution?: number | undefined;
|
|
2008
|
+
minDuration?: number | undefined;
|
|
2009
|
+
maxDuration?: number | undefined;
|
|
2010
|
+
hint?: string | undefined;
|
|
2011
|
+
sharedGroup?: string | undefined;
|
|
2012
|
+
sharedMaxCount?: number | undefined;
|
|
2013
|
+
}[];
|
|
2014
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
2015
|
+
endpoint?: string | undefined;
|
|
2016
|
+
tags?: string[] | undefined;
|
|
2017
|
+
familyId?: string | undefined;
|
|
2018
|
+
}[];
|
|
2019
|
+
}[];
|
|
2020
|
+
updatedAt?: string | undefined;
|
|
2021
|
+
};
|
|
2022
|
+
}>;
|
|
2023
|
+
/** Submit a v3 text generate request (sync, for translate/OCR/caption). */
|
|
2024
|
+
readonly v3TextGenerate: Endpoint<{
|
|
2025
|
+
feature: string;
|
|
2026
|
+
variant: string;
|
|
2027
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2028
|
+
params?: Record<string, unknown> | undefined;
|
|
2029
|
+
}, {
|
|
2030
|
+
success: true;
|
|
2031
|
+
data: {
|
|
2032
|
+
text: string;
|
|
2033
|
+
creditsConsumed?: number | undefined;
|
|
2034
|
+
};
|
|
2035
|
+
}>;
|
|
1613
2036
|
/** Submit a v3 generate request. */
|
|
1614
2037
|
readonly v3Generate: Endpoint<{
|
|
1615
2038
|
feature: string;
|
|
@@ -2592,6 +3015,7 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
2592
3015
|
}, z.core.$strip>>;
|
|
2593
3016
|
}, z.core.$strip>>;
|
|
2594
3017
|
resultType: z.ZodEnum<{
|
|
3018
|
+
text: "text";
|
|
2595
3019
|
image: "image";
|
|
2596
3020
|
audio: "audio";
|
|
2597
3021
|
video: "video";
|
|
@@ -2731,6 +3155,14 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
2731
3155
|
sharedGroup: z.ZodOptional<z.ZodString>;
|
|
2732
3156
|
sharedMaxCount: z.ZodOptional<z.ZodNumber>;
|
|
2733
3157
|
}, z.core.$strip>>;
|
|
3158
|
+
executionMode: z.ZodOptional<z.ZodEnum<{
|
|
3159
|
+
task: "task";
|
|
3160
|
+
streaming: "streaming";
|
|
3161
|
+
sync: "sync";
|
|
3162
|
+
}>>;
|
|
3163
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
3164
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3165
|
+
familyId: z.ZodOptional<z.ZodString>;
|
|
2734
3166
|
}, z.core.$strip>;
|
|
2735
3167
|
/** Feature entry within a capabilities response. */
|
|
2736
3168
|
declare const v3FeatureSchema: z.ZodObject<{
|
|
@@ -2756,6 +3188,7 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
2756
3188
|
}, z.core.$strip>>;
|
|
2757
3189
|
}, z.core.$strip>>;
|
|
2758
3190
|
resultType: z.ZodEnum<{
|
|
3191
|
+
text: "text";
|
|
2759
3192
|
image: "image";
|
|
2760
3193
|
audio: "audio";
|
|
2761
3194
|
video: "video";
|
|
@@ -2895,6 +3328,14 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
2895
3328
|
sharedGroup: z.ZodOptional<z.ZodString>;
|
|
2896
3329
|
sharedMaxCount: z.ZodOptional<z.ZodNumber>;
|
|
2897
3330
|
}, z.core.$strip>>;
|
|
3331
|
+
executionMode: z.ZodOptional<z.ZodEnum<{
|
|
3332
|
+
task: "task";
|
|
3333
|
+
streaming: "streaming";
|
|
3334
|
+
sync: "sync";
|
|
3335
|
+
}>>;
|
|
3336
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
3337
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3338
|
+
familyId: z.ZodOptional<z.ZodString>;
|
|
2898
3339
|
}, z.core.$strip>>;
|
|
2899
3340
|
}, z.core.$strip>;
|
|
2900
3341
|
/** Capabilities data payload for a single media category. */
|
|
@@ -2923,6 +3364,7 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
2923
3364
|
}, z.core.$strip>>;
|
|
2924
3365
|
}, z.core.$strip>>;
|
|
2925
3366
|
resultType: z.ZodEnum<{
|
|
3367
|
+
text: "text";
|
|
2926
3368
|
image: "image";
|
|
2927
3369
|
audio: "audio";
|
|
2928
3370
|
video: "video";
|
|
@@ -3062,6 +3504,14 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
3062
3504
|
sharedGroup: z.ZodOptional<z.ZodString>;
|
|
3063
3505
|
sharedMaxCount: z.ZodOptional<z.ZodNumber>;
|
|
3064
3506
|
}, z.core.$strip>>;
|
|
3507
|
+
executionMode: z.ZodOptional<z.ZodEnum<{
|
|
3508
|
+
task: "task";
|
|
3509
|
+
streaming: "streaming";
|
|
3510
|
+
sync: "sync";
|
|
3511
|
+
}>>;
|
|
3512
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
3513
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3514
|
+
familyId: z.ZodOptional<z.ZodString>;
|
|
3065
3515
|
}, z.core.$strip>>;
|
|
3066
3516
|
}, z.core.$strip>>;
|
|
3067
3517
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3094,6 +3544,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
3094
3544
|
}, z.core.$strip>>;
|
|
3095
3545
|
}, z.core.$strip>>;
|
|
3096
3546
|
resultType: z.ZodEnum<{
|
|
3547
|
+
text: "text";
|
|
3097
3548
|
image: "image";
|
|
3098
3549
|
audio: "audio";
|
|
3099
3550
|
video: "video";
|
|
@@ -3233,6 +3684,14 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
3233
3684
|
sharedGroup: z.ZodOptional<z.ZodString>;
|
|
3234
3685
|
sharedMaxCount: z.ZodOptional<z.ZodNumber>;
|
|
3235
3686
|
}, z.core.$strip>>;
|
|
3687
|
+
executionMode: z.ZodOptional<z.ZodEnum<{
|
|
3688
|
+
task: "task";
|
|
3689
|
+
streaming: "streaming";
|
|
3690
|
+
sync: "sync";
|
|
3691
|
+
}>>;
|
|
3692
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
3693
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3694
|
+
familyId: z.ZodOptional<z.ZodString>;
|
|
3236
3695
|
}, z.core.$strip>>;
|
|
3237
3696
|
}, z.core.$strip>>;
|
|
3238
3697
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3247,6 +3706,21 @@ declare const v3GenerateRequestSchema: z.ZodObject<{
|
|
|
3247
3706
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3248
3707
|
count: z.ZodOptional<z.ZodNumber>;
|
|
3249
3708
|
}, z.core.$strip>;
|
|
3709
|
+
/** v3 text generate request body. */
|
|
3710
|
+
declare const v3TextGenerateRequestSchema: z.ZodObject<{
|
|
3711
|
+
feature: z.ZodString;
|
|
3712
|
+
variant: z.ZodString;
|
|
3713
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3714
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3715
|
+
}, z.core.$strip>;
|
|
3716
|
+
/** v3 text generate response. */
|
|
3717
|
+
declare const v3TextGenerateResponseSchema: z.ZodObject<{
|
|
3718
|
+
success: z.ZodLiteral<true>;
|
|
3719
|
+
data: z.ZodObject<{
|
|
3720
|
+
text: z.ZodString;
|
|
3721
|
+
creditsConsumed: z.ZodOptional<z.ZodNumber>;
|
|
3722
|
+
}, z.core.$strip>;
|
|
3723
|
+
}, z.core.$strip>;
|
|
3250
3724
|
/** Individual task item within a v3 response. */
|
|
3251
3725
|
declare const v3TaskItemSchema: z.ZodObject<{
|
|
3252
3726
|
taskId: z.ZodString;
|
|
@@ -3418,6 +3892,10 @@ type V3CapabilitiesData = z.infer<typeof v3CapabilitiesDataSchema>;
|
|
|
3418
3892
|
type V3CapabilitiesResponse = z.infer<typeof v3CapabilitiesResponseSchema>;
|
|
3419
3893
|
/** v3 generate request body. */
|
|
3420
3894
|
type V3GenerateRequest = z.infer<typeof v3GenerateRequestSchema>;
|
|
3895
|
+
/** v3 text generate request body. */
|
|
3896
|
+
type V3TextGenerateRequest = z.infer<typeof v3TextGenerateRequestSchema>;
|
|
3897
|
+
/** v3 text generate response. */
|
|
3898
|
+
type V3TextGenerateResponse = z.infer<typeof v3TextGenerateResponseSchema>;
|
|
3421
3899
|
/** Individual task item. */
|
|
3422
3900
|
type V3TaskItem = z.infer<typeof v3TaskItemSchema>;
|
|
3423
3901
|
/** Single-task query response. */
|
|
@@ -3555,50 +4033,194 @@ declare class AiClient {
|
|
|
3555
4033
|
displayName?: string | null | undefined;
|
|
3556
4034
|
description?: string | null | undefined;
|
|
3557
4035
|
familyId?: string | undefined;
|
|
3558
|
-
capabilities?: {
|
|
3559
|
-
common?: {
|
|
3560
|
-
maxContextK?: number | undefined;
|
|
3561
|
-
supportsStructuredOutput?: boolean | undefined;
|
|
3562
|
-
supportsWebSearch?: boolean | undefined;
|
|
3563
|
-
} | undefined;
|
|
3564
|
-
params?: {
|
|
3565
|
-
features?: string[] | undefined;
|
|
3566
|
-
fields?: {
|
|
3567
|
-
key: string;
|
|
3568
|
-
title: string;
|
|
3569
|
-
type: "number" | "boolean" | "text" | "select";
|
|
3570
|
-
request: boolean;
|
|
3571
|
-
description?: string | undefined;
|
|
3572
|
-
unit?: string | undefined;
|
|
3573
|
-
values?: (string | number | boolean)[] | undefined;
|
|
3574
|
-
min?: number | undefined;
|
|
3575
|
-
max?: number | undefined;
|
|
3576
|
-
step?: number | undefined;
|
|
3577
|
-
default?: string | number | boolean | undefined;
|
|
3578
|
-
}[] | undefined;
|
|
3579
|
-
} | undefined;
|
|
3580
|
-
input?: {
|
|
3581
|
-
maxImages?: number | undefined;
|
|
3582
|
-
supportsMask?: boolean | undefined;
|
|
3583
|
-
supportsReferenceVideo?: boolean | undefined;
|
|
3584
|
-
supportsStartEnd?: boolean | undefined;
|
|
3585
|
-
} | undefined;
|
|
3586
|
-
output?: {
|
|
3587
|
-
supportsMulti?: boolean | undefined;
|
|
3588
|
-
supportsAudio?: boolean | undefined;
|
|
3589
|
-
} | undefined;
|
|
3590
|
-
} | undefined;
|
|
4036
|
+
capabilities?: {
|
|
4037
|
+
common?: {
|
|
4038
|
+
maxContextK?: number | undefined;
|
|
4039
|
+
supportsStructuredOutput?: boolean | undefined;
|
|
4040
|
+
supportsWebSearch?: boolean | undefined;
|
|
4041
|
+
} | undefined;
|
|
4042
|
+
params?: {
|
|
4043
|
+
features?: string[] | undefined;
|
|
4044
|
+
fields?: {
|
|
4045
|
+
key: string;
|
|
4046
|
+
title: string;
|
|
4047
|
+
type: "number" | "boolean" | "text" | "select";
|
|
4048
|
+
request: boolean;
|
|
4049
|
+
description?: string | undefined;
|
|
4050
|
+
unit?: string | undefined;
|
|
4051
|
+
values?: (string | number | boolean)[] | undefined;
|
|
4052
|
+
min?: number | undefined;
|
|
4053
|
+
max?: number | undefined;
|
|
4054
|
+
step?: number | undefined;
|
|
4055
|
+
default?: string | number | boolean | undefined;
|
|
4056
|
+
}[] | undefined;
|
|
4057
|
+
} | undefined;
|
|
4058
|
+
input?: {
|
|
4059
|
+
maxImages?: number | undefined;
|
|
4060
|
+
supportsMask?: boolean | undefined;
|
|
4061
|
+
supportsReferenceVideo?: boolean | undefined;
|
|
4062
|
+
supportsStartEnd?: boolean | undefined;
|
|
4063
|
+
} | undefined;
|
|
4064
|
+
output?: {
|
|
4065
|
+
supportsMulti?: boolean | undefined;
|
|
4066
|
+
supportsAudio?: boolean | undefined;
|
|
4067
|
+
} | undefined;
|
|
4068
|
+
} | undefined;
|
|
4069
|
+
}[];
|
|
4070
|
+
apiUrl?: string | undefined;
|
|
4071
|
+
authType?: string | undefined;
|
|
4072
|
+
websiteUrl?: string | null | undefined;
|
|
4073
|
+
docUrl?: string | null | undefined;
|
|
4074
|
+
}[];
|
|
4075
|
+
updatedAt?: string | undefined;
|
|
4076
|
+
};
|
|
4077
|
+
}>;
|
|
4078
|
+
/** Fetch image capabilities (features + variants) via v3 API. */
|
|
4079
|
+
imageCapabilities(): Promise<{
|
|
4080
|
+
success: true;
|
|
4081
|
+
data: {
|
|
4082
|
+
category: string;
|
|
4083
|
+
features: {
|
|
4084
|
+
id: string;
|
|
4085
|
+
displayName: string;
|
|
4086
|
+
description: string;
|
|
4087
|
+
variants: {
|
|
4088
|
+
id: string;
|
|
4089
|
+
featureTabName: string;
|
|
4090
|
+
creditsPerCall: number;
|
|
4091
|
+
billingType: string;
|
|
4092
|
+
minMembershipLevel: string;
|
|
4093
|
+
maxBatchSize: number;
|
|
4094
|
+
resourceConstraints: {
|
|
4095
|
+
maxFileSize: number;
|
|
4096
|
+
maxFiles: number;
|
|
4097
|
+
acceptedFormats: string[];
|
|
4098
|
+
requiresUpload: boolean;
|
|
4099
|
+
maxResolution?: number | undefined;
|
|
4100
|
+
precheck?: {
|
|
4101
|
+
type: string;
|
|
4102
|
+
description: string;
|
|
4103
|
+
} | undefined;
|
|
4104
|
+
} | null;
|
|
4105
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
4106
|
+
isAsync: boolean;
|
|
4107
|
+
paramsSchema: ({
|
|
4108
|
+
key: string;
|
|
4109
|
+
label: string;
|
|
4110
|
+
type: "select";
|
|
4111
|
+
default?: unknown;
|
|
4112
|
+
group?: "primary" | "advanced" | undefined;
|
|
4113
|
+
visibleWhen?: unknown;
|
|
4114
|
+
clientOnly?: boolean | undefined;
|
|
4115
|
+
hint?: string | undefined;
|
|
4116
|
+
required?: boolean | undefined;
|
|
4117
|
+
options?: {
|
|
4118
|
+
value: string | number | boolean;
|
|
4119
|
+
label: string;
|
|
4120
|
+
thumbnail?: string | undefined;
|
|
4121
|
+
}[] | undefined;
|
|
4122
|
+
catalog?: string | undefined;
|
|
4123
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
4124
|
+
searchable?: boolean | undefined;
|
|
4125
|
+
} | {
|
|
4126
|
+
key: string;
|
|
4127
|
+
label: string;
|
|
4128
|
+
type: "tab";
|
|
4129
|
+
options: {
|
|
4130
|
+
value: string | number | boolean;
|
|
4131
|
+
label: string;
|
|
4132
|
+
thumbnail?: string | undefined;
|
|
4133
|
+
}[];
|
|
4134
|
+
default?: unknown;
|
|
4135
|
+
group?: "primary" | "advanced" | undefined;
|
|
4136
|
+
visibleWhen?: unknown;
|
|
4137
|
+
clientOnly?: boolean | undefined;
|
|
4138
|
+
hint?: string | undefined;
|
|
4139
|
+
required?: boolean | undefined;
|
|
4140
|
+
} | {
|
|
4141
|
+
key: string;
|
|
4142
|
+
label: string;
|
|
4143
|
+
type: "boolean";
|
|
4144
|
+
default?: unknown;
|
|
4145
|
+
group?: "primary" | "advanced" | undefined;
|
|
4146
|
+
visibleWhen?: unknown;
|
|
4147
|
+
clientOnly?: boolean | undefined;
|
|
4148
|
+
hint?: string | undefined;
|
|
4149
|
+
required?: boolean | undefined;
|
|
4150
|
+
} | {
|
|
4151
|
+
key: string;
|
|
4152
|
+
label: string;
|
|
4153
|
+
type: "text";
|
|
4154
|
+
default?: unknown;
|
|
4155
|
+
group?: "primary" | "advanced" | undefined;
|
|
4156
|
+
visibleWhen?: unknown;
|
|
4157
|
+
clientOnly?: boolean | undefined;
|
|
4158
|
+
hint?: string | undefined;
|
|
4159
|
+
required?: boolean | undefined;
|
|
4160
|
+
multiline?: boolean | undefined;
|
|
4161
|
+
placeholder?: string | undefined;
|
|
4162
|
+
minLength?: number | undefined;
|
|
4163
|
+
maxLength?: number | undefined;
|
|
4164
|
+
} | {
|
|
4165
|
+
key: string;
|
|
4166
|
+
label: string;
|
|
4167
|
+
type: "slider";
|
|
4168
|
+
min: number;
|
|
4169
|
+
max: number;
|
|
4170
|
+
default?: unknown;
|
|
4171
|
+
group?: "primary" | "advanced" | undefined;
|
|
4172
|
+
visibleWhen?: unknown;
|
|
4173
|
+
clientOnly?: boolean | undefined;
|
|
4174
|
+
hint?: string | undefined;
|
|
4175
|
+
required?: boolean | undefined;
|
|
4176
|
+
step?: number | undefined;
|
|
4177
|
+
} | {
|
|
4178
|
+
key: string;
|
|
4179
|
+
label: string;
|
|
4180
|
+
type: "number";
|
|
4181
|
+
default?: unknown;
|
|
4182
|
+
group?: "primary" | "advanced" | undefined;
|
|
4183
|
+
visibleWhen?: unknown;
|
|
4184
|
+
clientOnly?: boolean | undefined;
|
|
4185
|
+
hint?: string | undefined;
|
|
4186
|
+
required?: boolean | undefined;
|
|
4187
|
+
min?: number | undefined;
|
|
4188
|
+
max?: number | undefined;
|
|
4189
|
+
step?: number | undefined;
|
|
4190
|
+
})[];
|
|
4191
|
+
inputSlots: {
|
|
4192
|
+
role: string;
|
|
4193
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
4194
|
+
label: string;
|
|
4195
|
+
key?: string | undefined;
|
|
4196
|
+
required?: boolean | undefined;
|
|
4197
|
+
minCount?: number | undefined;
|
|
4198
|
+
maxCount?: number | undefined;
|
|
4199
|
+
placeholder?: string | undefined;
|
|
4200
|
+
multiline?: boolean | undefined;
|
|
4201
|
+
minLength?: number | undefined;
|
|
4202
|
+
maxLength?: number | undefined;
|
|
4203
|
+
maxFileSize?: number | undefined;
|
|
4204
|
+
acceptFormats?: string[] | undefined;
|
|
4205
|
+
minResolution?: number | undefined;
|
|
4206
|
+
maxResolution?: number | undefined;
|
|
4207
|
+
minDuration?: number | undefined;
|
|
4208
|
+
maxDuration?: number | undefined;
|
|
4209
|
+
hint?: string | undefined;
|
|
4210
|
+
sharedGroup?: string | undefined;
|
|
4211
|
+
sharedMaxCount?: number | undefined;
|
|
4212
|
+
}[];
|
|
4213
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
4214
|
+
endpoint?: string | undefined;
|
|
4215
|
+
tags?: string[] | undefined;
|
|
4216
|
+
familyId?: string | undefined;
|
|
3591
4217
|
}[];
|
|
3592
|
-
apiUrl?: string | undefined;
|
|
3593
|
-
authType?: string | undefined;
|
|
3594
|
-
websiteUrl?: string | null | undefined;
|
|
3595
|
-
docUrl?: string | null | undefined;
|
|
3596
4218
|
}[];
|
|
3597
4219
|
updatedAt?: string | undefined;
|
|
3598
4220
|
};
|
|
3599
4221
|
}>;
|
|
3600
|
-
/** Fetch
|
|
3601
|
-
|
|
4222
|
+
/** Fetch video capabilities (features + variants) via v3 API. */
|
|
4223
|
+
videoCapabilities(): Promise<{
|
|
3602
4224
|
success: true;
|
|
3603
4225
|
data: {
|
|
3604
4226
|
category: string;
|
|
@@ -3624,7 +4246,7 @@ declare class AiClient {
|
|
|
3624
4246
|
description: string;
|
|
3625
4247
|
} | undefined;
|
|
3626
4248
|
} | null;
|
|
3627
|
-
resultType: "image" | "audio" | "video";
|
|
4249
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
3628
4250
|
isAsync: boolean;
|
|
3629
4251
|
paramsSchema: ({
|
|
3630
4252
|
key: string;
|
|
@@ -3732,13 +4354,17 @@ declare class AiClient {
|
|
|
3732
4354
|
sharedGroup?: string | undefined;
|
|
3733
4355
|
sharedMaxCount?: number | undefined;
|
|
3734
4356
|
}[];
|
|
4357
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
4358
|
+
endpoint?: string | undefined;
|
|
4359
|
+
tags?: string[] | undefined;
|
|
4360
|
+
familyId?: string | undefined;
|
|
3735
4361
|
}[];
|
|
3736
4362
|
}[];
|
|
3737
4363
|
updatedAt?: string | undefined;
|
|
3738
4364
|
};
|
|
3739
4365
|
}>;
|
|
3740
|
-
/** Fetch
|
|
3741
|
-
|
|
4366
|
+
/** Fetch audio capabilities (features + variants) via v3 API. */
|
|
4367
|
+
audioCapabilities(): Promise<{
|
|
3742
4368
|
success: true;
|
|
3743
4369
|
data: {
|
|
3744
4370
|
category: string;
|
|
@@ -3764,7 +4390,7 @@ declare class AiClient {
|
|
|
3764
4390
|
description: string;
|
|
3765
4391
|
} | undefined;
|
|
3766
4392
|
} | null;
|
|
3767
|
-
resultType: "image" | "audio" | "video";
|
|
4393
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
3768
4394
|
isAsync: boolean;
|
|
3769
4395
|
paramsSchema: ({
|
|
3770
4396
|
key: string;
|
|
@@ -3872,13 +4498,17 @@ declare class AiClient {
|
|
|
3872
4498
|
sharedGroup?: string | undefined;
|
|
3873
4499
|
sharedMaxCount?: number | undefined;
|
|
3874
4500
|
}[];
|
|
4501
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
4502
|
+
endpoint?: string | undefined;
|
|
4503
|
+
tags?: string[] | undefined;
|
|
4504
|
+
familyId?: string | undefined;
|
|
3875
4505
|
}[];
|
|
3876
4506
|
}[];
|
|
3877
4507
|
updatedAt?: string | undefined;
|
|
3878
4508
|
};
|
|
3879
4509
|
}>;
|
|
3880
|
-
/** Fetch
|
|
3881
|
-
|
|
4510
|
+
/** Fetch text capabilities (features + variants) via v3 API. */
|
|
4511
|
+
textCapabilities(): Promise<{
|
|
3882
4512
|
success: true;
|
|
3883
4513
|
data: {
|
|
3884
4514
|
category: string;
|
|
@@ -3904,7 +4534,7 @@ declare class AiClient {
|
|
|
3904
4534
|
description: string;
|
|
3905
4535
|
} | undefined;
|
|
3906
4536
|
} | null;
|
|
3907
|
-
resultType: "image" | "audio" | "video";
|
|
4537
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
3908
4538
|
isAsync: boolean;
|
|
3909
4539
|
paramsSchema: ({
|
|
3910
4540
|
key: string;
|
|
@@ -4012,11 +4642,17 @@ declare class AiClient {
|
|
|
4012
4642
|
sharedGroup?: string | undefined;
|
|
4013
4643
|
sharedMaxCount?: number | undefined;
|
|
4014
4644
|
}[];
|
|
4645
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
4646
|
+
endpoint?: string | undefined;
|
|
4647
|
+
tags?: string[] | undefined;
|
|
4648
|
+
familyId?: string | undefined;
|
|
4015
4649
|
}[];
|
|
4016
4650
|
}[];
|
|
4017
4651
|
updatedAt?: string | undefined;
|
|
4018
4652
|
};
|
|
4019
4653
|
}>;
|
|
4654
|
+
/** Submit a v3 text generate request (sync, for translate/OCR/caption). */
|
|
4655
|
+
v3TextGenerate(payload: V3TextGenerateRequest): Promise<V3TextGenerateResponse>;
|
|
4020
4656
|
/** Submit a v3 generate request (unified for all media types). */
|
|
4021
4657
|
v3Generate(payload: V3GenerateRequest): Promise<{
|
|
4022
4658
|
success: true;
|
|
@@ -4317,6 +4953,51 @@ declare const MEDIA_FEATURES: {
|
|
|
4317
4953
|
readonly ja: "音声をテキストに変換";
|
|
4318
4954
|
};
|
|
4319
4955
|
};
|
|
4956
|
+
readonly chat: {
|
|
4957
|
+
readonly id: "chat";
|
|
4958
|
+
readonly label: {
|
|
4959
|
+
readonly zh: "智能对话";
|
|
4960
|
+
readonly "zh-TW": "智慧對話";
|
|
4961
|
+
readonly en: "AI Chat";
|
|
4962
|
+
readonly ja: "AIチャット";
|
|
4963
|
+
};
|
|
4964
|
+
readonly description: {
|
|
4965
|
+
readonly zh: "与 AI 进行实时对话";
|
|
4966
|
+
readonly "zh-TW": "與 AI 進行即時對話";
|
|
4967
|
+
readonly en: "Real-time AI conversation";
|
|
4968
|
+
readonly ja: "AIとのリアルタイム会話";
|
|
4969
|
+
};
|
|
4970
|
+
};
|
|
4971
|
+
readonly translate: {
|
|
4972
|
+
readonly id: "translate";
|
|
4973
|
+
readonly label: {
|
|
4974
|
+
readonly zh: "文本翻译";
|
|
4975
|
+
readonly "zh-TW": "文字翻譯";
|
|
4976
|
+
readonly en: "Translation";
|
|
4977
|
+
readonly ja: "テキスト翻訳";
|
|
4978
|
+
};
|
|
4979
|
+
readonly description: {
|
|
4980
|
+
readonly zh: "将文本翻译为其他语言";
|
|
4981
|
+
readonly "zh-TW": "將文字翻譯為其他語言";
|
|
4982
|
+
readonly en: "Translate text into other languages";
|
|
4983
|
+
readonly ja: "テキストを他の言語に翻訳";
|
|
4984
|
+
};
|
|
4985
|
+
};
|
|
4986
|
+
readonly multiAngle: {
|
|
4987
|
+
readonly id: "multiAngle";
|
|
4988
|
+
readonly label: {
|
|
4989
|
+
readonly zh: "多角度";
|
|
4990
|
+
readonly "zh-TW": "多角度";
|
|
4991
|
+
readonly en: "Multi-Angle";
|
|
4992
|
+
readonly ja: "マルチアングル";
|
|
4993
|
+
};
|
|
4994
|
+
readonly description: {
|
|
4995
|
+
readonly zh: "从不同角度和视角生成图片";
|
|
4996
|
+
readonly "zh-TW": "從不同角度和視角生成圖片";
|
|
4997
|
+
readonly en: "Generate images from different angles and perspectives";
|
|
4998
|
+
readonly ja: "異なる角度と視点から画像を生成";
|
|
4999
|
+
};
|
|
5000
|
+
};
|
|
4320
5001
|
readonly productImage: {
|
|
4321
5002
|
readonly id: "productImage";
|
|
4322
5003
|
readonly label: {
|
|
@@ -4755,105 +5436,109 @@ declare const MODEL_PROVIDERS: {
|
|
|
4755
5436
|
/** Model provider identifier type. */
|
|
4756
5437
|
type ModelProviderId = keyof typeof MODEL_PROVIDERS;
|
|
4757
5438
|
|
|
4758
|
-
declare const index$
|
|
4759
|
-
declare const index$
|
|
4760
|
-
declare const index$
|
|
4761
|
-
declare const index$
|
|
4762
|
-
type index$
|
|
4763
|
-
type index$
|
|
4764
|
-
type index$
|
|
4765
|
-
type index$
|
|
4766
|
-
type index$
|
|
4767
|
-
declare const index$
|
|
4768
|
-
type index$
|
|
4769
|
-
type index$
|
|
4770
|
-
type index$
|
|
4771
|
-
type index$
|
|
4772
|
-
type index$
|
|
4773
|
-
type index$
|
|
4774
|
-
type index$
|
|
4775
|
-
type index$
|
|
4776
|
-
type index$
|
|
4777
|
-
type index$
|
|
4778
|
-
type index$
|
|
4779
|
-
type index$
|
|
4780
|
-
type index$
|
|
4781
|
-
type index$
|
|
4782
|
-
type index$
|
|
4783
|
-
type index$
|
|
4784
|
-
declare const index$
|
|
4785
|
-
declare const index$
|
|
4786
|
-
type index$
|
|
4787
|
-
type index$
|
|
4788
|
-
type index$
|
|
4789
|
-
type index$
|
|
4790
|
-
type index$
|
|
4791
|
-
type index$
|
|
4792
|
-
type index$
|
|
4793
|
-
type index$
|
|
4794
|
-
type index$
|
|
4795
|
-
type index$
|
|
4796
|
-
type index$
|
|
4797
|
-
type index$
|
|
4798
|
-
type index$
|
|
4799
|
-
type index$
|
|
4800
|
-
type index$
|
|
4801
|
-
type index$
|
|
4802
|
-
type index$
|
|
4803
|
-
type index$
|
|
4804
|
-
type index$
|
|
4805
|
-
type index$
|
|
4806
|
-
type index$
|
|
4807
|
-
type index$
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
declare const index$
|
|
4811
|
-
declare const index$
|
|
4812
|
-
declare const index$
|
|
4813
|
-
declare const index$
|
|
4814
|
-
declare const index$
|
|
4815
|
-
declare const index$
|
|
4816
|
-
declare const index$
|
|
4817
|
-
declare const index$
|
|
4818
|
-
declare const index$
|
|
4819
|
-
declare const index$
|
|
4820
|
-
declare const index$
|
|
4821
|
-
declare const index$
|
|
4822
|
-
declare const index$
|
|
4823
|
-
declare const index$
|
|
4824
|
-
declare const index$
|
|
4825
|
-
declare const index$
|
|
4826
|
-
declare const index$
|
|
4827
|
-
declare const index$
|
|
4828
|
-
declare const index$
|
|
4829
|
-
declare const index$
|
|
4830
|
-
declare const index$
|
|
4831
|
-
declare const index$
|
|
4832
|
-
declare const index$
|
|
4833
|
-
declare const index$
|
|
4834
|
-
declare const index$
|
|
4835
|
-
declare const index$
|
|
4836
|
-
declare const index$
|
|
4837
|
-
declare const index$
|
|
4838
|
-
declare const index$
|
|
4839
|
-
declare const index$
|
|
4840
|
-
declare const index$
|
|
4841
|
-
declare const index$
|
|
4842
|
-
declare const index$
|
|
4843
|
-
declare const index$
|
|
4844
|
-
declare const index$
|
|
4845
|
-
declare const index$
|
|
4846
|
-
declare const index$
|
|
4847
|
-
declare const index$
|
|
4848
|
-
declare const index$
|
|
4849
|
-
declare const index$
|
|
4850
|
-
declare const index$
|
|
4851
|
-
declare const index$
|
|
4852
|
-
declare const index$
|
|
4853
|
-
declare const index$
|
|
4854
|
-
declare const index$
|
|
4855
|
-
declare
|
|
4856
|
-
|
|
5439
|
+
declare const index$9_AI_MODEL_CAPABILITY_INPUT_KEYS: typeof AI_MODEL_CAPABILITY_INPUT_KEYS;
|
|
5440
|
+
declare const index$9_AI_MODEL_CAPABILITY_OUTPUT_KEYS: typeof AI_MODEL_CAPABILITY_OUTPUT_KEYS;
|
|
5441
|
+
declare const index$9_AI_MODEL_TAGS: typeof AI_MODEL_TAGS;
|
|
5442
|
+
declare const index$9_AI_MODEL_TAG_LABELS: typeof AI_MODEL_TAG_LABELS;
|
|
5443
|
+
type index$9_AiChatCompletionsRequest = AiChatCompletionsRequest;
|
|
5444
|
+
type index$9_AiChatModel = AiChatModel;
|
|
5445
|
+
type index$9_AiChatModelsResponse = AiChatModelsResponse;
|
|
5446
|
+
type index$9_AiChatSessionMetadata = AiChatSessionMetadata;
|
|
5447
|
+
type index$9_AiClient = AiClient;
|
|
5448
|
+
declare const index$9_AiClient: typeof AiClient;
|
|
5449
|
+
type index$9_AiClientMetadata = AiClientMetadata;
|
|
5450
|
+
type index$9_AiFileUploadOptions = AiFileUploadOptions;
|
|
5451
|
+
type index$9_AiFileUploadResponse = AiFileUploadResponse;
|
|
5452
|
+
type index$9_AiModel = AiModel;
|
|
5453
|
+
type index$9_AiModelCapabilities = AiModelCapabilities;
|
|
5454
|
+
type index$9_AiModelCapabilitiesInput = AiModelCapabilitiesInput;
|
|
5455
|
+
type index$9_AiModelCapabilitiesOutput = AiModelCapabilitiesOutput;
|
|
5456
|
+
type index$9_AiModelCapabilityInputKey = AiModelCapabilityInputKey;
|
|
5457
|
+
type index$9_AiModelCapabilityOutputKey = AiModelCapabilityOutputKey;
|
|
5458
|
+
type index$9_AiModelTag = AiModelTag;
|
|
5459
|
+
type index$9_AiModelsUpdatedAtData = AiModelsUpdatedAtData;
|
|
5460
|
+
type index$9_AiModelsUpdatedAtResponse = AiModelsUpdatedAtResponse;
|
|
5461
|
+
type index$9_AiProviderTemplate = AiProviderTemplate;
|
|
5462
|
+
type index$9_AiProviderTemplateModel = AiProviderTemplateModel;
|
|
5463
|
+
type index$9_AiProviderTemplatesResponse = AiProviderTemplatesResponse;
|
|
5464
|
+
type index$9_AiResponsesRequest = AiResponsesRequest;
|
|
5465
|
+
declare const index$9_MEDIA_FEATURES: typeof MEDIA_FEATURES;
|
|
5466
|
+
declare const index$9_MODEL_PROVIDERS: typeof MODEL_PROVIDERS;
|
|
5467
|
+
type index$9_MediaFeatureId = MediaFeatureId;
|
|
5468
|
+
type index$9_ModelProviderId = ModelProviderId;
|
|
5469
|
+
type index$9_V3BasicSuccess = V3BasicSuccess;
|
|
5470
|
+
type index$9_V3CapabilitiesData = V3CapabilitiesData;
|
|
5471
|
+
type index$9_V3CapabilitiesResponse = V3CapabilitiesResponse;
|
|
5472
|
+
type index$9_V3CreditEstimate = V3CreditEstimate;
|
|
5473
|
+
type index$9_V3EstimatePriceRequest = V3EstimatePriceRequest;
|
|
5474
|
+
type index$9_V3EstimatePriceResponse = V3EstimatePriceResponse;
|
|
5475
|
+
type index$9_V3Feature = V3Feature;
|
|
5476
|
+
type index$9_V3GenerateRequest = V3GenerateRequest;
|
|
5477
|
+
type index$9_V3InputSlot = V3InputSlot;
|
|
5478
|
+
type index$9_V3ParamSchema = V3ParamSchema;
|
|
5479
|
+
type index$9_V3QueueRequest = V3QueueRequest;
|
|
5480
|
+
type index$9_V3QueueResponse = V3QueueResponse;
|
|
5481
|
+
type index$9_V3QueueTicket = V3QueueTicket;
|
|
5482
|
+
type index$9_V3TaskCreated = V3TaskCreated;
|
|
5483
|
+
type index$9_V3TaskGroupResponse = V3TaskGroupResponse;
|
|
5484
|
+
type index$9_V3TaskItem = V3TaskItem;
|
|
5485
|
+
type index$9_V3TaskResponse = V3TaskResponse;
|
|
5486
|
+
type index$9_V3TaskSSEEvent = V3TaskSSEEvent;
|
|
5487
|
+
type index$9_V3TextGenerateRequest = V3TextGenerateRequest;
|
|
5488
|
+
type index$9_V3TextGenerateResponse = V3TextGenerateResponse;
|
|
5489
|
+
type index$9_V3UploadResponse = V3UploadResponse;
|
|
5490
|
+
type index$9_V3Variant = V3Variant;
|
|
5491
|
+
declare const index$9_aiChatCompletionsRequestSchema: typeof aiChatCompletionsRequestSchema;
|
|
5492
|
+
declare const index$9_aiChatModelSchema: typeof aiChatModelSchema;
|
|
5493
|
+
declare const index$9_aiChatModelsPayloadSchema: typeof aiChatModelsPayloadSchema;
|
|
5494
|
+
declare const index$9_aiChatModelsResponseSchema: typeof aiChatModelsResponseSchema;
|
|
5495
|
+
declare const index$9_aiChatModelsSuccessSchema: typeof aiChatModelsSuccessSchema;
|
|
5496
|
+
declare const index$9_aiChatSessionMetadataSchema: typeof aiChatSessionMetadataSchema;
|
|
5497
|
+
declare const index$9_aiClientMetadataSchema: typeof aiClientMetadataSchema;
|
|
5498
|
+
declare const index$9_aiEndpoints: typeof aiEndpoints;
|
|
5499
|
+
declare const index$9_aiErrorResponseSchema: typeof aiErrorResponseSchema;
|
|
5500
|
+
declare const index$9_aiModelCapabilitiesInputSchema: typeof aiModelCapabilitiesInputSchema;
|
|
5501
|
+
declare const index$9_aiModelCapabilitiesOutputSchema: typeof aiModelCapabilitiesOutputSchema;
|
|
5502
|
+
declare const index$9_aiModelCapabilitiesSchema: typeof aiModelCapabilitiesSchema;
|
|
5503
|
+
declare const index$9_aiModelCapabilityCommonSchema: typeof aiModelCapabilityCommonSchema;
|
|
5504
|
+
declare const index$9_aiModelParameterFieldSchema: typeof aiModelParameterFieldSchema;
|
|
5505
|
+
declare const index$9_aiModelParamsSchema: typeof aiModelParamsSchema;
|
|
5506
|
+
declare const index$9_aiModelSchema: typeof aiModelSchema;
|
|
5507
|
+
declare const index$9_aiModelsRequestSchema: typeof aiModelsRequestSchema;
|
|
5508
|
+
declare const index$9_aiModelsUpdatedAtDataSchema: typeof aiModelsUpdatedAtDataSchema;
|
|
5509
|
+
declare const index$9_aiModelsUpdatedAtResponseSchema: typeof aiModelsUpdatedAtResponseSchema;
|
|
5510
|
+
declare const index$9_aiModelsUpdatedAtSuccessSchema: typeof aiModelsUpdatedAtSuccessSchema;
|
|
5511
|
+
declare const index$9_aiProviderTemplateModelSchema: typeof aiProviderTemplateModelSchema;
|
|
5512
|
+
declare const index$9_aiProviderTemplateSchema: typeof aiProviderTemplateSchema;
|
|
5513
|
+
declare const index$9_aiProviderTemplatesPayloadSchema: typeof aiProviderTemplatesPayloadSchema;
|
|
5514
|
+
declare const index$9_aiProviderTemplatesRequestSchema: typeof aiProviderTemplatesRequestSchema;
|
|
5515
|
+
declare const index$9_aiProviderTemplatesResponseSchema: typeof aiProviderTemplatesResponseSchema;
|
|
5516
|
+
declare const index$9_aiProviderTemplatesSuccessSchema: typeof aiProviderTemplatesSuccessSchema;
|
|
5517
|
+
declare const index$9_aiResponsesRequestSchema: typeof aiResponsesRequestSchema;
|
|
5518
|
+
declare const index$9_inputSlotSchema: typeof inputSlotSchema;
|
|
5519
|
+
declare const index$9_paramSchemaSchema: typeof paramSchemaSchema;
|
|
5520
|
+
declare const index$9_v3BasicSuccessSchema: typeof v3BasicSuccessSchema;
|
|
5521
|
+
declare const index$9_v3CapabilitiesDataSchema: typeof v3CapabilitiesDataSchema;
|
|
5522
|
+
declare const index$9_v3CapabilitiesResponseSchema: typeof v3CapabilitiesResponseSchema;
|
|
5523
|
+
declare const index$9_v3CreditEstimateSchema: typeof v3CreditEstimateSchema;
|
|
5524
|
+
declare const index$9_v3EstimatePriceRequestSchema: typeof v3EstimatePriceRequestSchema;
|
|
5525
|
+
declare const index$9_v3EstimatePriceResponseSchema: typeof v3EstimatePriceResponseSchema;
|
|
5526
|
+
declare const index$9_v3FeatureSchema: typeof v3FeatureSchema;
|
|
5527
|
+
declare const index$9_v3GenerateRequestSchema: typeof v3GenerateRequestSchema;
|
|
5528
|
+
declare const index$9_v3QueueRequestSchema: typeof v3QueueRequestSchema;
|
|
5529
|
+
declare const index$9_v3QueueResponseSchema: typeof v3QueueResponseSchema;
|
|
5530
|
+
declare const index$9_v3QueueTicketSchema: typeof v3QueueTicketSchema;
|
|
5531
|
+
declare const index$9_v3TaskCreatedSchema: typeof v3TaskCreatedSchema;
|
|
5532
|
+
declare const index$9_v3TaskGroupResponseSchema: typeof v3TaskGroupResponseSchema;
|
|
5533
|
+
declare const index$9_v3TaskItemSchema: typeof v3TaskItemSchema;
|
|
5534
|
+
declare const index$9_v3TaskResponseSchema: typeof v3TaskResponseSchema;
|
|
5535
|
+
declare const index$9_v3TaskSSEEventSchema: typeof v3TaskSSEEventSchema;
|
|
5536
|
+
declare const index$9_v3TextGenerateRequestSchema: typeof v3TextGenerateRequestSchema;
|
|
5537
|
+
declare const index$9_v3TextGenerateResponseSchema: typeof v3TextGenerateResponseSchema;
|
|
5538
|
+
declare const index$9_v3UploadResponseSchema: typeof v3UploadResponseSchema;
|
|
5539
|
+
declare const index$9_v3VariantSchema: typeof v3VariantSchema;
|
|
5540
|
+
declare namespace index$9 {
|
|
5541
|
+
export { index$9_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$9_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$9_AI_MODEL_TAGS as AI_MODEL_TAGS, index$9_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$9_AiChatCompletionsRequest as AiChatCompletionsRequest, type index$9_AiChatModel as AiChatModel, type index$9_AiChatModelsResponse as AiChatModelsResponse, type index$9_AiChatSessionMetadata as AiChatSessionMetadata, index$9_AiClient as AiClient, type index$9_AiClientMetadata as AiClientMetadata, type index$9_AiFileUploadOptions as AiFileUploadOptions, type index$9_AiFileUploadResponse as AiFileUploadResponse, type index$9_AiModel as AiModel, type index$9_AiModelCapabilities as AiModelCapabilities, type index$9_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$9_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$9_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$9_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$9_AiModelTag as AiModelTag, type index$9_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$9_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$9_AiProviderTemplate as AiProviderTemplate, type index$9_AiProviderTemplateModel as AiProviderTemplateModel, type index$9_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$9_AiResponsesRequest as AiResponsesRequest, index$9_MEDIA_FEATURES as MEDIA_FEATURES, index$9_MODEL_PROVIDERS as MODEL_PROVIDERS, type index$9_MediaFeatureId as MediaFeatureId, type index$9_ModelProviderId as ModelProviderId, type index$9_V3BasicSuccess as V3BasicSuccess, type index$9_V3CapabilitiesData as V3CapabilitiesData, type index$9_V3CapabilitiesResponse as V3CapabilitiesResponse, type index$9_V3CreditEstimate as V3CreditEstimate, type index$9_V3EstimatePriceRequest as V3EstimatePriceRequest, type index$9_V3EstimatePriceResponse as V3EstimatePriceResponse, type index$9_V3Feature as V3Feature, type index$9_V3GenerateRequest as V3GenerateRequest, type index$9_V3InputSlot as V3InputSlot, type index$9_V3ParamSchema as V3ParamSchema, type index$9_V3QueueRequest as V3QueueRequest, type index$9_V3QueueResponse as V3QueueResponse, type index$9_V3QueueTicket as V3QueueTicket, type index$9_V3TaskCreated as V3TaskCreated, type index$9_V3TaskGroupResponse as V3TaskGroupResponse, type index$9_V3TaskItem as V3TaskItem, type index$9_V3TaskResponse as V3TaskResponse, type index$9_V3TaskSSEEvent as V3TaskSSEEvent, type index$9_V3TextGenerateRequest as V3TextGenerateRequest, type index$9_V3TextGenerateResponse as V3TextGenerateResponse, type index$9_V3UploadResponse as V3UploadResponse, type index$9_V3Variant as V3Variant, index$9_aiChatCompletionsRequestSchema as aiChatCompletionsRequestSchema, index$9_aiChatModelSchema as aiChatModelSchema, index$9_aiChatModelsPayloadSchema as aiChatModelsPayloadSchema, index$9_aiChatModelsResponseSchema as aiChatModelsResponseSchema, index$9_aiChatModelsSuccessSchema as aiChatModelsSuccessSchema, index$9_aiChatSessionMetadataSchema as aiChatSessionMetadataSchema, index$9_aiClientMetadataSchema as aiClientMetadataSchema, index$9_aiEndpoints as aiEndpoints, index$9_aiErrorResponseSchema as aiErrorResponseSchema, index$9_aiModelCapabilitiesInputSchema as aiModelCapabilitiesInputSchema, index$9_aiModelCapabilitiesOutputSchema as aiModelCapabilitiesOutputSchema, index$9_aiModelCapabilitiesSchema as aiModelCapabilitiesSchema, index$9_aiModelCapabilityCommonSchema as aiModelCapabilityCommonSchema, index$9_aiModelParameterFieldSchema as aiModelParameterFieldSchema, index$9_aiModelParamsSchema as aiModelParamsSchema, index$9_aiModelSchema as aiModelSchema, index$9_aiModelsRequestSchema as aiModelsRequestSchema, index$9_aiModelsUpdatedAtDataSchema as aiModelsUpdatedAtDataSchema, index$9_aiModelsUpdatedAtResponseSchema as aiModelsUpdatedAtResponseSchema, index$9_aiModelsUpdatedAtSuccessSchema as aiModelsUpdatedAtSuccessSchema, index$9_aiProviderTemplateModelSchema as aiProviderTemplateModelSchema, index$9_aiProviderTemplateSchema as aiProviderTemplateSchema, index$9_aiProviderTemplatesPayloadSchema as aiProviderTemplatesPayloadSchema, index$9_aiProviderTemplatesRequestSchema as aiProviderTemplatesRequestSchema, index$9_aiProviderTemplatesResponseSchema as aiProviderTemplatesResponseSchema, index$9_aiProviderTemplatesSuccessSchema as aiProviderTemplatesSuccessSchema, index$9_aiResponsesRequestSchema as aiResponsesRequestSchema, index$9_inputSlotSchema as inputSlotSchema, index$9_paramSchemaSchema as paramSchemaSchema, index$9_v3BasicSuccessSchema as v3BasicSuccessSchema, index$9_v3CapabilitiesDataSchema as v3CapabilitiesDataSchema, index$9_v3CapabilitiesResponseSchema as v3CapabilitiesResponseSchema, index$9_v3CreditEstimateSchema as v3CreditEstimateSchema, index$9_v3EstimatePriceRequestSchema as v3EstimatePriceRequestSchema, index$9_v3EstimatePriceResponseSchema as v3EstimatePriceResponseSchema, index$9_v3FeatureSchema as v3FeatureSchema, index$9_v3GenerateRequestSchema as v3GenerateRequestSchema, index$9_v3QueueRequestSchema as v3QueueRequestSchema, index$9_v3QueueResponseSchema as v3QueueResponseSchema, index$9_v3QueueTicketSchema as v3QueueTicketSchema, index$9_v3TaskCreatedSchema as v3TaskCreatedSchema, index$9_v3TaskGroupResponseSchema as v3TaskGroupResponseSchema, index$9_v3TaskItemSchema as v3TaskItemSchema, index$9_v3TaskResponseSchema as v3TaskResponseSchema, index$9_v3TaskSSEEventSchema as v3TaskSSEEventSchema, index$9_v3TextGenerateRequestSchema as v3TextGenerateRequestSchema, index$9_v3TextGenerateResponseSchema as v3TextGenerateResponseSchema, index$9_v3UploadResponseSchema as v3UploadResponseSchema, index$9_v3VariantSchema as v3VariantSchema };
|
|
4857
5542
|
}
|
|
4858
5543
|
|
|
4859
5544
|
declare const aiToolsEndpoints: {
|
|
@@ -5013,23 +5698,23 @@ declare class AiToolsClient {
|
|
|
5013
5698
|
}>;
|
|
5014
5699
|
}
|
|
5015
5700
|
|
|
5016
|
-
type index$
|
|
5017
|
-
declare const index$
|
|
5018
|
-
type index$
|
|
5019
|
-
type index$
|
|
5020
|
-
type index$
|
|
5021
|
-
type index$
|
|
5022
|
-
type index$
|
|
5023
|
-
type index$
|
|
5024
|
-
declare const index$
|
|
5025
|
-
declare const index$
|
|
5026
|
-
declare const index$
|
|
5027
|
-
declare const index$
|
|
5028
|
-
declare const index$
|
|
5029
|
-
declare const index$
|
|
5030
|
-
declare const index$
|
|
5031
|
-
declare namespace index$
|
|
5032
|
-
export { index$
|
|
5701
|
+
type index$8_AiToolsClient = AiToolsClient;
|
|
5702
|
+
declare const index$8_AiToolsClient: typeof AiToolsClient;
|
|
5703
|
+
type index$8_AnalyzeSkillsRequest = AnalyzeSkillsRequest;
|
|
5704
|
+
type index$8_AnalyzeSkillsResponse = AnalyzeSkillsResponse;
|
|
5705
|
+
type index$8_RecommendActionsRequest = RecommendActionsRequest;
|
|
5706
|
+
type index$8_RecommendActionsResponse = RecommendActionsResponse;
|
|
5707
|
+
type index$8_SummarizeRequest = SummarizeRequest;
|
|
5708
|
+
type index$8_SummarizeResponse = SummarizeResponse;
|
|
5709
|
+
declare const index$8_aiToolsEndpoints: typeof aiToolsEndpoints;
|
|
5710
|
+
declare const index$8_analyzeSkillsRequestSchema: typeof analyzeSkillsRequestSchema;
|
|
5711
|
+
declare const index$8_analyzeSkillsResponseSchema: typeof analyzeSkillsResponseSchema;
|
|
5712
|
+
declare const index$8_recommendActionsRequestSchema: typeof recommendActionsRequestSchema;
|
|
5713
|
+
declare const index$8_recommendActionsResponseSchema: typeof recommendActionsResponseSchema;
|
|
5714
|
+
declare const index$8_summarizeRequestSchema: typeof summarizeRequestSchema;
|
|
5715
|
+
declare const index$8_summarizeResponseSchema: typeof summarizeResponseSchema;
|
|
5716
|
+
declare namespace index$8 {
|
|
5717
|
+
export { index$8_AiToolsClient as AiToolsClient, type index$8_AnalyzeSkillsRequest as AnalyzeSkillsRequest, type index$8_AnalyzeSkillsResponse as AnalyzeSkillsResponse, type index$8_RecommendActionsRequest as RecommendActionsRequest, type index$8_RecommendActionsResponse as RecommendActionsResponse, type index$8_SummarizeRequest as SummarizeRequest, type index$8_SummarizeResponse as SummarizeResponse, index$8_aiToolsEndpoints as aiToolsEndpoints, index$8_analyzeSkillsRequestSchema as analyzeSkillsRequestSchema, index$8_analyzeSkillsResponseSchema as analyzeSkillsResponseSchema, index$8_recommendActionsRequestSchema as recommendActionsRequestSchema, index$8_recommendActionsResponseSchema as recommendActionsResponseSchema, index$8_summarizeRequestSchema as summarizeRequestSchema, index$8_summarizeResponseSchema as summarizeResponseSchema };
|
|
5033
5718
|
}
|
|
5034
5719
|
|
|
5035
5720
|
declare const authEndpoints: {
|
|
@@ -5042,6 +5727,7 @@ declare const authEndpoints: {
|
|
|
5042
5727
|
name?: string | undefined;
|
|
5043
5728
|
email?: string | undefined;
|
|
5044
5729
|
avatarUrl?: string | undefined;
|
|
5730
|
+
isAdmin?: boolean | undefined;
|
|
5045
5731
|
};
|
|
5046
5732
|
}>;
|
|
5047
5733
|
readonly refresh: Endpoint<{
|
|
@@ -5053,6 +5739,7 @@ declare const authEndpoints: {
|
|
|
5053
5739
|
name?: string | undefined;
|
|
5054
5740
|
email?: string | undefined;
|
|
5055
5741
|
avatarUrl?: string | undefined;
|
|
5742
|
+
isAdmin?: boolean | undefined;
|
|
5056
5743
|
};
|
|
5057
5744
|
} | {
|
|
5058
5745
|
message: string;
|
|
@@ -5080,6 +5767,7 @@ declare class AuthClient {
|
|
|
5080
5767
|
name?: string | undefined;
|
|
5081
5768
|
email?: string | undefined;
|
|
5082
5769
|
avatarUrl?: string | undefined;
|
|
5770
|
+
isAdmin?: boolean | undefined;
|
|
5083
5771
|
};
|
|
5084
5772
|
}>;
|
|
5085
5773
|
/** Refresh access token with refresh token. */
|
|
@@ -5090,6 +5778,7 @@ declare class AuthClient {
|
|
|
5090
5778
|
name?: string | undefined;
|
|
5091
5779
|
email?: string | undefined;
|
|
5092
5780
|
avatarUrl?: string | undefined;
|
|
5781
|
+
isAdmin?: boolean | undefined;
|
|
5093
5782
|
};
|
|
5094
5783
|
} | {
|
|
5095
5784
|
message: string;
|
|
@@ -5110,6 +5799,7 @@ declare const authRefreshUserSchema: z.ZodObject<{
|
|
|
5110
5799
|
name: z.ZodOptional<z.ZodString>;
|
|
5111
5800
|
email: z.ZodOptional<z.ZodString>;
|
|
5112
5801
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5802
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
5113
5803
|
}, z.core.$strip>;
|
|
5114
5804
|
declare const authRefreshSuccessSchema: z.ZodObject<{
|
|
5115
5805
|
accessToken: z.ZodString;
|
|
@@ -5118,6 +5808,7 @@ declare const authRefreshSuccessSchema: z.ZodObject<{
|
|
|
5118
5808
|
name: z.ZodOptional<z.ZodString>;
|
|
5119
5809
|
email: z.ZodOptional<z.ZodString>;
|
|
5120
5810
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5811
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
5121
5812
|
}, z.core.$strip>;
|
|
5122
5813
|
}, z.core.$strip>;
|
|
5123
5814
|
declare const authRefreshErrorSchema: z.ZodObject<{
|
|
@@ -5130,6 +5821,7 @@ declare const authExchangeResponseSchema: z.ZodObject<{
|
|
|
5130
5821
|
name: z.ZodOptional<z.ZodString>;
|
|
5131
5822
|
email: z.ZodOptional<z.ZodString>;
|
|
5132
5823
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5824
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
5133
5825
|
}, z.core.$strip>;
|
|
5134
5826
|
}, z.core.$strip>;
|
|
5135
5827
|
declare const authLogoutRequestSchema: z.ZodObject<{
|
|
@@ -5145,6 +5837,7 @@ declare const authRefreshResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
5145
5837
|
name: z.ZodOptional<z.ZodString>;
|
|
5146
5838
|
email: z.ZodOptional<z.ZodString>;
|
|
5147
5839
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5840
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
5148
5841
|
}, z.core.$strip>;
|
|
5149
5842
|
}, z.core.$strip>, z.ZodObject<{
|
|
5150
5843
|
message: z.ZodString;
|
|
@@ -5158,28 +5851,28 @@ type AuthExchangeResponse = z.infer<typeof authExchangeResponseSchema>;
|
|
|
5158
5851
|
type AuthLogoutRequest = z.infer<typeof authLogoutRequestSchema>;
|
|
5159
5852
|
type AuthLogoutResponse = z.infer<typeof authLogoutResponseSchema>;
|
|
5160
5853
|
|
|
5161
|
-
type index$
|
|
5162
|
-
declare const index$
|
|
5163
|
-
type index$
|
|
5164
|
-
type index$
|
|
5165
|
-
type index$
|
|
5166
|
-
type index$
|
|
5167
|
-
type index$
|
|
5168
|
-
type index$
|
|
5169
|
-
type index$
|
|
5170
|
-
type index$
|
|
5171
|
-
declare const index$
|
|
5172
|
-
declare const index$
|
|
5173
|
-
declare const index$
|
|
5174
|
-
declare const index$
|
|
5175
|
-
declare const index$
|
|
5176
|
-
declare const index$
|
|
5177
|
-
declare const index$
|
|
5178
|
-
declare const index$
|
|
5179
|
-
declare const index$
|
|
5180
|
-
declare const index$
|
|
5181
|
-
declare namespace index$
|
|
5182
|
-
export { index$
|
|
5854
|
+
type index$7_AuthClient = AuthClient;
|
|
5855
|
+
declare const index$7_AuthClient: typeof AuthClient;
|
|
5856
|
+
type index$7_AuthExchangeRequest = AuthExchangeRequest;
|
|
5857
|
+
type index$7_AuthExchangeResponse = AuthExchangeResponse;
|
|
5858
|
+
type index$7_AuthLogoutRequest = AuthLogoutRequest;
|
|
5859
|
+
type index$7_AuthLogoutResponse = AuthLogoutResponse;
|
|
5860
|
+
type index$7_AuthRefreshError = AuthRefreshError;
|
|
5861
|
+
type index$7_AuthRefreshRequest = AuthRefreshRequest;
|
|
5862
|
+
type index$7_AuthRefreshResponse = AuthRefreshResponse;
|
|
5863
|
+
type index$7_AuthRefreshSuccess = AuthRefreshSuccess;
|
|
5864
|
+
declare const index$7_authEndpoints: typeof authEndpoints;
|
|
5865
|
+
declare const index$7_authExchangeRequestSchema: typeof authExchangeRequestSchema;
|
|
5866
|
+
declare const index$7_authExchangeResponseSchema: typeof authExchangeResponseSchema;
|
|
5867
|
+
declare const index$7_authLogoutRequestSchema: typeof authLogoutRequestSchema;
|
|
5868
|
+
declare const index$7_authLogoutResponseSchema: typeof authLogoutResponseSchema;
|
|
5869
|
+
declare const index$7_authRefreshErrorSchema: typeof authRefreshErrorSchema;
|
|
5870
|
+
declare const index$7_authRefreshRequestSchema: typeof authRefreshRequestSchema;
|
|
5871
|
+
declare const index$7_authRefreshResponseSchema: typeof authRefreshResponseSchema;
|
|
5872
|
+
declare const index$7_authRefreshSuccessSchema: typeof authRefreshSuccessSchema;
|
|
5873
|
+
declare const index$7_authRefreshUserSchema: typeof authRefreshUserSchema;
|
|
5874
|
+
declare namespace index$7 {
|
|
5875
|
+
export { index$7_AuthClient as AuthClient, type index$7_AuthExchangeRequest as AuthExchangeRequest, type index$7_AuthExchangeResponse as AuthExchangeResponse, type index$7_AuthLogoutRequest as AuthLogoutRequest, type index$7_AuthLogoutResponse as AuthLogoutResponse, type index$7_AuthRefreshError as AuthRefreshError, type index$7_AuthRefreshRequest as AuthRefreshRequest, type index$7_AuthRefreshResponse as AuthRefreshResponse, type index$7_AuthRefreshSuccess as AuthRefreshSuccess, index$7_authEndpoints as authEndpoints, index$7_authExchangeRequestSchema as authExchangeRequestSchema, index$7_authExchangeResponseSchema as authExchangeResponseSchema, index$7_authLogoutRequestSchema as authLogoutRequestSchema, index$7_authLogoutResponseSchema as authLogoutResponseSchema, index$7_authRefreshErrorSchema as authRefreshErrorSchema, index$7_authRefreshRequestSchema as authRefreshRequestSchema, index$7_authRefreshResponseSchema as authRefreshResponseSchema, index$7_authRefreshSuccessSchema as authRefreshSuccessSchema, index$7_authRefreshUserSchema as authRefreshUserSchema };
|
|
5183
5876
|
}
|
|
5184
5877
|
|
|
5185
5878
|
declare const auxiliaryEndpoints: {
|
|
@@ -5302,18 +5995,18 @@ declare class AuxiliaryClient {
|
|
|
5302
5995
|
}>;
|
|
5303
5996
|
}
|
|
5304
5997
|
|
|
5305
|
-
type index$
|
|
5306
|
-
declare const index$
|
|
5307
|
-
type index$
|
|
5308
|
-
type index$
|
|
5309
|
-
type index$
|
|
5310
|
-
type index$
|
|
5311
|
-
declare const index$
|
|
5312
|
-
declare const index$
|
|
5313
|
-
declare const index$
|
|
5314
|
-
declare const index$
|
|
5315
|
-
declare namespace index$
|
|
5316
|
-
export { index$
|
|
5998
|
+
type index$6_AuxiliaryClient = AuxiliaryClient;
|
|
5999
|
+
declare const index$6_AuxiliaryClient: typeof AuxiliaryClient;
|
|
6000
|
+
type index$6_AuxiliaryInferRequest = AuxiliaryInferRequest;
|
|
6001
|
+
type index$6_AuxiliaryInferResponse = AuxiliaryInferResponse;
|
|
6002
|
+
type index$6_AuxiliaryQuota = AuxiliaryQuota;
|
|
6003
|
+
type index$6_AuxiliaryQuotaResponse = AuxiliaryQuotaResponse;
|
|
6004
|
+
declare const index$6_auxiliaryEndpoints: typeof auxiliaryEndpoints;
|
|
6005
|
+
declare const index$6_auxiliaryInferRequestSchema: typeof auxiliaryInferRequestSchema;
|
|
6006
|
+
declare const index$6_auxiliaryInferResponseSchema: typeof auxiliaryInferResponseSchema;
|
|
6007
|
+
declare const index$6_auxiliaryQuotaResponseSchema: typeof auxiliaryQuotaResponseSchema;
|
|
6008
|
+
declare namespace index$6 {
|
|
6009
|
+
export { index$6_AuxiliaryClient as AuxiliaryClient, type index$6_AuxiliaryInferRequest as AuxiliaryInferRequest, type index$6_AuxiliaryInferResponse as AuxiliaryInferResponse, type index$6_AuxiliaryQuota as AuxiliaryQuota, type index$6_AuxiliaryQuotaResponse as AuxiliaryQuotaResponse, index$6_auxiliaryEndpoints as auxiliaryEndpoints, index$6_auxiliaryInferRequestSchema as auxiliaryInferRequestSchema, index$6_auxiliaryInferResponseSchema as auxiliaryInferResponseSchema, index$6_auxiliaryQuotaResponseSchema as auxiliaryQuotaResponseSchema };
|
|
5317
6010
|
}
|
|
5318
6011
|
|
|
5319
6012
|
/** Feedback API endpoints. */
|
|
@@ -5660,37 +6353,37 @@ declare class FeedbackClient {
|
|
|
5660
6353
|
detail(feedbackId: string): Promise<FeedbackDetailResponse>;
|
|
5661
6354
|
}
|
|
5662
6355
|
|
|
5663
|
-
type index$
|
|
5664
|
-
type index$
|
|
5665
|
-
declare const index$
|
|
5666
|
-
type index$
|
|
5667
|
-
type index$
|
|
5668
|
-
type index$
|
|
5669
|
-
type index$
|
|
5670
|
-
type index$
|
|
5671
|
-
type index$
|
|
5672
|
-
type index$
|
|
5673
|
-
type index$
|
|
5674
|
-
type index$
|
|
5675
|
-
type index$
|
|
5676
|
-
type index$
|
|
5677
|
-
type index$
|
|
5678
|
-
declare const index$
|
|
5679
|
-
declare const index$
|
|
5680
|
-
declare const index$
|
|
5681
|
-
declare const index$
|
|
5682
|
-
declare const index$
|
|
5683
|
-
declare const index$
|
|
5684
|
-
declare const index$
|
|
5685
|
-
declare const index$
|
|
5686
|
-
declare const index$
|
|
5687
|
-
declare const index$
|
|
5688
|
-
declare const index$
|
|
5689
|
-
declare const index$
|
|
5690
|
-
declare const index$
|
|
5691
|
-
declare const index$
|
|
5692
|
-
declare namespace index$
|
|
5693
|
-
export { type index$
|
|
6356
|
+
type index$5_FeedbackAttachmentResponse = FeedbackAttachmentResponse;
|
|
6357
|
+
type index$5_FeedbackClient = FeedbackClient;
|
|
6358
|
+
declare const index$5_FeedbackClient: typeof FeedbackClient;
|
|
6359
|
+
type index$5_FeedbackDetailPayload = FeedbackDetailPayload;
|
|
6360
|
+
type index$5_FeedbackDetailRequest = FeedbackDetailRequest;
|
|
6361
|
+
type index$5_FeedbackDetailResponse = FeedbackDetailResponse;
|
|
6362
|
+
type index$5_FeedbackListPayload = FeedbackListPayload;
|
|
6363
|
+
type index$5_FeedbackListRequest = FeedbackListRequest;
|
|
6364
|
+
type index$5_FeedbackListResponse = FeedbackListResponse;
|
|
6365
|
+
type index$5_FeedbackSaasStatus = FeedbackSaasStatus;
|
|
6366
|
+
type index$5_FeedbackSource = FeedbackSource;
|
|
6367
|
+
type index$5_FeedbackSubmitError = FeedbackSubmitError;
|
|
6368
|
+
type index$5_FeedbackSubmitRequest = FeedbackSubmitRequest;
|
|
6369
|
+
type index$5_FeedbackSubmitResponse = FeedbackSubmitResponse;
|
|
6370
|
+
type index$5_FeedbackType = FeedbackType;
|
|
6371
|
+
declare const index$5_feedbackDetailPayloadSchema: typeof feedbackDetailPayloadSchema;
|
|
6372
|
+
declare const index$5_feedbackDetailRequestSchema: typeof feedbackDetailRequestSchema;
|
|
6373
|
+
declare const index$5_feedbackDetailResponseSchema: typeof feedbackDetailResponseSchema;
|
|
6374
|
+
declare const index$5_feedbackEndpoints: typeof feedbackEndpoints;
|
|
6375
|
+
declare const index$5_feedbackItemSchema: typeof feedbackItemSchema;
|
|
6376
|
+
declare const index$5_feedbackListPayloadSchema: typeof feedbackListPayloadSchema;
|
|
6377
|
+
declare const index$5_feedbackListRequestSchema: typeof feedbackListRequestSchema;
|
|
6378
|
+
declare const index$5_feedbackListResponseSchema: typeof feedbackListResponseSchema;
|
|
6379
|
+
declare const index$5_feedbackSaasStatusSchema: typeof feedbackSaasStatusSchema;
|
|
6380
|
+
declare const index$5_feedbackSourceSchema: typeof feedbackSourceSchema;
|
|
6381
|
+
declare const index$5_feedbackSubmitErrorSchema: typeof feedbackSubmitErrorSchema;
|
|
6382
|
+
declare const index$5_feedbackSubmitRequestSchema: typeof feedbackSubmitRequestSchema;
|
|
6383
|
+
declare const index$5_feedbackSubmitResponseSchema: typeof feedbackSubmitResponseSchema;
|
|
6384
|
+
declare const index$5_feedbackTypeSchema: typeof feedbackTypeSchema;
|
|
6385
|
+
declare namespace index$5 {
|
|
6386
|
+
export { type index$5_FeedbackAttachmentResponse as FeedbackAttachmentResponse, index$5_FeedbackClient as FeedbackClient, type index$5_FeedbackDetailPayload as FeedbackDetailPayload, type index$5_FeedbackDetailRequest as FeedbackDetailRequest, type index$5_FeedbackDetailResponse as FeedbackDetailResponse, type index$5_FeedbackListPayload as FeedbackListPayload, type index$5_FeedbackListRequest as FeedbackListRequest, type index$5_FeedbackListResponse as FeedbackListResponse, type index$5_FeedbackSaasStatus as FeedbackSaasStatus, type index$5_FeedbackSource as FeedbackSource, type index$5_FeedbackSubmitError as FeedbackSubmitError, type index$5_FeedbackSubmitRequest as FeedbackSubmitRequest, type index$5_FeedbackSubmitResponse as FeedbackSubmitResponse, type index$5_FeedbackType as FeedbackType, index$5_feedbackDetailPayloadSchema as feedbackDetailPayloadSchema, index$5_feedbackDetailRequestSchema as feedbackDetailRequestSchema, index$5_feedbackDetailResponseSchema as feedbackDetailResponseSchema, index$5_feedbackEndpoints as feedbackEndpoints, index$5_feedbackItemSchema as feedbackItemSchema, index$5_feedbackListPayloadSchema as feedbackListPayloadSchema, index$5_feedbackListRequestSchema as feedbackListRequestSchema, index$5_feedbackListResponseSchema as feedbackListResponseSchema, index$5_feedbackSaasStatusSchema as feedbackSaasStatusSchema, index$5_feedbackSourceSchema as feedbackSourceSchema, index$5_feedbackSubmitErrorSchema as feedbackSubmitErrorSchema, index$5_feedbackSubmitRequestSchema as feedbackSubmitRequestSchema, index$5_feedbackSubmitResponseSchema as feedbackSubmitResponseSchema, index$5_feedbackTypeSchema as feedbackTypeSchema };
|
|
5694
6387
|
}
|
|
5695
6388
|
|
|
5696
6389
|
/** Payment API endpoints. */
|
|
@@ -5953,37 +6646,37 @@ type RefundRequest = z.infer<typeof refundRequestSchema>;
|
|
|
5953
6646
|
/** Response type for requesting a refund. */
|
|
5954
6647
|
type RefundResponse = z.infer<typeof refundResponseSchema>;
|
|
5955
6648
|
|
|
5956
|
-
type index$
|
|
5957
|
-
type index$
|
|
5958
|
-
type index$
|
|
5959
|
-
type index$
|
|
5960
|
-
type index$
|
|
5961
|
-
type index$
|
|
5962
|
-
declare const index$
|
|
5963
|
-
type index$
|
|
5964
|
-
type index$
|
|
5965
|
-
type index$
|
|
5966
|
-
type index$
|
|
5967
|
-
type index$
|
|
5968
|
-
type index$
|
|
5969
|
-
type index$
|
|
5970
|
-
type index$
|
|
5971
|
-
declare const index$
|
|
5972
|
-
declare const index$
|
|
5973
|
-
declare const index$
|
|
5974
|
-
declare const index$
|
|
5975
|
-
declare const index$
|
|
5976
|
-
declare const index$
|
|
5977
|
-
declare const index$
|
|
5978
|
-
declare const index$
|
|
5979
|
-
declare const index$
|
|
5980
|
-
declare const index$
|
|
5981
|
-
declare const index$
|
|
5982
|
-
declare const index$
|
|
5983
|
-
declare const index$
|
|
5984
|
-
declare const index$
|
|
5985
|
-
declare namespace index$
|
|
5986
|
-
export { type index$
|
|
6649
|
+
type index$4_CreateEmbedOptions = CreateEmbedOptions;
|
|
6650
|
+
type index$4_EmbedEventMap = EmbedEventMap;
|
|
6651
|
+
type index$4_EmbedInstance = EmbedInstance;
|
|
6652
|
+
type index$4_OrderStatusRequest = OrderStatusRequest;
|
|
6653
|
+
type index$4_OrderStatusResponse = OrderStatusResponse;
|
|
6654
|
+
type index$4_PaymentClient = PaymentClient;
|
|
6655
|
+
declare const index$4_PaymentClient: typeof PaymentClient;
|
|
6656
|
+
type index$4_RechargeRequest = RechargeRequest;
|
|
6657
|
+
type index$4_RechargeResponse = RechargeResponse;
|
|
6658
|
+
type index$4_RefundRequest = RefundRequest;
|
|
6659
|
+
type index$4_RefundResponse = RefundResponse;
|
|
6660
|
+
type index$4_SubscribeRequest = SubscribeRequest;
|
|
6661
|
+
type index$4_SubscribeResponse = SubscribeResponse;
|
|
6662
|
+
type index$4_UpgradeRequest = UpgradeRequest;
|
|
6663
|
+
type index$4_UpgradeResponse = UpgradeResponse;
|
|
6664
|
+
declare const index$4_createEmbed: typeof createEmbed;
|
|
6665
|
+
declare const index$4_createPricingEmbed: typeof createPricingEmbed;
|
|
6666
|
+
declare const index$4_createRechargeEmbed: typeof createRechargeEmbed;
|
|
6667
|
+
declare const index$4_orderStatusRequestSchema: typeof orderStatusRequestSchema;
|
|
6668
|
+
declare const index$4_orderStatusResponseSchema: typeof orderStatusResponseSchema;
|
|
6669
|
+
declare const index$4_paymentEndpoints: typeof paymentEndpoints;
|
|
6670
|
+
declare const index$4_rechargeRequestSchema: typeof rechargeRequestSchema;
|
|
6671
|
+
declare const index$4_rechargeResponseSchema: typeof rechargeResponseSchema;
|
|
6672
|
+
declare const index$4_refundRequestSchema: typeof refundRequestSchema;
|
|
6673
|
+
declare const index$4_refundResponseSchema: typeof refundResponseSchema;
|
|
6674
|
+
declare const index$4_subscribeRequestSchema: typeof subscribeRequestSchema;
|
|
6675
|
+
declare const index$4_subscribeResponseSchema: typeof subscribeResponseSchema;
|
|
6676
|
+
declare const index$4_upgradeRequestSchema: typeof upgradeRequestSchema;
|
|
6677
|
+
declare const index$4_upgradeResponseSchema: typeof upgradeResponseSchema;
|
|
6678
|
+
declare namespace index$4 {
|
|
6679
|
+
export { type index$4_CreateEmbedOptions as CreateEmbedOptions, type index$4_EmbedEventMap as EmbedEventMap, type index$4_EmbedInstance as EmbedInstance, type index$4_OrderStatusRequest as OrderStatusRequest, type index$4_OrderStatusResponse as OrderStatusResponse, index$4_PaymentClient as PaymentClient, type index$4_RechargeRequest as RechargeRequest, type index$4_RechargeResponse as RechargeResponse, type index$4_RefundRequest as RefundRequest, type index$4_RefundResponse as RefundResponse, type index$4_SubscribeRequest as SubscribeRequest, type index$4_SubscribeResponse as SubscribeResponse, type index$4_UpgradeRequest as UpgradeRequest, type index$4_UpgradeResponse as UpgradeResponse, index$4_createEmbed as createEmbed, index$4_createPricingEmbed as createPricingEmbed, index$4_createRechargeEmbed as createRechargeEmbed, index$4_orderStatusRequestSchema as orderStatusRequestSchema, index$4_orderStatusResponseSchema as orderStatusResponseSchema, index$4_paymentEndpoints as paymentEndpoints, index$4_rechargeRequestSchema as rechargeRequestSchema, index$4_rechargeResponseSchema as rechargeResponseSchema, index$4_refundRequestSchema as refundRequestSchema, index$4_refundResponseSchema as refundResponseSchema, index$4_subscribeRequestSchema as subscribeRequestSchema, index$4_subscribeResponseSchema as subscribeResponseSchema, index$4_upgradeRequestSchema as upgradeRequestSchema, index$4_upgradeResponseSchema as upgradeResponseSchema };
|
|
5987
6680
|
}
|
|
5988
6681
|
|
|
5989
6682
|
/** Redeem code API endpoints. */
|
|
@@ -5996,6 +6689,11 @@ declare const redeemCodeEndpoints: {
|
|
|
5996
6689
|
code: string;
|
|
5997
6690
|
title: string;
|
|
5998
6691
|
creditsAmount: number;
|
|
6692
|
+
grantMembershipLevel: "lite" | "pro" | "premium" | null;
|
|
6693
|
+
grantMembershipDays: number | null;
|
|
6694
|
+
membershipLevelAfterRedeem: "lite" | "pro" | "premium" | "free";
|
|
6695
|
+
membershipStartAt: string | null;
|
|
6696
|
+
membershipEndAt: string | null;
|
|
5999
6697
|
newBalance: number;
|
|
6000
6698
|
createdAt: string;
|
|
6001
6699
|
}>;
|
|
@@ -6007,6 +6705,10 @@ declare const redeemCodeEndpoints: {
|
|
|
6007
6705
|
items: {
|
|
6008
6706
|
id: string;
|
|
6009
6707
|
creditsAmount: number;
|
|
6708
|
+
grantMembershipLevel: "lite" | "pro" | "premium" | null;
|
|
6709
|
+
grantMembershipDays: number | null;
|
|
6710
|
+
membershipStartAt: string | null;
|
|
6711
|
+
membershipEndAt: string | null;
|
|
6010
6712
|
createdAt: string;
|
|
6011
6713
|
redeemCode: {
|
|
6012
6714
|
id: string;
|
|
@@ -6021,6 +6723,12 @@ declare const redeemCodeEndpoints: {
|
|
|
6021
6723
|
}>;
|
|
6022
6724
|
};
|
|
6023
6725
|
|
|
6726
|
+
/** Redeem code membership level schema. */
|
|
6727
|
+
declare const redeemCodeMembershipLevelSchema: z.ZodEnum<{
|
|
6728
|
+
lite: "lite";
|
|
6729
|
+
pro: "pro";
|
|
6730
|
+
premium: "premium";
|
|
6731
|
+
}>;
|
|
6024
6732
|
/** Redeem code summary schema. */
|
|
6025
6733
|
declare const redeemCodeSummarySchema: z.ZodObject<{
|
|
6026
6734
|
id: z.ZodString;
|
|
@@ -6037,6 +6745,20 @@ declare const redeemCodeRedeemResponseSchema: z.ZodObject<{
|
|
|
6037
6745
|
code: z.ZodString;
|
|
6038
6746
|
title: z.ZodString;
|
|
6039
6747
|
creditsAmount: z.ZodNumber;
|
|
6748
|
+
grantMembershipLevel: z.ZodNullable<z.ZodEnum<{
|
|
6749
|
+
lite: "lite";
|
|
6750
|
+
pro: "pro";
|
|
6751
|
+
premium: "premium";
|
|
6752
|
+
}>>;
|
|
6753
|
+
grantMembershipDays: z.ZodNullable<z.ZodNumber>;
|
|
6754
|
+
membershipLevelAfterRedeem: z.ZodEnum<{
|
|
6755
|
+
lite: "lite";
|
|
6756
|
+
pro: "pro";
|
|
6757
|
+
premium: "premium";
|
|
6758
|
+
free: "free";
|
|
6759
|
+
}>;
|
|
6760
|
+
membershipStartAt: z.ZodNullable<z.ZodString>;
|
|
6761
|
+
membershipEndAt: z.ZodNullable<z.ZodString>;
|
|
6040
6762
|
newBalance: z.ZodNumber;
|
|
6041
6763
|
createdAt: z.ZodString;
|
|
6042
6764
|
}, z.core.$strip>;
|
|
@@ -6049,6 +6771,14 @@ declare const redeemCodeRecordsRequestSchema: z.ZodObject<{
|
|
|
6049
6771
|
declare const redeemCodeRecordItemSchema: z.ZodObject<{
|
|
6050
6772
|
id: z.ZodString;
|
|
6051
6773
|
creditsAmount: z.ZodNumber;
|
|
6774
|
+
grantMembershipLevel: z.ZodNullable<z.ZodEnum<{
|
|
6775
|
+
lite: "lite";
|
|
6776
|
+
pro: "pro";
|
|
6777
|
+
premium: "premium";
|
|
6778
|
+
}>>;
|
|
6779
|
+
grantMembershipDays: z.ZodNullable<z.ZodNumber>;
|
|
6780
|
+
membershipStartAt: z.ZodNullable<z.ZodString>;
|
|
6781
|
+
membershipEndAt: z.ZodNullable<z.ZodString>;
|
|
6052
6782
|
createdAt: z.ZodString;
|
|
6053
6783
|
redeemCode: z.ZodObject<{
|
|
6054
6784
|
id: z.ZodString;
|
|
@@ -6061,6 +6791,14 @@ declare const redeemCodeRecordsResponseSchema: z.ZodObject<{
|
|
|
6061
6791
|
items: z.ZodArray<z.ZodObject<{
|
|
6062
6792
|
id: z.ZodString;
|
|
6063
6793
|
creditsAmount: z.ZodNumber;
|
|
6794
|
+
grantMembershipLevel: z.ZodNullable<z.ZodEnum<{
|
|
6795
|
+
lite: "lite";
|
|
6796
|
+
pro: "pro";
|
|
6797
|
+
premium: "premium";
|
|
6798
|
+
}>>;
|
|
6799
|
+
grantMembershipDays: z.ZodNullable<z.ZodNumber>;
|
|
6800
|
+
membershipStartAt: z.ZodNullable<z.ZodString>;
|
|
6801
|
+
membershipEndAt: z.ZodNullable<z.ZodString>;
|
|
6064
6802
|
createdAt: z.ZodString;
|
|
6065
6803
|
redeemCode: z.ZodObject<{
|
|
6066
6804
|
id: z.ZodString;
|
|
@@ -6100,23 +6838,275 @@ declare class RedeemCodeClient {
|
|
|
6100
6838
|
records(payload?: RedeemCodeRecordsRequest): Promise<RedeemCodeRecordsResponse>;
|
|
6101
6839
|
}
|
|
6102
6840
|
|
|
6103
|
-
type index$
|
|
6104
|
-
declare const index$
|
|
6105
|
-
type index$
|
|
6106
|
-
type index$
|
|
6107
|
-
type index$
|
|
6108
|
-
type index$
|
|
6109
|
-
type index$
|
|
6110
|
-
type index$
|
|
6111
|
-
declare const index$
|
|
6112
|
-
declare const index$
|
|
6113
|
-
declare const index$
|
|
6114
|
-
declare const index$
|
|
6115
|
-
declare const index$
|
|
6116
|
-
declare const index$
|
|
6117
|
-
declare const index$
|
|
6841
|
+
type index$3_RedeemCodeClient = RedeemCodeClient;
|
|
6842
|
+
declare const index$3_RedeemCodeClient: typeof RedeemCodeClient;
|
|
6843
|
+
type index$3_RedeemCodeRecordItem = RedeemCodeRecordItem;
|
|
6844
|
+
type index$3_RedeemCodeRecordsRequest = RedeemCodeRecordsRequest;
|
|
6845
|
+
type index$3_RedeemCodeRecordsResponse = RedeemCodeRecordsResponse;
|
|
6846
|
+
type index$3_RedeemCodeRedeemRequest = RedeemCodeRedeemRequest;
|
|
6847
|
+
type index$3_RedeemCodeRedeemResponse = RedeemCodeRedeemResponse;
|
|
6848
|
+
type index$3_RedeemCodeSummary = RedeemCodeSummary;
|
|
6849
|
+
declare const index$3_redeemCodeEndpoints: typeof redeemCodeEndpoints;
|
|
6850
|
+
declare const index$3_redeemCodeMembershipLevelSchema: typeof redeemCodeMembershipLevelSchema;
|
|
6851
|
+
declare const index$3_redeemCodeRecordItemSchema: typeof redeemCodeRecordItemSchema;
|
|
6852
|
+
declare const index$3_redeemCodeRecordsRequestSchema: typeof redeemCodeRecordsRequestSchema;
|
|
6853
|
+
declare const index$3_redeemCodeRecordsResponseSchema: typeof redeemCodeRecordsResponseSchema;
|
|
6854
|
+
declare const index$3_redeemCodeRedeemRequestSchema: typeof redeemCodeRedeemRequestSchema;
|
|
6855
|
+
declare const index$3_redeemCodeRedeemResponseSchema: typeof redeemCodeRedeemResponseSchema;
|
|
6856
|
+
declare const index$3_redeemCodeSummarySchema: typeof redeemCodeSummarySchema;
|
|
6857
|
+
declare namespace index$3 {
|
|
6858
|
+
export { index$3_RedeemCodeClient as RedeemCodeClient, type index$3_RedeemCodeRecordItem as RedeemCodeRecordItem, type index$3_RedeemCodeRecordsRequest as RedeemCodeRecordsRequest, type index$3_RedeemCodeRecordsResponse as RedeemCodeRecordsResponse, type index$3_RedeemCodeRedeemRequest as RedeemCodeRedeemRequest, type index$3_RedeemCodeRedeemResponse as RedeemCodeRedeemResponse, type index$3_RedeemCodeSummary as RedeemCodeSummary, index$3_redeemCodeEndpoints as redeemCodeEndpoints, index$3_redeemCodeMembershipLevelSchema as redeemCodeMembershipLevelSchema, index$3_redeemCodeRecordItemSchema as redeemCodeRecordItemSchema, index$3_redeemCodeRecordsRequestSchema as redeemCodeRecordsRequestSchema, index$3_redeemCodeRecordsResponseSchema as redeemCodeRecordsResponseSchema, index$3_redeemCodeRedeemRequestSchema as redeemCodeRedeemRequestSchema, index$3_redeemCodeRedeemResponseSchema as redeemCodeRedeemResponseSchema, index$3_redeemCodeSummarySchema as redeemCodeSummarySchema };
|
|
6859
|
+
}
|
|
6860
|
+
|
|
6861
|
+
/** Skill marketplace API endpoints. */
|
|
6862
|
+
declare const skillMarketEndpoints: {
|
|
6863
|
+
/** List marketplace skills. */
|
|
6864
|
+
readonly list: Endpoint<{
|
|
6865
|
+
page: number;
|
|
6866
|
+
pageSize: number;
|
|
6867
|
+
lang?: string | undefined;
|
|
6868
|
+
category?: string | undefined;
|
|
6869
|
+
search?: string | undefined;
|
|
6870
|
+
sort?: "rating" | "popular" | "newest" | undefined;
|
|
6871
|
+
repoId?: string | undefined;
|
|
6872
|
+
}, {
|
|
6873
|
+
skills: {
|
|
6874
|
+
id: string;
|
|
6875
|
+
folderName: string;
|
|
6876
|
+
name: string;
|
|
6877
|
+
description: string;
|
|
6878
|
+
tags: string[];
|
|
6879
|
+
repoLabel: string;
|
|
6880
|
+
isOfficial: boolean;
|
|
6881
|
+
downloadCount: number;
|
|
6882
|
+
rating: number;
|
|
6883
|
+
ratingCount: number;
|
|
6884
|
+
version: string;
|
|
6885
|
+
updatedAt: string;
|
|
6886
|
+
summary?: string | undefined;
|
|
6887
|
+
icon?: string | undefined;
|
|
6888
|
+
category?: string | null | undefined;
|
|
6889
|
+
qualityScore?: number | null | undefined;
|
|
6890
|
+
}[];
|
|
6891
|
+
total: number;
|
|
6892
|
+
pageCount: number;
|
|
6893
|
+
}>;
|
|
6894
|
+
/** Fetch skill detail by id. */
|
|
6895
|
+
readonly detail: (skillId: string) => Endpoint<{
|
|
6896
|
+
lang?: string | undefined;
|
|
6897
|
+
}, {
|
|
6898
|
+
id: string;
|
|
6899
|
+
folderName: string;
|
|
6900
|
+
name: string;
|
|
6901
|
+
description: string;
|
|
6902
|
+
tags: string[];
|
|
6903
|
+
repoLabel: string;
|
|
6904
|
+
isOfficial: boolean;
|
|
6905
|
+
downloadCount: number;
|
|
6906
|
+
rating: number;
|
|
6907
|
+
ratingCount: number;
|
|
6908
|
+
version: string;
|
|
6909
|
+
updatedAt: string;
|
|
6910
|
+
pathInRepo: string;
|
|
6911
|
+
repoUrl: string;
|
|
6912
|
+
fullContent: string;
|
|
6913
|
+
createdAt: string;
|
|
6914
|
+
summary?: string | undefined;
|
|
6915
|
+
icon?: string | undefined;
|
|
6916
|
+
category?: string | null | undefined;
|
|
6917
|
+
qualityScore?: number | null | undefined;
|
|
6918
|
+
}>;
|
|
6919
|
+
/** Batch check for updates. */
|
|
6920
|
+
readonly checkUpdates: Endpoint<{
|
|
6921
|
+
installed: {
|
|
6922
|
+
skillId: string;
|
|
6923
|
+
version: string;
|
|
6924
|
+
}[];
|
|
6925
|
+
}, {
|
|
6926
|
+
updates: {
|
|
6927
|
+
skillId: string;
|
|
6928
|
+
hasUpdate: boolean;
|
|
6929
|
+
}[];
|
|
6930
|
+
}>;
|
|
6931
|
+
/** Rate a skill. */
|
|
6932
|
+
readonly rate: (skillId: string) => Endpoint<{
|
|
6933
|
+
rating: number;
|
|
6934
|
+
comment?: string | undefined;
|
|
6935
|
+
}, {
|
|
6936
|
+
ok: boolean;
|
|
6937
|
+
rating: number | null;
|
|
6938
|
+
ratingCount: number;
|
|
6939
|
+
}>;
|
|
6940
|
+
};
|
|
6941
|
+
|
|
6942
|
+
/** A single skill entry in the marketplace list. */
|
|
6943
|
+
declare const marketSkillEntrySchema: z.ZodObject<{
|
|
6944
|
+
id: z.ZodString;
|
|
6945
|
+
folderName: z.ZodString;
|
|
6946
|
+
name: z.ZodString;
|
|
6947
|
+
description: z.ZodString;
|
|
6948
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6949
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
6950
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6951
|
+
tags: z.ZodArray<z.ZodString>;
|
|
6952
|
+
repoLabel: z.ZodString;
|
|
6953
|
+
isOfficial: z.ZodBoolean;
|
|
6954
|
+
qualityScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6955
|
+
downloadCount: z.ZodNumber;
|
|
6956
|
+
rating: z.ZodNumber;
|
|
6957
|
+
ratingCount: z.ZodNumber;
|
|
6958
|
+
version: z.ZodString;
|
|
6959
|
+
updatedAt: z.ZodString;
|
|
6960
|
+
}, z.core.$strip>;
|
|
6961
|
+
/** Request schema for listing marketplace skills. */
|
|
6962
|
+
declare const skillMarketListRequestSchema: z.ZodObject<{
|
|
6963
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
6964
|
+
category: z.ZodOptional<z.ZodString>;
|
|
6965
|
+
search: z.ZodOptional<z.ZodString>;
|
|
6966
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
6967
|
+
rating: "rating";
|
|
6968
|
+
popular: "popular";
|
|
6969
|
+
newest: "newest";
|
|
6970
|
+
}>>;
|
|
6971
|
+
repoId: z.ZodOptional<z.ZodString>;
|
|
6972
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
6973
|
+
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
6974
|
+
}, z.core.$strip>;
|
|
6975
|
+
/** Response schema for listing marketplace skills. */
|
|
6976
|
+
declare const skillMarketListResponseSchema: z.ZodObject<{
|
|
6977
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
6978
|
+
id: z.ZodString;
|
|
6979
|
+
folderName: z.ZodString;
|
|
6980
|
+
name: z.ZodString;
|
|
6981
|
+
description: z.ZodString;
|
|
6982
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6983
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
6984
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6985
|
+
tags: z.ZodArray<z.ZodString>;
|
|
6986
|
+
repoLabel: z.ZodString;
|
|
6987
|
+
isOfficial: z.ZodBoolean;
|
|
6988
|
+
qualityScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6989
|
+
downloadCount: z.ZodNumber;
|
|
6990
|
+
rating: z.ZodNumber;
|
|
6991
|
+
ratingCount: z.ZodNumber;
|
|
6992
|
+
version: z.ZodString;
|
|
6993
|
+
updatedAt: z.ZodString;
|
|
6994
|
+
}, z.core.$strip>>;
|
|
6995
|
+
total: z.ZodNumber;
|
|
6996
|
+
pageCount: z.ZodNumber;
|
|
6997
|
+
}, z.core.$strip>;
|
|
6998
|
+
/** Response schema for a skill detail. */
|
|
6999
|
+
declare const skillMarketDetailResponseSchema: z.ZodObject<{
|
|
7000
|
+
id: z.ZodString;
|
|
7001
|
+
folderName: z.ZodString;
|
|
7002
|
+
name: z.ZodString;
|
|
7003
|
+
description: z.ZodString;
|
|
7004
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
7005
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
7006
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7007
|
+
tags: z.ZodArray<z.ZodString>;
|
|
7008
|
+
repoLabel: z.ZodString;
|
|
7009
|
+
isOfficial: z.ZodBoolean;
|
|
7010
|
+
qualityScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7011
|
+
downloadCount: z.ZodNumber;
|
|
7012
|
+
rating: z.ZodNumber;
|
|
7013
|
+
ratingCount: z.ZodNumber;
|
|
7014
|
+
version: z.ZodString;
|
|
7015
|
+
updatedAt: z.ZodString;
|
|
7016
|
+
pathInRepo: z.ZodString;
|
|
7017
|
+
repoUrl: z.ZodString;
|
|
7018
|
+
fullContent: z.ZodString;
|
|
7019
|
+
createdAt: z.ZodString;
|
|
7020
|
+
}, z.core.$strip>;
|
|
7021
|
+
/** Request schema for batch update check. */
|
|
7022
|
+
declare const skillMarketCheckUpdatesRequestSchema: z.ZodObject<{
|
|
7023
|
+
installed: z.ZodArray<z.ZodObject<{
|
|
7024
|
+
skillId: z.ZodString;
|
|
7025
|
+
version: z.ZodString;
|
|
7026
|
+
}, z.core.$strip>>;
|
|
7027
|
+
}, z.core.$strip>;
|
|
7028
|
+
/** Response schema for batch update check. */
|
|
7029
|
+
declare const skillMarketCheckUpdatesResponseSchema: z.ZodObject<{
|
|
7030
|
+
updates: z.ZodArray<z.ZodObject<{
|
|
7031
|
+
skillId: z.ZodString;
|
|
7032
|
+
hasUpdate: z.ZodBoolean;
|
|
7033
|
+
}, z.core.$strip>>;
|
|
7034
|
+
}, z.core.$strip>;
|
|
7035
|
+
/** Request schema for rating a skill. */
|
|
7036
|
+
declare const skillMarketRateRequestSchema: z.ZodObject<{
|
|
7037
|
+
rating: z.ZodNumber;
|
|
7038
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
7039
|
+
}, z.core.$strip>;
|
|
7040
|
+
/** Response schema for rating a skill. */
|
|
7041
|
+
declare const skillMarketRateResponseSchema: z.ZodObject<{
|
|
7042
|
+
ok: z.ZodBoolean;
|
|
7043
|
+
rating: z.ZodNullable<z.ZodNumber>;
|
|
7044
|
+
ratingCount: z.ZodNumber;
|
|
7045
|
+
}, z.core.$strip>;
|
|
7046
|
+
/** Market skill entry type. */
|
|
7047
|
+
type MarketSkillEntry = z.infer<typeof marketSkillEntrySchema>;
|
|
7048
|
+
/** List request type. */
|
|
7049
|
+
type SkillMarketListRequest = z.infer<typeof skillMarketListRequestSchema>;
|
|
7050
|
+
/** List response type. */
|
|
7051
|
+
type SkillMarketListResponse = z.infer<typeof skillMarketListResponseSchema>;
|
|
7052
|
+
/** Detail response type. */
|
|
7053
|
+
type SkillMarketDetailResponse = z.infer<typeof skillMarketDetailResponseSchema>;
|
|
7054
|
+
/** Check updates request type. */
|
|
7055
|
+
type SkillMarketCheckUpdatesRequest = z.infer<typeof skillMarketCheckUpdatesRequestSchema>;
|
|
7056
|
+
/** Check updates response type. */
|
|
7057
|
+
type SkillMarketCheckUpdatesResponse = z.infer<typeof skillMarketCheckUpdatesResponseSchema>;
|
|
7058
|
+
/** Rate request type. */
|
|
7059
|
+
type SkillMarketRateRequest = z.infer<typeof skillMarketRateRequestSchema>;
|
|
7060
|
+
/** Rate response type. */
|
|
7061
|
+
type SkillMarketRateResponse = z.infer<typeof skillMarketRateResponseSchema>;
|
|
7062
|
+
|
|
7063
|
+
type SkillMarketSdkHost = SdkHost<{
|
|
7064
|
+
skillMarket: typeof skillMarketEndpoints;
|
|
7065
|
+
}>;
|
|
7066
|
+
declare class SkillMarketClient {
|
|
7067
|
+
/** SDK host used for skill market requests. */
|
|
7068
|
+
private readonly sdk;
|
|
7069
|
+
/** Create skill market client. */
|
|
7070
|
+
constructor(sdk: SkillMarketSdkHost);
|
|
7071
|
+
/** List marketplace skills with optional filters. */
|
|
7072
|
+
list(params?: SkillMarketListRequest): Promise<SkillMarketListResponse>;
|
|
7073
|
+
/** Fetch skill detail by id. */
|
|
7074
|
+
detail(skillId: string, lang?: string): Promise<SkillMarketDetailResponse>;
|
|
7075
|
+
/**
|
|
7076
|
+
* Download a skill as ZIP archive.
|
|
7077
|
+
* Uses direct fetch (binary response, not JSON Endpoint validation).
|
|
7078
|
+
*/
|
|
7079
|
+
download(skillId: string, lang?: string): Promise<{
|
|
7080
|
+
data: ArrayBuffer;
|
|
7081
|
+
fileName: string;
|
|
7082
|
+
}>;
|
|
7083
|
+
/** Batch check for available updates. */
|
|
7084
|
+
checkUpdates(payload: SkillMarketCheckUpdatesRequest): Promise<SkillMarketCheckUpdatesResponse>;
|
|
7085
|
+
/** Rate a skill (1-5). */
|
|
7086
|
+
rate(skillId: string, rating: number, comment?: string): Promise<SkillMarketRateResponse>;
|
|
7087
|
+
}
|
|
7088
|
+
|
|
7089
|
+
type index$2_MarketSkillEntry = MarketSkillEntry;
|
|
7090
|
+
type index$2_SkillMarketCheckUpdatesRequest = SkillMarketCheckUpdatesRequest;
|
|
7091
|
+
type index$2_SkillMarketCheckUpdatesResponse = SkillMarketCheckUpdatesResponse;
|
|
7092
|
+
type index$2_SkillMarketClient = SkillMarketClient;
|
|
7093
|
+
declare const index$2_SkillMarketClient: typeof SkillMarketClient;
|
|
7094
|
+
type index$2_SkillMarketDetailResponse = SkillMarketDetailResponse;
|
|
7095
|
+
type index$2_SkillMarketListRequest = SkillMarketListRequest;
|
|
7096
|
+
type index$2_SkillMarketListResponse = SkillMarketListResponse;
|
|
7097
|
+
type index$2_SkillMarketRateRequest = SkillMarketRateRequest;
|
|
7098
|
+
type index$2_SkillMarketRateResponse = SkillMarketRateResponse;
|
|
7099
|
+
declare const index$2_marketSkillEntrySchema: typeof marketSkillEntrySchema;
|
|
7100
|
+
declare const index$2_skillMarketCheckUpdatesRequestSchema: typeof skillMarketCheckUpdatesRequestSchema;
|
|
7101
|
+
declare const index$2_skillMarketCheckUpdatesResponseSchema: typeof skillMarketCheckUpdatesResponseSchema;
|
|
7102
|
+
declare const index$2_skillMarketDetailResponseSchema: typeof skillMarketDetailResponseSchema;
|
|
7103
|
+
declare const index$2_skillMarketEndpoints: typeof skillMarketEndpoints;
|
|
7104
|
+
declare const index$2_skillMarketListRequestSchema: typeof skillMarketListRequestSchema;
|
|
7105
|
+
declare const index$2_skillMarketListResponseSchema: typeof skillMarketListResponseSchema;
|
|
7106
|
+
declare const index$2_skillMarketRateRequestSchema: typeof skillMarketRateRequestSchema;
|
|
7107
|
+
declare const index$2_skillMarketRateResponseSchema: typeof skillMarketRateResponseSchema;
|
|
6118
7108
|
declare namespace index$2 {
|
|
6119
|
-
export { index$
|
|
7109
|
+
export { type index$2_MarketSkillEntry as MarketSkillEntry, type index$2_SkillMarketCheckUpdatesRequest as SkillMarketCheckUpdatesRequest, type index$2_SkillMarketCheckUpdatesResponse as SkillMarketCheckUpdatesResponse, index$2_SkillMarketClient as SkillMarketClient, type index$2_SkillMarketDetailResponse as SkillMarketDetailResponse, type index$2_SkillMarketListRequest as SkillMarketListRequest, type index$2_SkillMarketListResponse as SkillMarketListResponse, type index$2_SkillMarketRateRequest as SkillMarketRateRequest, type index$2_SkillMarketRateResponse as SkillMarketRateResponse, index$2_marketSkillEntrySchema as marketSkillEntrySchema, index$2_skillMarketCheckUpdatesRequestSchema as skillMarketCheckUpdatesRequestSchema, index$2_skillMarketCheckUpdatesResponseSchema as skillMarketCheckUpdatesResponseSchema, index$2_skillMarketDetailResponseSchema as skillMarketDetailResponseSchema, index$2_skillMarketEndpoints as skillMarketEndpoints, index$2_skillMarketListRequestSchema as skillMarketListRequestSchema, index$2_skillMarketListResponseSchema as skillMarketListResponseSchema, index$2_skillMarketRateRequestSchema as skillMarketRateRequestSchema, index$2_skillMarketRateResponseSchema as skillMarketRateResponseSchema };
|
|
6120
7110
|
}
|
|
6121
7111
|
|
|
6122
7112
|
/** Skill market API endpoints. */
|
|
@@ -6540,7 +7530,7 @@ declare const userEndpoints: {
|
|
|
6540
7530
|
user: {
|
|
6541
7531
|
id: string;
|
|
6542
7532
|
provider: string;
|
|
6543
|
-
membershipLevel: "
|
|
7533
|
+
membershipLevel: "lite" | "pro" | "premium" | "free";
|
|
6544
7534
|
creditsBalance: number;
|
|
6545
7535
|
isAdmin: boolean;
|
|
6546
7536
|
createdAt: string;
|
|
@@ -6566,7 +7556,7 @@ declare class UserClient {
|
|
|
6566
7556
|
user: {
|
|
6567
7557
|
id: string;
|
|
6568
7558
|
provider: string;
|
|
6569
|
-
membershipLevel: "
|
|
7559
|
+
membershipLevel: "lite" | "pro" | "premium" | "free";
|
|
6570
7560
|
creditsBalance: number;
|
|
6571
7561
|
isAdmin: boolean;
|
|
6572
7562
|
createdAt: string;
|
|
@@ -6581,10 +7571,10 @@ declare class UserClient {
|
|
|
6581
7571
|
|
|
6582
7572
|
/** Membership level enum schema. */
|
|
6583
7573
|
declare const userMembershipLevelSchema: z.ZodEnum<{
|
|
6584
|
-
free: "free";
|
|
6585
7574
|
lite: "lite";
|
|
6586
7575
|
pro: "pro";
|
|
6587
7576
|
premium: "premium";
|
|
7577
|
+
free: "free";
|
|
6588
7578
|
}>;
|
|
6589
7579
|
/** Current user payload schema. */
|
|
6590
7580
|
declare const userSelfSchema: z.ZodObject<{
|
|
@@ -6594,10 +7584,10 @@ declare const userSelfSchema: z.ZodObject<{
|
|
|
6594
7584
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
6595
7585
|
provider: z.ZodString;
|
|
6596
7586
|
membershipLevel: z.ZodEnum<{
|
|
6597
|
-
free: "free";
|
|
6598
7587
|
lite: "lite";
|
|
6599
7588
|
pro: "pro";
|
|
6600
7589
|
premium: "premium";
|
|
7590
|
+
free: "free";
|
|
6601
7591
|
}>;
|
|
6602
7592
|
isInternal: z.ZodOptional<z.ZodBoolean>;
|
|
6603
7593
|
creditsBalance: z.ZodNumber;
|
|
@@ -6616,10 +7606,10 @@ declare const userSelfResponseSchema: z.ZodObject<{
|
|
|
6616
7606
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
6617
7607
|
provider: z.ZodString;
|
|
6618
7608
|
membershipLevel: z.ZodEnum<{
|
|
6619
|
-
free: "free";
|
|
6620
7609
|
lite: "lite";
|
|
6621
7610
|
pro: "pro";
|
|
6622
7611
|
premium: "premium";
|
|
7612
|
+
free: "free";
|
|
6623
7613
|
}>;
|
|
6624
7614
|
isInternal: z.ZodOptional<z.ZodBoolean>;
|
|
6625
7615
|
creditsBalance: z.ZodNumber;
|
|
@@ -6670,7 +7660,9 @@ declare class SaaSClient extends BaseSaaSClient<SaaSContract> {
|
|
|
6670
7660
|
readonly payment: PaymentClient;
|
|
6671
7661
|
/** Redeem code-related APIs. */
|
|
6672
7662
|
readonly redeemCode: RedeemCodeClient;
|
|
6673
|
-
/** Skill
|
|
7663
|
+
/** Skill marketplace APIs. */
|
|
7664
|
+
readonly skillMarket: SkillMarketClient;
|
|
7665
|
+
/** Skill management APIs. */
|
|
6674
7666
|
readonly skills: SkillsClient;
|
|
6675
7667
|
/** User-related APIs. */
|
|
6676
7668
|
readonly user: UserClient;
|
|
@@ -6719,4 +7711,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
|
|
|
6719
7711
|
transformer: false;
|
|
6720
7712
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
|
|
6721
7713
|
|
|
6722
|
-
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, RedeemCodeClient, type RedeemCodeRecordItem, type RedeemCodeRecordsRequest, type RedeemCodeRecordsResponse, type RedeemCodeRedeemRequest, type RedeemCodeRedeemResponse, type RedeemCodeSummary, 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 V3InputSlot, type V3ParamSchema, type V3QueueRequest, type V3QueueResponse, type V3QueueTicket, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3TaskSSEEvent, 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$
|
|
7714
|
+
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, RedeemCodeClient, type RedeemCodeRecordItem, type RedeemCodeRecordsRequest, type RedeemCodeRecordsResponse, type RedeemCodeRedeemRequest, type RedeemCodeRedeemResponse, type RedeemCodeSummary, 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 V3InputSlot, type V3ParamSchema, type V3QueueRequest, type V3QueueResponse, type V3QueueTicket, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3TaskSSEEvent, type V3TextGenerateRequest, type V3TextGenerateResponse, 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$9 as aiModule, aiProviderTemplateModelSchema, aiProviderTemplateSchema, aiProviderTemplatesPayloadSchema, aiProviderTemplatesRequestSchema, aiProviderTemplatesResponseSchema, aiProviderTemplatesSuccessSchema, aiResponsesRequestSchema, aiToolsEndpoints, index$8 as aiToolsModule, analyzeSkillsRequestSchema, analyzeSkillsResponseSchema, authEndpoints, authExchangeRequestSchema, authExchangeResponseSchema, authLogoutRequestSchema, authLogoutResponseSchema, index$7 as authModule, authRefreshErrorSchema, authRefreshRequestSchema, authRefreshResponseSchema, authRefreshSuccessSchema, authRefreshUserSchema, auxiliaryEndpoints, auxiliaryInferRequestSchema, auxiliaryInferResponseSchema, index$6 as auxiliaryModule, auxiliaryQuotaResponseSchema, contract, createEmbed, createPricingEmbed, createRechargeEmbed, createTrpcClient, feedbackDetailPayloadSchema, feedbackDetailRequestSchema, feedbackDetailResponseSchema, feedbackEndpoints, feedbackItemSchema, feedbackListPayloadSchema, feedbackListRequestSchema, feedbackListResponseSchema, index$5 as feedbackModule, feedbackSaasStatusSchema, feedbackSourceSchema, feedbackSubmitErrorSchema, feedbackSubmitRequestSchema, feedbackSubmitResponseSchema, feedbackTypeSchema, inputSlotSchema, mergeHeaders, normalizeHeaders, orderStatusRequestSchema, orderStatusResponseSchema, paramSchemaSchema, paymentEndpoints, index$4 as paymentModule, rechargeRequestSchema, rechargeResponseSchema, recommendActionsRequestSchema, recommendActionsResponseSchema, redeemCodeEndpoints, redeemCodeMembershipLevelSchema, index$3 as redeemCodeModule, redeemCodeRecordItemSchema, redeemCodeRecordsRequestSchema, redeemCodeRecordsResponseSchema, redeemCodeRedeemRequestSchema, redeemCodeRedeemResponseSchema, redeemCodeSummarySchema, refundRequestSchema, refundResponseSchema, request, skillArchiveFormatSchema, skillListItemSchema, index$2 as skillMarketModule, 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, v3TaskSSEEventSchema, v3TextGenerateRequestSchema, v3TextGenerateResponseSchema, v3UploadResponseSchema, v3VariantSchema };
|