@openloaf-saas/sdk 0.1.40 → 0.1.42

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 CHANGED
@@ -168,7 +168,7 @@ declare class SaaSContract {
168
168
  success: true;
169
169
  data: {
170
170
  category: string;
171
- features: {
171
+ features: ({
172
172
  id: string;
173
173
  displayName: string;
174
174
  description: string;
@@ -303,7 +303,122 @@ declare class SaaSContract {
303
303
  tags?: string[] | undefined;
304
304
  familyId?: string | undefined;
305
305
  }[];
306
- }[];
306
+ } | {
307
+ id: string;
308
+ displayName: string;
309
+ description: string;
310
+ endpoint: string;
311
+ creditsPerCall: number;
312
+ billingType: string;
313
+ minMembershipLevel: string;
314
+ executionMode: "sync";
315
+ inputSlots: {
316
+ role: string;
317
+ accept: "text" | "file" | "image" | "audio" | "video";
318
+ label: string;
319
+ key?: string | undefined;
320
+ required?: boolean | undefined;
321
+ minCount?: number | undefined;
322
+ maxCount?: number | undefined;
323
+ placeholder?: string | undefined;
324
+ multiline?: boolean | undefined;
325
+ minLength?: number | undefined;
326
+ maxLength?: number | undefined;
327
+ maxFileSize?: number | undefined;
328
+ acceptFormats?: string[] | undefined;
329
+ minResolution?: number | undefined;
330
+ maxResolution?: number | undefined;
331
+ minDuration?: number | undefined;
332
+ maxDuration?: number | undefined;
333
+ hint?: string | undefined;
334
+ sharedGroup?: string | undefined;
335
+ sharedMaxCount?: number | undefined;
336
+ }[];
337
+ paramsSchema: ({
338
+ key: string;
339
+ label: string;
340
+ type: "select";
341
+ default?: unknown;
342
+ group?: "primary" | "advanced" | undefined;
343
+ visibleWhen?: unknown;
344
+ clientOnly?: boolean | undefined;
345
+ hint?: string | undefined;
346
+ required?: boolean | undefined;
347
+ options?: {
348
+ value: string | number | boolean;
349
+ label: string;
350
+ thumbnail?: string | undefined;
351
+ }[] | undefined;
352
+ catalog?: string | undefined;
353
+ display?: "dropdown" | "grid" | "pills" | undefined;
354
+ searchable?: boolean | undefined;
355
+ } | {
356
+ key: string;
357
+ label: string;
358
+ type: "tab";
359
+ options: {
360
+ value: string | number | boolean;
361
+ label: string;
362
+ thumbnail?: string | undefined;
363
+ }[];
364
+ default?: unknown;
365
+ group?: "primary" | "advanced" | undefined;
366
+ visibleWhen?: unknown;
367
+ clientOnly?: boolean | undefined;
368
+ hint?: string | undefined;
369
+ required?: boolean | undefined;
370
+ } | {
371
+ key: string;
372
+ label: string;
373
+ type: "boolean";
374
+ default?: unknown;
375
+ group?: "primary" | "advanced" | undefined;
376
+ visibleWhen?: unknown;
377
+ clientOnly?: boolean | undefined;
378
+ hint?: string | undefined;
379
+ required?: boolean | undefined;
380
+ } | {
381
+ key: string;
382
+ label: string;
383
+ type: "text";
384
+ default?: unknown;
385
+ group?: "primary" | "advanced" | undefined;
386
+ visibleWhen?: unknown;
387
+ clientOnly?: boolean | undefined;
388
+ hint?: string | undefined;
389
+ required?: boolean | undefined;
390
+ multiline?: boolean | undefined;
391
+ placeholder?: string | undefined;
392
+ minLength?: number | undefined;
393
+ maxLength?: number | undefined;
394
+ } | {
395
+ key: string;
396
+ label: string;
397
+ type: "slider";
398
+ min: number;
399
+ max: number;
400
+ default?: unknown;
401
+ group?: "primary" | "advanced" | undefined;
402
+ visibleWhen?: unknown;
403
+ clientOnly?: boolean | undefined;
404
+ hint?: string | undefined;
405
+ required?: boolean | undefined;
406
+ step?: number | undefined;
407
+ } | {
408
+ key: string;
409
+ label: string;
410
+ type: "number";
411
+ default?: unknown;
412
+ group?: "primary" | "advanced" | undefined;
413
+ visibleWhen?: unknown;
414
+ clientOnly?: boolean | undefined;
415
+ hint?: string | undefined;
416
+ required?: boolean | undefined;
417
+ min?: number | undefined;
418
+ max?: number | undefined;
419
+ step?: number | undefined;
420
+ })[];
421
+ })[];
307
422
  updatedAt?: string | undefined;
308
423
  };
309
424
  }>;
@@ -311,7 +426,7 @@ declare class SaaSContract {
311
426
  success: true;
312
427
  data: {
313
428
  category: string;
314
- features: {
429
+ features: ({
315
430
  id: string;
316
431
  displayName: string;
317
432
  description: string;
@@ -446,7 +561,122 @@ declare class SaaSContract {
446
561
  tags?: string[] | undefined;
447
562
  familyId?: string | undefined;
448
563
  }[];
449
- }[];
564
+ } | {
565
+ id: string;
566
+ displayName: string;
567
+ description: string;
568
+ endpoint: string;
569
+ creditsPerCall: number;
570
+ billingType: string;
571
+ minMembershipLevel: string;
572
+ executionMode: "sync";
573
+ inputSlots: {
574
+ role: string;
575
+ accept: "text" | "file" | "image" | "audio" | "video";
576
+ label: string;
577
+ key?: string | undefined;
578
+ required?: boolean | undefined;
579
+ minCount?: number | undefined;
580
+ maxCount?: number | undefined;
581
+ placeholder?: string | undefined;
582
+ multiline?: boolean | undefined;
583
+ minLength?: number | undefined;
584
+ maxLength?: number | undefined;
585
+ maxFileSize?: number | undefined;
586
+ acceptFormats?: string[] | undefined;
587
+ minResolution?: number | undefined;
588
+ maxResolution?: number | undefined;
589
+ minDuration?: number | undefined;
590
+ maxDuration?: number | undefined;
591
+ hint?: string | undefined;
592
+ sharedGroup?: string | undefined;
593
+ sharedMaxCount?: number | undefined;
594
+ }[];
595
+ paramsSchema: ({
596
+ key: string;
597
+ label: string;
598
+ type: "select";
599
+ default?: unknown;
600
+ group?: "primary" | "advanced" | undefined;
601
+ visibleWhen?: unknown;
602
+ clientOnly?: boolean | undefined;
603
+ hint?: string | undefined;
604
+ required?: boolean | undefined;
605
+ options?: {
606
+ value: string | number | boolean;
607
+ label: string;
608
+ thumbnail?: string | undefined;
609
+ }[] | undefined;
610
+ catalog?: string | undefined;
611
+ display?: "dropdown" | "grid" | "pills" | undefined;
612
+ searchable?: boolean | undefined;
613
+ } | {
614
+ key: string;
615
+ label: string;
616
+ type: "tab";
617
+ options: {
618
+ value: string | number | boolean;
619
+ label: string;
620
+ thumbnail?: string | undefined;
621
+ }[];
622
+ default?: unknown;
623
+ group?: "primary" | "advanced" | undefined;
624
+ visibleWhen?: unknown;
625
+ clientOnly?: boolean | undefined;
626
+ hint?: string | undefined;
627
+ required?: boolean | undefined;
628
+ } | {
629
+ key: string;
630
+ label: string;
631
+ type: "boolean";
632
+ default?: unknown;
633
+ group?: "primary" | "advanced" | undefined;
634
+ visibleWhen?: unknown;
635
+ clientOnly?: boolean | undefined;
636
+ hint?: string | undefined;
637
+ required?: boolean | undefined;
638
+ } | {
639
+ key: string;
640
+ label: string;
641
+ type: "text";
642
+ default?: unknown;
643
+ group?: "primary" | "advanced" | undefined;
644
+ visibleWhen?: unknown;
645
+ clientOnly?: boolean | undefined;
646
+ hint?: string | undefined;
647
+ required?: boolean | undefined;
648
+ multiline?: boolean | undefined;
649
+ placeholder?: string | undefined;
650
+ minLength?: number | undefined;
651
+ maxLength?: number | undefined;
652
+ } | {
653
+ key: string;
654
+ label: string;
655
+ type: "slider";
656
+ min: number;
657
+ max: number;
658
+ default?: unknown;
659
+ group?: "primary" | "advanced" | undefined;
660
+ visibleWhen?: unknown;
661
+ clientOnly?: boolean | undefined;
662
+ hint?: string | undefined;
663
+ required?: boolean | undefined;
664
+ step?: number | undefined;
665
+ } | {
666
+ key: string;
667
+ label: string;
668
+ type: "number";
669
+ default?: unknown;
670
+ group?: "primary" | "advanced" | undefined;
671
+ visibleWhen?: unknown;
672
+ clientOnly?: boolean | undefined;
673
+ hint?: string | undefined;
674
+ required?: boolean | undefined;
675
+ min?: number | undefined;
676
+ max?: number | undefined;
677
+ step?: number | undefined;
678
+ })[];
679
+ })[];
450
680
  updatedAt?: string | undefined;
451
681
  };
452
682
  }>;
@@ -454,7 +684,7 @@ declare class SaaSContract {
454
684
  success: true;
455
685
  data: {
456
686
  category: string;
457
- features: {
687
+ features: ({
458
688
  id: string;
459
689
  displayName: string;
460
690
  description: string;
@@ -589,34 +819,149 @@ declare class SaaSContract {
589
819
  tags?: string[] | undefined;
590
820
  familyId?: string | undefined;
591
821
  }[];
592
- }[];
593
- updatedAt?: string | undefined;
594
- };
595
- }>;
596
- readonly v3TextCapabilities: Endpoint<void, {
597
- success: true;
598
- data: {
599
- category: string;
600
- features: {
822
+ } | {
601
823
  id: string;
602
824
  displayName: string;
603
825
  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;
826
+ endpoint: string;
827
+ creditsPerCall: number;
828
+ billingType: string;
829
+ minMembershipLevel: string;
830
+ executionMode: "sync";
831
+ inputSlots: {
832
+ role: string;
833
+ accept: "text" | "file" | "image" | "audio" | "video";
834
+ label: string;
835
+ key?: string | undefined;
836
+ required?: boolean | undefined;
837
+ minCount?: number | undefined;
838
+ maxCount?: number | undefined;
839
+ placeholder?: string | undefined;
840
+ multiline?: boolean | undefined;
841
+ minLength?: number | undefined;
842
+ maxLength?: number | undefined;
843
+ maxFileSize?: number | undefined;
844
+ acceptFormats?: string[] | undefined;
845
+ minResolution?: number | undefined;
846
+ maxResolution?: number | undefined;
847
+ minDuration?: number | undefined;
848
+ maxDuration?: number | undefined;
849
+ hint?: string | undefined;
850
+ sharedGroup?: string | undefined;
851
+ sharedMaxCount?: number | undefined;
852
+ }[];
853
+ paramsSchema: ({
854
+ key: string;
855
+ label: string;
856
+ type: "select";
857
+ default?: unknown;
858
+ group?: "primary" | "advanced" | undefined;
859
+ visibleWhen?: unknown;
860
+ clientOnly?: boolean | undefined;
861
+ hint?: string | undefined;
862
+ required?: boolean | undefined;
863
+ options?: {
864
+ value: string | number | boolean;
865
+ label: string;
866
+ thumbnail?: string | undefined;
867
+ }[] | undefined;
868
+ catalog?: string | undefined;
869
+ display?: "dropdown" | "grid" | "pills" | undefined;
870
+ searchable?: boolean | undefined;
871
+ } | {
872
+ key: string;
873
+ label: string;
874
+ type: "tab";
875
+ options: {
876
+ value: string | number | boolean;
877
+ label: string;
878
+ thumbnail?: string | undefined;
879
+ }[];
880
+ default?: unknown;
881
+ group?: "primary" | "advanced" | undefined;
882
+ visibleWhen?: unknown;
883
+ clientOnly?: boolean | undefined;
884
+ hint?: string | undefined;
885
+ required?: boolean | undefined;
886
+ } | {
887
+ key: string;
888
+ label: string;
889
+ type: "boolean";
890
+ default?: unknown;
891
+ group?: "primary" | "advanced" | undefined;
892
+ visibleWhen?: unknown;
893
+ clientOnly?: boolean | undefined;
894
+ hint?: string | undefined;
895
+ required?: boolean | undefined;
896
+ } | {
897
+ key: string;
898
+ label: string;
899
+ type: "text";
900
+ default?: unknown;
901
+ group?: "primary" | "advanced" | undefined;
902
+ visibleWhen?: unknown;
903
+ clientOnly?: boolean | undefined;
904
+ hint?: string | undefined;
905
+ required?: boolean | undefined;
906
+ multiline?: boolean | undefined;
907
+ placeholder?: string | undefined;
908
+ minLength?: number | undefined;
909
+ maxLength?: number | undefined;
910
+ } | {
911
+ key: string;
912
+ label: string;
913
+ type: "slider";
914
+ min: number;
915
+ max: number;
916
+ default?: unknown;
917
+ group?: "primary" | "advanced" | undefined;
918
+ visibleWhen?: unknown;
919
+ clientOnly?: boolean | undefined;
920
+ hint?: string | undefined;
921
+ required?: boolean | undefined;
922
+ step?: number | undefined;
923
+ } | {
924
+ key: string;
925
+ label: string;
926
+ type: "number";
927
+ default?: unknown;
928
+ group?: "primary" | "advanced" | undefined;
929
+ visibleWhen?: unknown;
930
+ clientOnly?: boolean | undefined;
931
+ hint?: string | undefined;
932
+ required?: boolean | undefined;
933
+ min?: number | undefined;
934
+ max?: number | undefined;
935
+ step?: number | undefined;
936
+ })[];
937
+ })[];
938
+ updatedAt?: string | undefined;
939
+ };
940
+ }>;
941
+ readonly v3TextCapabilities: Endpoint<void, {
942
+ success: true;
943
+ data: {
944
+ category: string;
945
+ features: ({
946
+ id: string;
947
+ displayName: string;
948
+ description: string;
949
+ variants: {
950
+ id: string;
951
+ featureTabName: string;
952
+ creditsPerCall: number;
953
+ billingType: string;
954
+ minMembershipLevel: string;
955
+ maxBatchSize: number;
956
+ resourceConstraints: {
957
+ maxFileSize: number;
958
+ maxFiles: number;
959
+ acceptedFormats: string[];
960
+ requiresUpload: boolean;
961
+ maxResolution?: number | undefined;
962
+ precheck?: {
963
+ type: string;
964
+ description: string;
620
965
  } | undefined;
621
966
  } | null;
622
967
  resultType: "text" | "image" | "audio" | "video";
@@ -732,7 +1077,122 @@ declare class SaaSContract {
732
1077
  tags?: string[] | undefined;
733
1078
  familyId?: string | undefined;
734
1079
  }[];
735
- }[];
1080
+ } | {
1081
+ id: string;
1082
+ displayName: string;
1083
+ description: string;
1084
+ endpoint: string;
1085
+ creditsPerCall: number;
1086
+ billingType: string;
1087
+ minMembershipLevel: string;
1088
+ executionMode: "sync";
1089
+ inputSlots: {
1090
+ role: string;
1091
+ accept: "text" | "file" | "image" | "audio" | "video";
1092
+ label: string;
1093
+ key?: string | undefined;
1094
+ required?: boolean | undefined;
1095
+ minCount?: number | undefined;
1096
+ maxCount?: number | undefined;
1097
+ placeholder?: string | undefined;
1098
+ multiline?: boolean | undefined;
1099
+ minLength?: number | undefined;
1100
+ maxLength?: number | undefined;
1101
+ maxFileSize?: number | undefined;
1102
+ acceptFormats?: string[] | undefined;
1103
+ minResolution?: number | undefined;
1104
+ maxResolution?: number | undefined;
1105
+ minDuration?: number | undefined;
1106
+ maxDuration?: number | undefined;
1107
+ hint?: string | undefined;
1108
+ sharedGroup?: string | undefined;
1109
+ sharedMaxCount?: number | undefined;
1110
+ }[];
1111
+ paramsSchema: ({
1112
+ key: string;
1113
+ label: string;
1114
+ type: "select";
1115
+ default?: unknown;
1116
+ group?: "primary" | "advanced" | undefined;
1117
+ visibleWhen?: unknown;
1118
+ clientOnly?: boolean | undefined;
1119
+ hint?: string | undefined;
1120
+ required?: boolean | undefined;
1121
+ options?: {
1122
+ value: string | number | boolean;
1123
+ label: string;
1124
+ thumbnail?: string | undefined;
1125
+ }[] | undefined;
1126
+ catalog?: string | undefined;
1127
+ display?: "dropdown" | "grid" | "pills" | undefined;
1128
+ searchable?: boolean | undefined;
1129
+ } | {
1130
+ key: string;
1131
+ label: string;
1132
+ type: "tab";
1133
+ options: {
1134
+ value: string | number | boolean;
1135
+ label: string;
1136
+ thumbnail?: string | undefined;
1137
+ }[];
1138
+ default?: unknown;
1139
+ group?: "primary" | "advanced" | undefined;
1140
+ visibleWhen?: unknown;
1141
+ clientOnly?: boolean | undefined;
1142
+ hint?: string | undefined;
1143
+ required?: boolean | undefined;
1144
+ } | {
1145
+ key: string;
1146
+ label: string;
1147
+ type: "boolean";
1148
+ default?: unknown;
1149
+ group?: "primary" | "advanced" | undefined;
1150
+ visibleWhen?: unknown;
1151
+ clientOnly?: boolean | undefined;
1152
+ hint?: string | undefined;
1153
+ required?: boolean | undefined;
1154
+ } | {
1155
+ key: string;
1156
+ label: string;
1157
+ type: "text";
1158
+ default?: unknown;
1159
+ group?: "primary" | "advanced" | undefined;
1160
+ visibleWhen?: unknown;
1161
+ clientOnly?: boolean | undefined;
1162
+ hint?: string | undefined;
1163
+ required?: boolean | undefined;
1164
+ multiline?: boolean | undefined;
1165
+ placeholder?: string | undefined;
1166
+ minLength?: number | undefined;
1167
+ maxLength?: number | undefined;
1168
+ } | {
1169
+ key: string;
1170
+ label: string;
1171
+ type: "slider";
1172
+ min: number;
1173
+ max: number;
1174
+ default?: unknown;
1175
+ group?: "primary" | "advanced" | undefined;
1176
+ visibleWhen?: unknown;
1177
+ clientOnly?: boolean | undefined;
1178
+ hint?: string | undefined;
1179
+ required?: boolean | undefined;
1180
+ step?: number | undefined;
1181
+ } | {
1182
+ key: string;
1183
+ label: string;
1184
+ type: "number";
1185
+ default?: unknown;
1186
+ group?: "primary" | "advanced" | undefined;
1187
+ visibleWhen?: unknown;
1188
+ clientOnly?: boolean | undefined;
1189
+ hint?: string | undefined;
1190
+ required?: boolean | undefined;
1191
+ min?: number | undefined;
1192
+ max?: number | undefined;
1193
+ step?: number | undefined;
1194
+ })[];
1195
+ })[];
736
1196
  updatedAt?: string | undefined;
737
1197
  };
738
1198
  }>;
@@ -740,7 +1200,7 @@ declare class SaaSContract {
740
1200
  success: true;
741
1201
  data: {
742
1202
  category: string;
743
- features: {
1203
+ features: ({
744
1204
  id: string;
745
1205
  displayName: string;
746
1206
  description: string;
@@ -875,170 +1335,265 @@ declare class SaaSContract {
875
1335
  tags?: string[] | undefined;
876
1336
  familyId?: string | undefined;
877
1337
  }[];
878
- }[];
879
- updatedAt?: string | undefined;
880
- };
881
- }>;
882
- readonly v3ToolsCapabilities: Endpoint<void, {
883
- success: true;
884
- data: {
885
- category: string;
886
- features: {
1338
+ } | {
887
1339
  id: string;
888
1340
  displayName: string;
889
1341
  description: string;
890
- variants: {
891
- id: string;
892
- featureTabName: string;
893
- creditsPerCall: number;
894
- billingType: string;
895
- minMembershipLevel: string;
896
- maxBatchSize: number;
897
- resourceConstraints: {
898
- maxFileSize: number;
899
- maxFiles: number;
900
- acceptedFormats: string[];
901
- requiresUpload: boolean;
902
- maxResolution?: number | undefined;
903
- precheck?: {
904
- type: string;
905
- description: string;
906
- } | undefined;
907
- } | null;
908
- resultType: "text" | "image" | "audio" | "video";
909
- isAsync: boolean;
910
- paramsSchema: ({
911
- key: string;
912
- label: string;
913
- type: "select";
914
- default?: unknown;
915
- group?: "primary" | "advanced" | undefined;
916
- visibleWhen?: unknown;
917
- clientOnly?: boolean | undefined;
918
- hint?: string | undefined;
919
- required?: boolean | undefined;
920
- options?: {
921
- value: string | number | boolean;
922
- label: string;
923
- thumbnail?: string | undefined;
924
- }[] | undefined;
925
- catalog?: string | undefined;
926
- display?: "dropdown" | "grid" | "pills" | undefined;
927
- searchable?: boolean | undefined;
928
- } | {
929
- key: string;
930
- label: string;
931
- type: "tab";
932
- options: {
933
- value: string | number | boolean;
934
- label: string;
935
- thumbnail?: string | undefined;
936
- }[];
937
- default?: unknown;
938
- group?: "primary" | "advanced" | undefined;
939
- visibleWhen?: unknown;
940
- clientOnly?: boolean | undefined;
941
- hint?: string | undefined;
942
- required?: boolean | undefined;
943
- } | {
944
- key: string;
945
- label: string;
946
- type: "boolean";
947
- default?: unknown;
948
- group?: "primary" | "advanced" | undefined;
949
- visibleWhen?: unknown;
950
- clientOnly?: boolean | undefined;
951
- hint?: string | undefined;
952
- required?: boolean | undefined;
953
- } | {
954
- key: string;
955
- label: string;
956
- type: "text";
957
- default?: unknown;
958
- group?: "primary" | "advanced" | undefined;
959
- visibleWhen?: unknown;
960
- clientOnly?: boolean | undefined;
961
- hint?: string | undefined;
962
- required?: boolean | undefined;
963
- multiline?: boolean | undefined;
964
- placeholder?: string | undefined;
965
- minLength?: number | undefined;
966
- maxLength?: number | undefined;
967
- } | {
968
- key: string;
969
- label: string;
970
- type: "slider";
971
- min: number;
972
- max: number;
973
- default?: unknown;
974
- group?: "primary" | "advanced" | undefined;
975
- visibleWhen?: unknown;
976
- clientOnly?: boolean | undefined;
977
- hint?: string | undefined;
978
- required?: boolean | undefined;
979
- step?: number | undefined;
980
- } | {
981
- key: string;
1342
+ endpoint: string;
1343
+ creditsPerCall: number;
1344
+ billingType: string;
1345
+ minMembershipLevel: string;
1346
+ executionMode: "sync";
1347
+ inputSlots: {
1348
+ role: string;
1349
+ accept: "text" | "file" | "image" | "audio" | "video";
1350
+ label: string;
1351
+ key?: string | undefined;
1352
+ required?: boolean | undefined;
1353
+ minCount?: number | undefined;
1354
+ maxCount?: number | undefined;
1355
+ placeholder?: string | undefined;
1356
+ multiline?: boolean | undefined;
1357
+ minLength?: number | undefined;
1358
+ maxLength?: number | undefined;
1359
+ maxFileSize?: number | undefined;
1360
+ acceptFormats?: string[] | undefined;
1361
+ minResolution?: number | undefined;
1362
+ maxResolution?: number | undefined;
1363
+ minDuration?: number | undefined;
1364
+ maxDuration?: number | undefined;
1365
+ hint?: string | undefined;
1366
+ sharedGroup?: string | undefined;
1367
+ sharedMaxCount?: number | undefined;
1368
+ }[];
1369
+ paramsSchema: ({
1370
+ key: string;
1371
+ label: string;
1372
+ type: "select";
1373
+ default?: unknown;
1374
+ group?: "primary" | "advanced" | undefined;
1375
+ visibleWhen?: unknown;
1376
+ clientOnly?: boolean | undefined;
1377
+ hint?: string | undefined;
1378
+ required?: boolean | undefined;
1379
+ options?: {
1380
+ value: string | number | boolean;
982
1381
  label: string;
983
- type: "number";
984
- default?: unknown;
985
- group?: "primary" | "advanced" | undefined;
986
- visibleWhen?: unknown;
987
- clientOnly?: boolean | undefined;
988
- hint?: string | undefined;
989
- required?: boolean | undefined;
990
- min?: number | undefined;
991
- max?: number | undefined;
992
- step?: number | undefined;
993
- })[];
994
- inputSlots: {
995
- role: string;
996
- accept: "text" | "file" | "image" | "audio" | "video";
1382
+ thumbnail?: string | undefined;
1383
+ }[] | undefined;
1384
+ catalog?: string | undefined;
1385
+ display?: "dropdown" | "grid" | "pills" | undefined;
1386
+ searchable?: boolean | undefined;
1387
+ } | {
1388
+ key: string;
1389
+ label: string;
1390
+ type: "tab";
1391
+ options: {
1392
+ value: string | number | boolean;
997
1393
  label: string;
998
- key?: string | undefined;
999
- required?: boolean | undefined;
1000
- minCount?: number | undefined;
1001
- maxCount?: number | undefined;
1002
- placeholder?: string | undefined;
1003
- multiline?: boolean | undefined;
1004
- minLength?: number | undefined;
1005
- maxLength?: number | undefined;
1006
- maxFileSize?: number | undefined;
1007
- acceptFormats?: string[] | undefined;
1008
- minResolution?: number | undefined;
1009
- maxResolution?: number | undefined;
1010
- minDuration?: number | undefined;
1011
- maxDuration?: number | undefined;
1012
- hint?: string | undefined;
1013
- sharedGroup?: string | undefined;
1014
- sharedMaxCount?: number | undefined;
1394
+ thumbnail?: string | undefined;
1015
1395
  }[];
1016
- executionMode?: "task" | "streaming" | "sync" | undefined;
1017
- endpoint?: string | undefined;
1018
- tags?: string[] | undefined;
1019
- familyId?: string | undefined;
1020
- }[];
1021
- }[];
1396
+ default?: unknown;
1397
+ group?: "primary" | "advanced" | undefined;
1398
+ visibleWhen?: unknown;
1399
+ clientOnly?: boolean | undefined;
1400
+ hint?: string | undefined;
1401
+ required?: boolean | undefined;
1402
+ } | {
1403
+ key: string;
1404
+ label: string;
1405
+ type: "boolean";
1406
+ default?: unknown;
1407
+ group?: "primary" | "advanced" | undefined;
1408
+ visibleWhen?: unknown;
1409
+ clientOnly?: boolean | undefined;
1410
+ hint?: string | undefined;
1411
+ required?: boolean | undefined;
1412
+ } | {
1413
+ key: string;
1414
+ label: string;
1415
+ type: "text";
1416
+ default?: unknown;
1417
+ group?: "primary" | "advanced" | undefined;
1418
+ visibleWhen?: unknown;
1419
+ clientOnly?: boolean | undefined;
1420
+ hint?: string | undefined;
1421
+ required?: boolean | undefined;
1422
+ multiline?: boolean | undefined;
1423
+ placeholder?: string | undefined;
1424
+ minLength?: number | undefined;
1425
+ maxLength?: number | undefined;
1426
+ } | {
1427
+ key: string;
1428
+ label: string;
1429
+ type: "slider";
1430
+ min: number;
1431
+ max: number;
1432
+ default?: unknown;
1433
+ group?: "primary" | "advanced" | undefined;
1434
+ visibleWhen?: unknown;
1435
+ clientOnly?: boolean | undefined;
1436
+ hint?: string | undefined;
1437
+ required?: boolean | undefined;
1438
+ step?: number | undefined;
1439
+ } | {
1440
+ key: string;
1441
+ label: string;
1442
+ type: "number";
1443
+ default?: unknown;
1444
+ group?: "primary" | "advanced" | undefined;
1445
+ visibleWhen?: unknown;
1446
+ clientOnly?: boolean | undefined;
1447
+ hint?: string | undefined;
1448
+ required?: boolean | undefined;
1449
+ min?: number | undefined;
1450
+ max?: number | undefined;
1451
+ step?: number | undefined;
1452
+ })[];
1453
+ })[];
1022
1454
  updatedAt?: string | undefined;
1023
1455
  };
1024
1456
  }>;
1025
- readonly v3CapabilitiesOverview: Endpoint<{
1026
- category?: "text" | "image" | "audio" | "video" | "tools" | undefined;
1027
- } | undefined, {
1457
+ readonly v3ToolsCapabilities: Endpoint<void, {
1028
1458
  success: true;
1029
1459
  data: {
1030
- feature: string;
1031
- description: string;
1032
- category: string;
1033
- variants: {
1460
+ category: "tools";
1461
+ features: {
1034
1462
  id: string;
1035
- name: string;
1463
+ displayName: string;
1036
1464
  description: string;
1037
- }[];
1038
- }[];
1039
- }>;
1040
- readonly v3CapabilitiesDetail: (variantId: string) => Endpoint<void, {
1041
- success: true;
1465
+ endpoint: string;
1466
+ creditsPerCall: number;
1467
+ billingType: string;
1468
+ minMembershipLevel: string;
1469
+ executionMode: "sync";
1470
+ inputSlots: {
1471
+ role: string;
1472
+ accept: "text" | "file" | "image" | "audio" | "video";
1473
+ label: string;
1474
+ key?: string | undefined;
1475
+ required?: boolean | undefined;
1476
+ minCount?: number | undefined;
1477
+ maxCount?: number | undefined;
1478
+ placeholder?: string | undefined;
1479
+ multiline?: boolean | undefined;
1480
+ minLength?: number | undefined;
1481
+ maxLength?: number | undefined;
1482
+ maxFileSize?: number | undefined;
1483
+ acceptFormats?: string[] | undefined;
1484
+ minResolution?: number | undefined;
1485
+ maxResolution?: number | undefined;
1486
+ minDuration?: number | undefined;
1487
+ maxDuration?: number | undefined;
1488
+ hint?: string | undefined;
1489
+ sharedGroup?: string | undefined;
1490
+ sharedMaxCount?: number | undefined;
1491
+ }[];
1492
+ paramsSchema: ({
1493
+ key: string;
1494
+ label: string;
1495
+ type: "select";
1496
+ default?: unknown;
1497
+ group?: "primary" | "advanced" | undefined;
1498
+ visibleWhen?: unknown;
1499
+ clientOnly?: boolean | undefined;
1500
+ hint?: string | undefined;
1501
+ required?: boolean | undefined;
1502
+ options?: {
1503
+ value: string | number | boolean;
1504
+ label: string;
1505
+ thumbnail?: string | undefined;
1506
+ }[] | undefined;
1507
+ catalog?: string | undefined;
1508
+ display?: "dropdown" | "grid" | "pills" | undefined;
1509
+ searchable?: boolean | undefined;
1510
+ } | {
1511
+ key: string;
1512
+ label: string;
1513
+ type: "tab";
1514
+ options: {
1515
+ value: string | number | boolean;
1516
+ label: string;
1517
+ thumbnail?: string | undefined;
1518
+ }[];
1519
+ default?: unknown;
1520
+ group?: "primary" | "advanced" | undefined;
1521
+ visibleWhen?: unknown;
1522
+ clientOnly?: boolean | undefined;
1523
+ hint?: string | undefined;
1524
+ required?: boolean | undefined;
1525
+ } | {
1526
+ key: string;
1527
+ label: string;
1528
+ type: "boolean";
1529
+ default?: unknown;
1530
+ group?: "primary" | "advanced" | undefined;
1531
+ visibleWhen?: unknown;
1532
+ clientOnly?: boolean | undefined;
1533
+ hint?: string | undefined;
1534
+ required?: boolean | undefined;
1535
+ } | {
1536
+ key: string;
1537
+ label: string;
1538
+ type: "text";
1539
+ default?: unknown;
1540
+ group?: "primary" | "advanced" | undefined;
1541
+ visibleWhen?: unknown;
1542
+ clientOnly?: boolean | undefined;
1543
+ hint?: string | undefined;
1544
+ required?: boolean | undefined;
1545
+ multiline?: boolean | undefined;
1546
+ placeholder?: string | undefined;
1547
+ minLength?: number | undefined;
1548
+ maxLength?: number | undefined;
1549
+ } | {
1550
+ key: string;
1551
+ label: string;
1552
+ type: "slider";
1553
+ min: number;
1554
+ max: number;
1555
+ default?: unknown;
1556
+ group?: "primary" | "advanced" | undefined;
1557
+ visibleWhen?: unknown;
1558
+ clientOnly?: boolean | undefined;
1559
+ hint?: string | undefined;
1560
+ required?: boolean | undefined;
1561
+ step?: number | undefined;
1562
+ } | {
1563
+ key: string;
1564
+ label: string;
1565
+ type: "number";
1566
+ default?: unknown;
1567
+ group?: "primary" | "advanced" | undefined;
1568
+ visibleWhen?: unknown;
1569
+ clientOnly?: boolean | undefined;
1570
+ hint?: string | undefined;
1571
+ required?: boolean | undefined;
1572
+ min?: number | undefined;
1573
+ max?: number | undefined;
1574
+ step?: number | undefined;
1575
+ })[];
1576
+ }[];
1577
+ updatedAt?: string | undefined;
1578
+ };
1579
+ }>;
1580
+ readonly v3CapabilitiesOverview: Endpoint<{
1581
+ category?: "text" | "image" | "audio" | "video" | "tools" | undefined;
1582
+ } | undefined, {
1583
+ success: true;
1584
+ data: {
1585
+ feature: string;
1586
+ description: string;
1587
+ category: string;
1588
+ variants: {
1589
+ id: string;
1590
+ name: string;
1591
+ description: string;
1592
+ }[];
1593
+ }[];
1594
+ }>;
1595
+ readonly v3CapabilitiesDetail: (variantId: string) => Endpoint<void, {
1596
+ success: true;
1042
1597
  data: {
1043
1598
  feature: string;
1044
1599
  featureDescription: string;
@@ -1192,7 +1747,7 @@ declare class SaaSContract {
1192
1747
  }>;
1193
1748
  readonly v3ToolExecute: Endpoint<{
1194
1749
  feature: string;
1195
- variant: string;
1750
+ variant?: string | undefined;
1196
1751
  inputs?: Record<string, unknown> | undefined;
1197
1752
  params?: Record<string, unknown> | undefined;
1198
1753
  }, {
@@ -1821,7 +2376,7 @@ declare const aiEndpoints: {
1821
2376
  success: true;
1822
2377
  data: {
1823
2378
  category: string;
1824
- features: {
2379
+ features: ({
1825
2380
  id: string;
1826
2381
  displayName: string;
1827
2382
  description: string;
@@ -1956,7 +2511,122 @@ declare const aiEndpoints: {
1956
2511
  tags?: string[] | undefined;
1957
2512
  familyId?: string | undefined;
1958
2513
  }[];
1959
- }[];
2514
+ } | {
2515
+ id: string;
2516
+ displayName: string;
2517
+ description: string;
2518
+ endpoint: string;
2519
+ creditsPerCall: number;
2520
+ billingType: string;
2521
+ minMembershipLevel: string;
2522
+ executionMode: "sync";
2523
+ inputSlots: {
2524
+ role: string;
2525
+ accept: "text" | "file" | "image" | "audio" | "video";
2526
+ label: string;
2527
+ key?: string | undefined;
2528
+ required?: boolean | undefined;
2529
+ minCount?: number | undefined;
2530
+ maxCount?: number | undefined;
2531
+ placeholder?: string | undefined;
2532
+ multiline?: boolean | undefined;
2533
+ minLength?: number | undefined;
2534
+ maxLength?: number | undefined;
2535
+ maxFileSize?: number | undefined;
2536
+ acceptFormats?: string[] | undefined;
2537
+ minResolution?: number | undefined;
2538
+ maxResolution?: number | undefined;
2539
+ minDuration?: number | undefined;
2540
+ maxDuration?: number | undefined;
2541
+ hint?: string | undefined;
2542
+ sharedGroup?: string | undefined;
2543
+ sharedMaxCount?: number | undefined;
2544
+ }[];
2545
+ paramsSchema: ({
2546
+ key: string;
2547
+ label: string;
2548
+ type: "select";
2549
+ default?: unknown;
2550
+ group?: "primary" | "advanced" | undefined;
2551
+ visibleWhen?: unknown;
2552
+ clientOnly?: boolean | undefined;
2553
+ hint?: string | undefined;
2554
+ required?: boolean | undefined;
2555
+ options?: {
2556
+ value: string | number | boolean;
2557
+ label: string;
2558
+ thumbnail?: string | undefined;
2559
+ }[] | undefined;
2560
+ catalog?: string | undefined;
2561
+ display?: "dropdown" | "grid" | "pills" | undefined;
2562
+ searchable?: boolean | undefined;
2563
+ } | {
2564
+ key: string;
2565
+ label: string;
2566
+ type: "tab";
2567
+ options: {
2568
+ value: string | number | boolean;
2569
+ label: string;
2570
+ thumbnail?: string | undefined;
2571
+ }[];
2572
+ default?: unknown;
2573
+ group?: "primary" | "advanced" | undefined;
2574
+ visibleWhen?: unknown;
2575
+ clientOnly?: boolean | undefined;
2576
+ hint?: string | undefined;
2577
+ required?: boolean | undefined;
2578
+ } | {
2579
+ key: string;
2580
+ label: string;
2581
+ type: "boolean";
2582
+ default?: unknown;
2583
+ group?: "primary" | "advanced" | undefined;
2584
+ visibleWhen?: unknown;
2585
+ clientOnly?: boolean | undefined;
2586
+ hint?: string | undefined;
2587
+ required?: boolean | undefined;
2588
+ } | {
2589
+ key: string;
2590
+ label: string;
2591
+ type: "text";
2592
+ default?: unknown;
2593
+ group?: "primary" | "advanced" | undefined;
2594
+ visibleWhen?: unknown;
2595
+ clientOnly?: boolean | undefined;
2596
+ hint?: string | undefined;
2597
+ required?: boolean | undefined;
2598
+ multiline?: boolean | undefined;
2599
+ placeholder?: string | undefined;
2600
+ minLength?: number | undefined;
2601
+ maxLength?: number | undefined;
2602
+ } | {
2603
+ key: string;
2604
+ label: string;
2605
+ type: "slider";
2606
+ min: number;
2607
+ max: number;
2608
+ default?: unknown;
2609
+ group?: "primary" | "advanced" | undefined;
2610
+ visibleWhen?: unknown;
2611
+ clientOnly?: boolean | undefined;
2612
+ hint?: string | undefined;
2613
+ required?: boolean | undefined;
2614
+ step?: number | undefined;
2615
+ } | {
2616
+ key: string;
2617
+ label: string;
2618
+ type: "number";
2619
+ default?: unknown;
2620
+ group?: "primary" | "advanced" | undefined;
2621
+ visibleWhen?: unknown;
2622
+ clientOnly?: boolean | undefined;
2623
+ hint?: string | undefined;
2624
+ required?: boolean | undefined;
2625
+ min?: number | undefined;
2626
+ max?: number | undefined;
2627
+ step?: number | undefined;
2628
+ })[];
2629
+ })[];
1960
2630
  updatedAt?: string | undefined;
1961
2631
  };
1962
2632
  }>;
@@ -1965,7 +2635,7 @@ declare const aiEndpoints: {
1965
2635
  success: true;
1966
2636
  data: {
1967
2637
  category: string;
1968
- features: {
2638
+ features: ({
1969
2639
  id: string;
1970
2640
  displayName: string;
1971
2641
  description: string;
@@ -2100,7 +2770,122 @@ declare const aiEndpoints: {
2100
2770
  tags?: string[] | undefined;
2101
2771
  familyId?: string | undefined;
2102
2772
  }[];
2103
- }[];
2773
+ } | {
2774
+ id: string;
2775
+ displayName: string;
2776
+ description: string;
2777
+ endpoint: string;
2778
+ creditsPerCall: number;
2779
+ billingType: string;
2780
+ minMembershipLevel: string;
2781
+ executionMode: "sync";
2782
+ inputSlots: {
2783
+ role: string;
2784
+ accept: "text" | "file" | "image" | "audio" | "video";
2785
+ label: string;
2786
+ key?: string | undefined;
2787
+ required?: boolean | undefined;
2788
+ minCount?: number | undefined;
2789
+ maxCount?: number | undefined;
2790
+ placeholder?: string | undefined;
2791
+ multiline?: boolean | undefined;
2792
+ minLength?: number | undefined;
2793
+ maxLength?: number | undefined;
2794
+ maxFileSize?: number | undefined;
2795
+ acceptFormats?: string[] | undefined;
2796
+ minResolution?: number | undefined;
2797
+ maxResolution?: number | undefined;
2798
+ minDuration?: number | undefined;
2799
+ maxDuration?: number | undefined;
2800
+ hint?: string | undefined;
2801
+ sharedGroup?: string | undefined;
2802
+ sharedMaxCount?: number | undefined;
2803
+ }[];
2804
+ paramsSchema: ({
2805
+ key: string;
2806
+ label: string;
2807
+ type: "select";
2808
+ default?: unknown;
2809
+ group?: "primary" | "advanced" | undefined;
2810
+ visibleWhen?: unknown;
2811
+ clientOnly?: boolean | undefined;
2812
+ hint?: string | undefined;
2813
+ required?: boolean | undefined;
2814
+ options?: {
2815
+ value: string | number | boolean;
2816
+ label: string;
2817
+ thumbnail?: string | undefined;
2818
+ }[] | undefined;
2819
+ catalog?: string | undefined;
2820
+ display?: "dropdown" | "grid" | "pills" | undefined;
2821
+ searchable?: boolean | undefined;
2822
+ } | {
2823
+ key: string;
2824
+ label: string;
2825
+ type: "tab";
2826
+ options: {
2827
+ value: string | number | boolean;
2828
+ label: string;
2829
+ thumbnail?: string | undefined;
2830
+ }[];
2831
+ default?: unknown;
2832
+ group?: "primary" | "advanced" | undefined;
2833
+ visibleWhen?: unknown;
2834
+ clientOnly?: boolean | undefined;
2835
+ hint?: string | undefined;
2836
+ required?: boolean | undefined;
2837
+ } | {
2838
+ key: string;
2839
+ label: string;
2840
+ type: "boolean";
2841
+ default?: unknown;
2842
+ group?: "primary" | "advanced" | undefined;
2843
+ visibleWhen?: unknown;
2844
+ clientOnly?: boolean | undefined;
2845
+ hint?: string | undefined;
2846
+ required?: boolean | undefined;
2847
+ } | {
2848
+ key: string;
2849
+ label: string;
2850
+ type: "text";
2851
+ default?: unknown;
2852
+ group?: "primary" | "advanced" | undefined;
2853
+ visibleWhen?: unknown;
2854
+ clientOnly?: boolean | undefined;
2855
+ hint?: string | undefined;
2856
+ required?: boolean | undefined;
2857
+ multiline?: boolean | undefined;
2858
+ placeholder?: string | undefined;
2859
+ minLength?: number | undefined;
2860
+ maxLength?: number | undefined;
2861
+ } | {
2862
+ key: string;
2863
+ label: string;
2864
+ type: "slider";
2865
+ min: number;
2866
+ max: number;
2867
+ default?: unknown;
2868
+ group?: "primary" | "advanced" | undefined;
2869
+ visibleWhen?: unknown;
2870
+ clientOnly?: boolean | undefined;
2871
+ hint?: string | undefined;
2872
+ required?: boolean | undefined;
2873
+ step?: number | undefined;
2874
+ } | {
2875
+ key: string;
2876
+ label: string;
2877
+ type: "number";
2878
+ default?: unknown;
2879
+ group?: "primary" | "advanced" | undefined;
2880
+ visibleWhen?: unknown;
2881
+ clientOnly?: boolean | undefined;
2882
+ hint?: string | undefined;
2883
+ required?: boolean | undefined;
2884
+ min?: number | undefined;
2885
+ max?: number | undefined;
2886
+ step?: number | undefined;
2887
+ })[];
2888
+ })[];
2104
2889
  updatedAt?: string | undefined;
2105
2890
  };
2106
2891
  }>;
@@ -2109,7 +2894,7 @@ declare const aiEndpoints: {
2109
2894
  success: true;
2110
2895
  data: {
2111
2896
  category: string;
2112
- features: {
2897
+ features: ({
2113
2898
  id: string;
2114
2899
  displayName: string;
2115
2900
  description: string;
@@ -2244,7 +3029,122 @@ declare const aiEndpoints: {
2244
3029
  tags?: string[] | undefined;
2245
3030
  familyId?: string | undefined;
2246
3031
  }[];
2247
- }[];
3032
+ } | {
3033
+ id: string;
3034
+ displayName: string;
3035
+ description: string;
3036
+ endpoint: string;
3037
+ creditsPerCall: number;
3038
+ billingType: string;
3039
+ minMembershipLevel: string;
3040
+ executionMode: "sync";
3041
+ inputSlots: {
3042
+ role: string;
3043
+ accept: "text" | "file" | "image" | "audio" | "video";
3044
+ label: string;
3045
+ key?: string | undefined;
3046
+ required?: boolean | undefined;
3047
+ minCount?: number | undefined;
3048
+ maxCount?: number | undefined;
3049
+ placeholder?: string | undefined;
3050
+ multiline?: boolean | undefined;
3051
+ minLength?: number | undefined;
3052
+ maxLength?: number | undefined;
3053
+ maxFileSize?: number | undefined;
3054
+ acceptFormats?: string[] | undefined;
3055
+ minResolution?: number | undefined;
3056
+ maxResolution?: number | undefined;
3057
+ minDuration?: number | undefined;
3058
+ maxDuration?: number | undefined;
3059
+ hint?: string | undefined;
3060
+ sharedGroup?: string | undefined;
3061
+ sharedMaxCount?: number | undefined;
3062
+ }[];
3063
+ paramsSchema: ({
3064
+ key: string;
3065
+ label: string;
3066
+ type: "select";
3067
+ default?: unknown;
3068
+ group?: "primary" | "advanced" | undefined;
3069
+ visibleWhen?: unknown;
3070
+ clientOnly?: boolean | undefined;
3071
+ hint?: string | undefined;
3072
+ required?: boolean | undefined;
3073
+ options?: {
3074
+ value: string | number | boolean;
3075
+ label: string;
3076
+ thumbnail?: string | undefined;
3077
+ }[] | undefined;
3078
+ catalog?: string | undefined;
3079
+ display?: "dropdown" | "grid" | "pills" | undefined;
3080
+ searchable?: boolean | undefined;
3081
+ } | {
3082
+ key: string;
3083
+ label: string;
3084
+ type: "tab";
3085
+ options: {
3086
+ value: string | number | boolean;
3087
+ label: string;
3088
+ thumbnail?: string | undefined;
3089
+ }[];
3090
+ default?: unknown;
3091
+ group?: "primary" | "advanced" | undefined;
3092
+ visibleWhen?: unknown;
3093
+ clientOnly?: boolean | undefined;
3094
+ hint?: string | undefined;
3095
+ required?: boolean | undefined;
3096
+ } | {
3097
+ key: string;
3098
+ label: string;
3099
+ type: "boolean";
3100
+ default?: unknown;
3101
+ group?: "primary" | "advanced" | undefined;
3102
+ visibleWhen?: unknown;
3103
+ clientOnly?: boolean | undefined;
3104
+ hint?: string | undefined;
3105
+ required?: boolean | undefined;
3106
+ } | {
3107
+ key: string;
3108
+ label: string;
3109
+ type: "text";
3110
+ default?: unknown;
3111
+ group?: "primary" | "advanced" | undefined;
3112
+ visibleWhen?: unknown;
3113
+ clientOnly?: boolean | undefined;
3114
+ hint?: string | undefined;
3115
+ required?: boolean | undefined;
3116
+ multiline?: boolean | undefined;
3117
+ placeholder?: string | undefined;
3118
+ minLength?: number | undefined;
3119
+ maxLength?: number | undefined;
3120
+ } | {
3121
+ key: string;
3122
+ label: string;
3123
+ type: "slider";
3124
+ min: number;
3125
+ max: number;
3126
+ default?: unknown;
3127
+ group?: "primary" | "advanced" | undefined;
3128
+ visibleWhen?: unknown;
3129
+ clientOnly?: boolean | undefined;
3130
+ hint?: string | undefined;
3131
+ required?: boolean | undefined;
3132
+ step?: number | undefined;
3133
+ } | {
3134
+ key: string;
3135
+ label: string;
3136
+ type: "number";
3137
+ default?: unknown;
3138
+ group?: "primary" | "advanced" | undefined;
3139
+ visibleWhen?: unknown;
3140
+ clientOnly?: boolean | undefined;
3141
+ hint?: string | undefined;
3142
+ required?: boolean | undefined;
3143
+ min?: number | undefined;
3144
+ max?: number | undefined;
3145
+ step?: number | undefined;
3146
+ })[];
3147
+ })[];
2248
3148
  updatedAt?: string | undefined;
2249
3149
  };
2250
3150
  }>;
@@ -2253,7 +3153,7 @@ declare const aiEndpoints: {
2253
3153
  success: true;
2254
3154
  data: {
2255
3155
  category: string;
2256
- features: {
3156
+ features: ({
2257
3157
  id: string;
2258
3158
  displayName: string;
2259
3159
  description: string;
@@ -2388,7 +3288,122 @@ declare const aiEndpoints: {
2388
3288
  tags?: string[] | undefined;
2389
3289
  familyId?: string | undefined;
2390
3290
  }[];
2391
- }[];
3291
+ } | {
3292
+ id: string;
3293
+ displayName: string;
3294
+ description: string;
3295
+ endpoint: string;
3296
+ creditsPerCall: number;
3297
+ billingType: string;
3298
+ minMembershipLevel: string;
3299
+ executionMode: "sync";
3300
+ inputSlots: {
3301
+ role: string;
3302
+ accept: "text" | "file" | "image" | "audio" | "video";
3303
+ label: string;
3304
+ key?: string | undefined;
3305
+ required?: boolean | undefined;
3306
+ minCount?: number | undefined;
3307
+ maxCount?: number | undefined;
3308
+ placeholder?: string | undefined;
3309
+ multiline?: boolean | undefined;
3310
+ minLength?: number | undefined;
3311
+ maxLength?: number | undefined;
3312
+ maxFileSize?: number | undefined;
3313
+ acceptFormats?: string[] | undefined;
3314
+ minResolution?: number | undefined;
3315
+ maxResolution?: number | undefined;
3316
+ minDuration?: number | undefined;
3317
+ maxDuration?: number | undefined;
3318
+ hint?: string | undefined;
3319
+ sharedGroup?: string | undefined;
3320
+ sharedMaxCount?: number | undefined;
3321
+ }[];
3322
+ paramsSchema: ({
3323
+ key: string;
3324
+ label: string;
3325
+ type: "select";
3326
+ default?: unknown;
3327
+ group?: "primary" | "advanced" | undefined;
3328
+ visibleWhen?: unknown;
3329
+ clientOnly?: boolean | undefined;
3330
+ hint?: string | undefined;
3331
+ required?: boolean | undefined;
3332
+ options?: {
3333
+ value: string | number | boolean;
3334
+ label: string;
3335
+ thumbnail?: string | undefined;
3336
+ }[] | undefined;
3337
+ catalog?: string | undefined;
3338
+ display?: "dropdown" | "grid" | "pills" | undefined;
3339
+ searchable?: boolean | undefined;
3340
+ } | {
3341
+ key: string;
3342
+ label: string;
3343
+ type: "tab";
3344
+ options: {
3345
+ value: string | number | boolean;
3346
+ label: string;
3347
+ thumbnail?: string | undefined;
3348
+ }[];
3349
+ default?: unknown;
3350
+ group?: "primary" | "advanced" | undefined;
3351
+ visibleWhen?: unknown;
3352
+ clientOnly?: boolean | undefined;
3353
+ hint?: string | undefined;
3354
+ required?: boolean | undefined;
3355
+ } | {
3356
+ key: string;
3357
+ label: string;
3358
+ type: "boolean";
3359
+ default?: unknown;
3360
+ group?: "primary" | "advanced" | undefined;
3361
+ visibleWhen?: unknown;
3362
+ clientOnly?: boolean | undefined;
3363
+ hint?: string | undefined;
3364
+ required?: boolean | undefined;
3365
+ } | {
3366
+ key: string;
3367
+ label: string;
3368
+ type: "text";
3369
+ default?: unknown;
3370
+ group?: "primary" | "advanced" | undefined;
3371
+ visibleWhen?: unknown;
3372
+ clientOnly?: boolean | undefined;
3373
+ hint?: string | undefined;
3374
+ required?: boolean | undefined;
3375
+ multiline?: boolean | undefined;
3376
+ placeholder?: string | undefined;
3377
+ minLength?: number | undefined;
3378
+ maxLength?: number | undefined;
3379
+ } | {
3380
+ key: string;
3381
+ label: string;
3382
+ type: "slider";
3383
+ min: number;
3384
+ max: number;
3385
+ default?: unknown;
3386
+ group?: "primary" | "advanced" | undefined;
3387
+ visibleWhen?: unknown;
3388
+ clientOnly?: boolean | undefined;
3389
+ hint?: string | undefined;
3390
+ required?: boolean | undefined;
3391
+ step?: number | undefined;
3392
+ } | {
3393
+ key: string;
3394
+ label: string;
3395
+ type: "number";
3396
+ default?: unknown;
3397
+ group?: "primary" | "advanced" | undefined;
3398
+ visibleWhen?: unknown;
3399
+ clientOnly?: boolean | undefined;
3400
+ hint?: string | undefined;
3401
+ required?: boolean | undefined;
3402
+ min?: number | undefined;
3403
+ max?: number | undefined;
3404
+ step?: number | undefined;
3405
+ })[];
3406
+ })[];
2392
3407
  updatedAt?: string | undefined;
2393
3408
  };
2394
3409
  }>;
@@ -2397,7 +3412,7 @@ declare const aiEndpoints: {
2397
3412
  success: true;
2398
3413
  data: {
2399
3414
  category: string;
2400
- features: {
3415
+ features: ({
2401
3416
  id: string;
2402
3417
  displayName: string;
2403
3418
  description: string;
@@ -2532,150 +3547,248 @@ declare const aiEndpoints: {
2532
3547
  tags?: string[] | undefined;
2533
3548
  familyId?: string | undefined;
2534
3549
  }[];
2535
- }[];
3550
+ } | {
3551
+ id: string;
3552
+ displayName: string;
3553
+ description: string;
3554
+ endpoint: string;
3555
+ creditsPerCall: number;
3556
+ billingType: string;
3557
+ minMembershipLevel: string;
3558
+ executionMode: "sync";
3559
+ inputSlots: {
3560
+ role: string;
3561
+ accept: "text" | "file" | "image" | "audio" | "video";
3562
+ label: string;
3563
+ key?: string | undefined;
3564
+ required?: boolean | undefined;
3565
+ minCount?: number | undefined;
3566
+ maxCount?: number | undefined;
3567
+ placeholder?: string | undefined;
3568
+ multiline?: boolean | undefined;
3569
+ minLength?: number | undefined;
3570
+ maxLength?: number | undefined;
3571
+ maxFileSize?: number | undefined;
3572
+ acceptFormats?: string[] | undefined;
3573
+ minResolution?: number | undefined;
3574
+ maxResolution?: number | undefined;
3575
+ minDuration?: number | undefined;
3576
+ maxDuration?: number | undefined;
3577
+ hint?: string | undefined;
3578
+ sharedGroup?: string | undefined;
3579
+ sharedMaxCount?: number | undefined;
3580
+ }[];
3581
+ paramsSchema: ({
3582
+ key: string;
3583
+ label: string;
3584
+ type: "select";
3585
+ default?: unknown;
3586
+ group?: "primary" | "advanced" | undefined;
3587
+ visibleWhen?: unknown;
3588
+ clientOnly?: boolean | undefined;
3589
+ hint?: string | undefined;
3590
+ required?: boolean | undefined;
3591
+ options?: {
3592
+ value: string | number | boolean;
3593
+ label: string;
3594
+ thumbnail?: string | undefined;
3595
+ }[] | undefined;
3596
+ catalog?: string | undefined;
3597
+ display?: "dropdown" | "grid" | "pills" | undefined;
3598
+ searchable?: boolean | undefined;
3599
+ } | {
3600
+ key: string;
3601
+ label: string;
3602
+ type: "tab";
3603
+ options: {
3604
+ value: string | number | boolean;
3605
+ label: string;
3606
+ thumbnail?: string | undefined;
3607
+ }[];
3608
+ default?: unknown;
3609
+ group?: "primary" | "advanced" | undefined;
3610
+ visibleWhen?: unknown;
3611
+ clientOnly?: boolean | undefined;
3612
+ hint?: string | undefined;
3613
+ required?: boolean | undefined;
3614
+ } | {
3615
+ key: string;
3616
+ label: string;
3617
+ type: "boolean";
3618
+ default?: unknown;
3619
+ group?: "primary" | "advanced" | undefined;
3620
+ visibleWhen?: unknown;
3621
+ clientOnly?: boolean | undefined;
3622
+ hint?: string | undefined;
3623
+ required?: boolean | undefined;
3624
+ } | {
3625
+ key: string;
3626
+ label: string;
3627
+ type: "text";
3628
+ default?: unknown;
3629
+ group?: "primary" | "advanced" | undefined;
3630
+ visibleWhen?: unknown;
3631
+ clientOnly?: boolean | undefined;
3632
+ hint?: string | undefined;
3633
+ required?: boolean | undefined;
3634
+ multiline?: boolean | undefined;
3635
+ placeholder?: string | undefined;
3636
+ minLength?: number | undefined;
3637
+ maxLength?: number | undefined;
3638
+ } | {
3639
+ key: string;
3640
+ label: string;
3641
+ type: "slider";
3642
+ min: number;
3643
+ max: number;
3644
+ default?: unknown;
3645
+ group?: "primary" | "advanced" | undefined;
3646
+ visibleWhen?: unknown;
3647
+ clientOnly?: boolean | undefined;
3648
+ hint?: string | undefined;
3649
+ required?: boolean | undefined;
3650
+ step?: number | undefined;
3651
+ } | {
3652
+ key: string;
3653
+ label: string;
3654
+ type: "number";
3655
+ default?: unknown;
3656
+ group?: "primary" | "advanced" | undefined;
3657
+ visibleWhen?: unknown;
3658
+ clientOnly?: boolean | undefined;
3659
+ hint?: string | undefined;
3660
+ required?: boolean | undefined;
3661
+ min?: number | undefined;
3662
+ max?: number | undefined;
3663
+ step?: number | undefined;
3664
+ })[];
3665
+ })[];
2536
3666
  updatedAt?: string | undefined;
2537
3667
  };
2538
3668
  }>;
2539
- /** Get tools capabilities (features + variants). */
3669
+ /**
3670
+ * Get tools capabilities. features 数组为扁平 ToolFeature(不含 variants),
3671
+ * 直接携带 endpoint / inputSlots / paramsSchema / creditsPerCall。
3672
+ */
2540
3673
  readonly v3ToolsCapabilities: Endpoint<void, {
2541
3674
  success: true;
2542
3675
  data: {
2543
- category: string;
3676
+ category: "tools";
2544
3677
  features: {
2545
3678
  id: string;
2546
3679
  displayName: string;
2547
3680
  description: string;
2548
- variants: {
2549
- id: string;
2550
- featureTabName: string;
2551
- creditsPerCall: number;
2552
- billingType: string;
2553
- minMembershipLevel: string;
2554
- maxBatchSize: number;
2555
- resourceConstraints: {
2556
- maxFileSize: number;
2557
- maxFiles: number;
2558
- acceptedFormats: string[];
2559
- requiresUpload: boolean;
2560
- maxResolution?: number | undefined;
2561
- precheck?: {
2562
- type: string;
2563
- description: string;
2564
- } | undefined;
2565
- } | null;
2566
- resultType: "text" | "image" | "audio" | "video";
2567
- isAsync: boolean;
2568
- paramsSchema: ({
2569
- key: string;
2570
- label: string;
2571
- type: "select";
2572
- default?: unknown;
2573
- group?: "primary" | "advanced" | undefined;
2574
- visibleWhen?: unknown;
2575
- clientOnly?: boolean | undefined;
2576
- hint?: string | undefined;
2577
- required?: boolean | undefined;
2578
- options?: {
2579
- value: string | number | boolean;
2580
- label: string;
2581
- thumbnail?: string | undefined;
2582
- }[] | undefined;
2583
- catalog?: string | undefined;
2584
- display?: "dropdown" | "grid" | "pills" | undefined;
2585
- searchable?: boolean | undefined;
2586
- } | {
2587
- key: string;
2588
- label: string;
2589
- type: "tab";
2590
- options: {
2591
- value: string | number | boolean;
2592
- label: string;
2593
- thumbnail?: string | undefined;
2594
- }[];
2595
- default?: unknown;
2596
- group?: "primary" | "advanced" | undefined;
2597
- visibleWhen?: unknown;
2598
- clientOnly?: boolean | undefined;
2599
- hint?: string | undefined;
2600
- required?: boolean | undefined;
2601
- } | {
2602
- key: string;
2603
- label: string;
2604
- type: "boolean";
2605
- default?: unknown;
2606
- group?: "primary" | "advanced" | undefined;
2607
- visibleWhen?: unknown;
2608
- clientOnly?: boolean | undefined;
2609
- hint?: string | undefined;
2610
- required?: boolean | undefined;
2611
- } | {
2612
- key: string;
2613
- label: string;
2614
- type: "text";
2615
- default?: unknown;
2616
- group?: "primary" | "advanced" | undefined;
2617
- visibleWhen?: unknown;
2618
- clientOnly?: boolean | undefined;
2619
- hint?: string | undefined;
2620
- required?: boolean | undefined;
2621
- multiline?: boolean | undefined;
2622
- placeholder?: string | undefined;
2623
- minLength?: number | undefined;
2624
- maxLength?: number | undefined;
2625
- } | {
2626
- key: string;
2627
- label: string;
2628
- type: "slider";
2629
- min: number;
2630
- max: number;
2631
- default?: unknown;
2632
- group?: "primary" | "advanced" | undefined;
2633
- visibleWhen?: unknown;
2634
- clientOnly?: boolean | undefined;
2635
- hint?: string | undefined;
2636
- required?: boolean | undefined;
2637
- step?: number | undefined;
2638
- } | {
2639
- key: string;
3681
+ endpoint: string;
3682
+ creditsPerCall: number;
3683
+ billingType: string;
3684
+ minMembershipLevel: string;
3685
+ executionMode: "sync";
3686
+ inputSlots: {
3687
+ role: string;
3688
+ accept: "text" | "file" | "image" | "audio" | "video";
3689
+ label: string;
3690
+ key?: string | undefined;
3691
+ required?: boolean | undefined;
3692
+ minCount?: number | undefined;
3693
+ maxCount?: number | undefined;
3694
+ placeholder?: string | undefined;
3695
+ multiline?: boolean | undefined;
3696
+ minLength?: number | undefined;
3697
+ maxLength?: number | undefined;
3698
+ maxFileSize?: number | undefined;
3699
+ acceptFormats?: string[] | undefined;
3700
+ minResolution?: number | undefined;
3701
+ maxResolution?: number | undefined;
3702
+ minDuration?: number | undefined;
3703
+ maxDuration?: number | undefined;
3704
+ hint?: string | undefined;
3705
+ sharedGroup?: string | undefined;
3706
+ sharedMaxCount?: number | undefined;
3707
+ }[];
3708
+ paramsSchema: ({
3709
+ key: string;
3710
+ label: string;
3711
+ type: "select";
3712
+ default?: unknown;
3713
+ group?: "primary" | "advanced" | undefined;
3714
+ visibleWhen?: unknown;
3715
+ clientOnly?: boolean | undefined;
3716
+ hint?: string | undefined;
3717
+ required?: boolean | undefined;
3718
+ options?: {
3719
+ value: string | number | boolean;
2640
3720
  label: string;
2641
- type: "number";
2642
- default?: unknown;
2643
- group?: "primary" | "advanced" | undefined;
2644
- visibleWhen?: unknown;
2645
- clientOnly?: boolean | undefined;
2646
- hint?: string | undefined;
2647
- required?: boolean | undefined;
2648
- min?: number | undefined;
2649
- max?: number | undefined;
2650
- step?: number | undefined;
2651
- })[];
2652
- inputSlots: {
2653
- role: string;
2654
- accept: "text" | "file" | "image" | "audio" | "video";
3721
+ thumbnail?: string | undefined;
3722
+ }[] | undefined;
3723
+ catalog?: string | undefined;
3724
+ display?: "dropdown" | "grid" | "pills" | undefined;
3725
+ searchable?: boolean | undefined;
3726
+ } | {
3727
+ key: string;
3728
+ label: string;
3729
+ type: "tab";
3730
+ options: {
3731
+ value: string | number | boolean;
2655
3732
  label: string;
2656
- key?: string | undefined;
2657
- required?: boolean | undefined;
2658
- minCount?: number | undefined;
2659
- maxCount?: number | undefined;
2660
- placeholder?: string | undefined;
2661
- multiline?: boolean | undefined;
2662
- minLength?: number | undefined;
2663
- maxLength?: number | undefined;
2664
- maxFileSize?: number | undefined;
2665
- acceptFormats?: string[] | undefined;
2666
- minResolution?: number | undefined;
2667
- maxResolution?: number | undefined;
2668
- minDuration?: number | undefined;
2669
- maxDuration?: number | undefined;
2670
- hint?: string | undefined;
2671
- sharedGroup?: string | undefined;
2672
- sharedMaxCount?: number | undefined;
3733
+ thumbnail?: string | undefined;
2673
3734
  }[];
2674
- executionMode?: "task" | "streaming" | "sync" | undefined;
2675
- endpoint?: string | undefined;
2676
- tags?: string[] | undefined;
2677
- familyId?: string | undefined;
2678
- }[];
3735
+ default?: unknown;
3736
+ group?: "primary" | "advanced" | undefined;
3737
+ visibleWhen?: unknown;
3738
+ clientOnly?: boolean | undefined;
3739
+ hint?: string | undefined;
3740
+ required?: boolean | undefined;
3741
+ } | {
3742
+ key: string;
3743
+ label: string;
3744
+ type: "boolean";
3745
+ default?: unknown;
3746
+ group?: "primary" | "advanced" | undefined;
3747
+ visibleWhen?: unknown;
3748
+ clientOnly?: boolean | undefined;
3749
+ hint?: string | undefined;
3750
+ required?: boolean | undefined;
3751
+ } | {
3752
+ key: string;
3753
+ label: string;
3754
+ type: "text";
3755
+ default?: unknown;
3756
+ group?: "primary" | "advanced" | undefined;
3757
+ visibleWhen?: unknown;
3758
+ clientOnly?: boolean | undefined;
3759
+ hint?: string | undefined;
3760
+ required?: boolean | undefined;
3761
+ multiline?: boolean | undefined;
3762
+ placeholder?: string | undefined;
3763
+ minLength?: number | undefined;
3764
+ maxLength?: number | undefined;
3765
+ } | {
3766
+ key: string;
3767
+ label: string;
3768
+ type: "slider";
3769
+ min: number;
3770
+ max: number;
3771
+ default?: unknown;
3772
+ group?: "primary" | "advanced" | undefined;
3773
+ visibleWhen?: unknown;
3774
+ clientOnly?: boolean | undefined;
3775
+ hint?: string | undefined;
3776
+ required?: boolean | undefined;
3777
+ step?: number | undefined;
3778
+ } | {
3779
+ key: string;
3780
+ label: string;
3781
+ type: "number";
3782
+ default?: unknown;
3783
+ group?: "primary" | "advanced" | undefined;
3784
+ visibleWhen?: unknown;
3785
+ clientOnly?: boolean | undefined;
3786
+ hint?: string | undefined;
3787
+ required?: boolean | undefined;
3788
+ min?: number | undefined;
3789
+ max?: number | undefined;
3790
+ step?: number | undefined;
3791
+ })[];
2679
3792
  }[];
2680
3793
  updatedAt?: string | undefined;
2681
3794
  };
@@ -2863,7 +3976,7 @@ declare const aiEndpoints: {
2863
3976
  /** Execute a tool (e.g. webSearch). Returns sync JSON result. */
2864
3977
  readonly v3ToolExecute: Endpoint<{
2865
3978
  feature: string;
2866
- variant: string;
3979
+ variant?: string | undefined;
2867
3980
  inputs?: Record<string, unknown> | undefined;
2868
3981
  params?: Record<string, unknown> | undefined;
2869
3982
  }, {
@@ -3735,32 +4848,391 @@ declare const inputSlotSchema: z.ZodObject<{
3735
4848
  sharedGroup: z.ZodOptional<z.ZodString>;
3736
4849
  sharedMaxCount: z.ZodOptional<z.ZodNumber>;
3737
4850
  }, z.core.$strip>;
3738
- /** Variant within a v3 feature (maps to a model/quality combination). */
3739
- declare const v3VariantSchema: z.ZodObject<{
4851
+ /** Variant within a v3 feature (maps to a model/quality combination). */
4852
+ declare const v3VariantSchema: z.ZodObject<{
4853
+ id: z.ZodString;
4854
+ featureTabName: z.ZodString;
4855
+ creditsPerCall: z.ZodNumber;
4856
+ billingType: z.ZodString;
4857
+ minMembershipLevel: z.ZodString;
4858
+ maxBatchSize: z.ZodNumber;
4859
+ resourceConstraints: z.ZodNullable<z.ZodObject<{
4860
+ maxFileSize: z.ZodNumber;
4861
+ maxFiles: z.ZodNumber;
4862
+ acceptedFormats: z.ZodArray<z.ZodString>;
4863
+ maxResolution: z.ZodOptional<z.ZodNumber>;
4864
+ requiresUpload: z.ZodBoolean;
4865
+ precheck: z.ZodOptional<z.ZodObject<{
4866
+ type: z.ZodString;
4867
+ description: z.ZodString;
4868
+ }, z.core.$strip>>;
4869
+ }, z.core.$strip>>;
4870
+ resultType: z.ZodEnum<{
4871
+ text: "text";
4872
+ image: "image";
4873
+ audio: "audio";
4874
+ video: "video";
4875
+ }>;
4876
+ isAsync: z.ZodBoolean;
4877
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4878
+ key: z.ZodString;
4879
+ label: z.ZodString;
4880
+ default: z.ZodOptional<z.ZodUnknown>;
4881
+ group: z.ZodOptional<z.ZodEnum<{
4882
+ primary: "primary";
4883
+ advanced: "advanced";
4884
+ }>>;
4885
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4886
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
4887
+ hint: z.ZodOptional<z.ZodString>;
4888
+ required: z.ZodOptional<z.ZodBoolean>;
4889
+ type: z.ZodLiteral<"select">;
4890
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
4891
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
4892
+ label: z.ZodString;
4893
+ thumbnail: z.ZodOptional<z.ZodString>;
4894
+ }, z.core.$strip>>>;
4895
+ catalog: z.ZodOptional<z.ZodString>;
4896
+ display: z.ZodOptional<z.ZodEnum<{
4897
+ dropdown: "dropdown";
4898
+ grid: "grid";
4899
+ pills: "pills";
4900
+ }>>;
4901
+ searchable: z.ZodOptional<z.ZodBoolean>;
4902
+ }, z.core.$strip>, z.ZodObject<{
4903
+ key: z.ZodString;
4904
+ label: z.ZodString;
4905
+ default: z.ZodOptional<z.ZodUnknown>;
4906
+ group: z.ZodOptional<z.ZodEnum<{
4907
+ primary: "primary";
4908
+ advanced: "advanced";
4909
+ }>>;
4910
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4911
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
4912
+ hint: z.ZodOptional<z.ZodString>;
4913
+ required: z.ZodOptional<z.ZodBoolean>;
4914
+ type: z.ZodLiteral<"tab">;
4915
+ options: z.ZodArray<z.ZodObject<{
4916
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
4917
+ label: z.ZodString;
4918
+ thumbnail: z.ZodOptional<z.ZodString>;
4919
+ }, z.core.$strip>>;
4920
+ }, z.core.$strip>, z.ZodObject<{
4921
+ key: z.ZodString;
4922
+ label: z.ZodString;
4923
+ default: z.ZodOptional<z.ZodUnknown>;
4924
+ group: z.ZodOptional<z.ZodEnum<{
4925
+ primary: "primary";
4926
+ advanced: "advanced";
4927
+ }>>;
4928
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4929
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
4930
+ hint: z.ZodOptional<z.ZodString>;
4931
+ required: z.ZodOptional<z.ZodBoolean>;
4932
+ type: z.ZodLiteral<"boolean">;
4933
+ }, z.core.$strip>, z.ZodObject<{
4934
+ key: z.ZodString;
4935
+ label: z.ZodString;
4936
+ default: z.ZodOptional<z.ZodUnknown>;
4937
+ group: z.ZodOptional<z.ZodEnum<{
4938
+ primary: "primary";
4939
+ advanced: "advanced";
4940
+ }>>;
4941
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4942
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
4943
+ hint: z.ZodOptional<z.ZodString>;
4944
+ required: z.ZodOptional<z.ZodBoolean>;
4945
+ type: z.ZodLiteral<"text">;
4946
+ multiline: z.ZodOptional<z.ZodBoolean>;
4947
+ placeholder: z.ZodOptional<z.ZodString>;
4948
+ minLength: z.ZodOptional<z.ZodNumber>;
4949
+ maxLength: z.ZodOptional<z.ZodNumber>;
4950
+ }, z.core.$strip>, z.ZodObject<{
4951
+ key: z.ZodString;
4952
+ label: z.ZodString;
4953
+ default: z.ZodOptional<z.ZodUnknown>;
4954
+ group: z.ZodOptional<z.ZodEnum<{
4955
+ primary: "primary";
4956
+ advanced: "advanced";
4957
+ }>>;
4958
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4959
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
4960
+ hint: z.ZodOptional<z.ZodString>;
4961
+ required: z.ZodOptional<z.ZodBoolean>;
4962
+ type: z.ZodLiteral<"slider">;
4963
+ min: z.ZodNumber;
4964
+ max: z.ZodNumber;
4965
+ step: z.ZodOptional<z.ZodNumber>;
4966
+ }, z.core.$strip>, z.ZodObject<{
4967
+ key: z.ZodString;
4968
+ label: z.ZodString;
4969
+ default: z.ZodOptional<z.ZodUnknown>;
4970
+ group: z.ZodOptional<z.ZodEnum<{
4971
+ primary: "primary";
4972
+ advanced: "advanced";
4973
+ }>>;
4974
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4975
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
4976
+ hint: z.ZodOptional<z.ZodString>;
4977
+ required: z.ZodOptional<z.ZodBoolean>;
4978
+ type: z.ZodLiteral<"number">;
4979
+ min: z.ZodOptional<z.ZodNumber>;
4980
+ max: z.ZodOptional<z.ZodNumber>;
4981
+ step: z.ZodOptional<z.ZodNumber>;
4982
+ }, z.core.$strip>], "type">>;
4983
+ inputSlots: z.ZodArray<z.ZodObject<{
4984
+ key: z.ZodOptional<z.ZodString>;
4985
+ role: z.ZodString;
4986
+ accept: z.ZodEnum<{
4987
+ text: "text";
4988
+ file: "file";
4989
+ image: "image";
4990
+ audio: "audio";
4991
+ video: "video";
4992
+ }>;
4993
+ label: z.ZodString;
4994
+ required: z.ZodOptional<z.ZodBoolean>;
4995
+ minCount: z.ZodOptional<z.ZodNumber>;
4996
+ maxCount: z.ZodOptional<z.ZodNumber>;
4997
+ placeholder: z.ZodOptional<z.ZodString>;
4998
+ multiline: z.ZodOptional<z.ZodBoolean>;
4999
+ minLength: z.ZodOptional<z.ZodNumber>;
5000
+ maxLength: z.ZodOptional<z.ZodNumber>;
5001
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
5002
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
5003
+ minResolution: z.ZodOptional<z.ZodNumber>;
5004
+ maxResolution: z.ZodOptional<z.ZodNumber>;
5005
+ minDuration: z.ZodOptional<z.ZodNumber>;
5006
+ maxDuration: z.ZodOptional<z.ZodNumber>;
5007
+ hint: z.ZodOptional<z.ZodString>;
5008
+ sharedGroup: z.ZodOptional<z.ZodString>;
5009
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
5010
+ }, z.core.$strip>>;
5011
+ executionMode: z.ZodOptional<z.ZodEnum<{
5012
+ task: "task";
5013
+ streaming: "streaming";
5014
+ sync: "sync";
5015
+ }>>;
5016
+ endpoint: z.ZodOptional<z.ZodString>;
5017
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5018
+ familyId: z.ZodOptional<z.ZodString>;
5019
+ }, z.core.$strip>;
5020
+ /** Feature entry within a capabilities response. */
5021
+ declare const v3FeatureSchema: z.ZodObject<{
5022
+ id: z.ZodString;
5023
+ displayName: z.ZodString;
5024
+ description: z.ZodString;
5025
+ variants: z.ZodArray<z.ZodObject<{
5026
+ id: z.ZodString;
5027
+ featureTabName: z.ZodString;
5028
+ creditsPerCall: z.ZodNumber;
5029
+ billingType: z.ZodString;
5030
+ minMembershipLevel: z.ZodString;
5031
+ maxBatchSize: z.ZodNumber;
5032
+ resourceConstraints: z.ZodNullable<z.ZodObject<{
5033
+ maxFileSize: z.ZodNumber;
5034
+ maxFiles: z.ZodNumber;
5035
+ acceptedFormats: z.ZodArray<z.ZodString>;
5036
+ maxResolution: z.ZodOptional<z.ZodNumber>;
5037
+ requiresUpload: z.ZodBoolean;
5038
+ precheck: z.ZodOptional<z.ZodObject<{
5039
+ type: z.ZodString;
5040
+ description: z.ZodString;
5041
+ }, z.core.$strip>>;
5042
+ }, z.core.$strip>>;
5043
+ resultType: z.ZodEnum<{
5044
+ text: "text";
5045
+ image: "image";
5046
+ audio: "audio";
5047
+ video: "video";
5048
+ }>;
5049
+ isAsync: z.ZodBoolean;
5050
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5051
+ key: z.ZodString;
5052
+ label: z.ZodString;
5053
+ default: z.ZodOptional<z.ZodUnknown>;
5054
+ group: z.ZodOptional<z.ZodEnum<{
5055
+ primary: "primary";
5056
+ advanced: "advanced";
5057
+ }>>;
5058
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5059
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5060
+ hint: z.ZodOptional<z.ZodString>;
5061
+ required: z.ZodOptional<z.ZodBoolean>;
5062
+ type: z.ZodLiteral<"select">;
5063
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
5064
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5065
+ label: z.ZodString;
5066
+ thumbnail: z.ZodOptional<z.ZodString>;
5067
+ }, z.core.$strip>>>;
5068
+ catalog: z.ZodOptional<z.ZodString>;
5069
+ display: z.ZodOptional<z.ZodEnum<{
5070
+ dropdown: "dropdown";
5071
+ grid: "grid";
5072
+ pills: "pills";
5073
+ }>>;
5074
+ searchable: z.ZodOptional<z.ZodBoolean>;
5075
+ }, z.core.$strip>, z.ZodObject<{
5076
+ key: z.ZodString;
5077
+ label: z.ZodString;
5078
+ default: z.ZodOptional<z.ZodUnknown>;
5079
+ group: z.ZodOptional<z.ZodEnum<{
5080
+ primary: "primary";
5081
+ advanced: "advanced";
5082
+ }>>;
5083
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5084
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5085
+ hint: z.ZodOptional<z.ZodString>;
5086
+ required: z.ZodOptional<z.ZodBoolean>;
5087
+ type: z.ZodLiteral<"tab">;
5088
+ options: z.ZodArray<z.ZodObject<{
5089
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5090
+ label: z.ZodString;
5091
+ thumbnail: z.ZodOptional<z.ZodString>;
5092
+ }, z.core.$strip>>;
5093
+ }, z.core.$strip>, z.ZodObject<{
5094
+ key: z.ZodString;
5095
+ label: z.ZodString;
5096
+ default: z.ZodOptional<z.ZodUnknown>;
5097
+ group: z.ZodOptional<z.ZodEnum<{
5098
+ primary: "primary";
5099
+ advanced: "advanced";
5100
+ }>>;
5101
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5102
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5103
+ hint: z.ZodOptional<z.ZodString>;
5104
+ required: z.ZodOptional<z.ZodBoolean>;
5105
+ type: z.ZodLiteral<"boolean">;
5106
+ }, z.core.$strip>, z.ZodObject<{
5107
+ key: z.ZodString;
5108
+ label: z.ZodString;
5109
+ default: z.ZodOptional<z.ZodUnknown>;
5110
+ group: z.ZodOptional<z.ZodEnum<{
5111
+ primary: "primary";
5112
+ advanced: "advanced";
5113
+ }>>;
5114
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5115
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5116
+ hint: z.ZodOptional<z.ZodString>;
5117
+ required: z.ZodOptional<z.ZodBoolean>;
5118
+ type: z.ZodLiteral<"text">;
5119
+ multiline: z.ZodOptional<z.ZodBoolean>;
5120
+ placeholder: z.ZodOptional<z.ZodString>;
5121
+ minLength: z.ZodOptional<z.ZodNumber>;
5122
+ maxLength: z.ZodOptional<z.ZodNumber>;
5123
+ }, z.core.$strip>, z.ZodObject<{
5124
+ key: z.ZodString;
5125
+ label: z.ZodString;
5126
+ default: z.ZodOptional<z.ZodUnknown>;
5127
+ group: z.ZodOptional<z.ZodEnum<{
5128
+ primary: "primary";
5129
+ advanced: "advanced";
5130
+ }>>;
5131
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5132
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5133
+ hint: z.ZodOptional<z.ZodString>;
5134
+ required: z.ZodOptional<z.ZodBoolean>;
5135
+ type: z.ZodLiteral<"slider">;
5136
+ min: z.ZodNumber;
5137
+ max: z.ZodNumber;
5138
+ step: z.ZodOptional<z.ZodNumber>;
5139
+ }, z.core.$strip>, z.ZodObject<{
5140
+ key: z.ZodString;
5141
+ label: z.ZodString;
5142
+ default: z.ZodOptional<z.ZodUnknown>;
5143
+ group: z.ZodOptional<z.ZodEnum<{
5144
+ primary: "primary";
5145
+ advanced: "advanced";
5146
+ }>>;
5147
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5148
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5149
+ hint: z.ZodOptional<z.ZodString>;
5150
+ required: z.ZodOptional<z.ZodBoolean>;
5151
+ type: z.ZodLiteral<"number">;
5152
+ min: z.ZodOptional<z.ZodNumber>;
5153
+ max: z.ZodOptional<z.ZodNumber>;
5154
+ step: z.ZodOptional<z.ZodNumber>;
5155
+ }, z.core.$strip>], "type">>;
5156
+ inputSlots: z.ZodArray<z.ZodObject<{
5157
+ key: z.ZodOptional<z.ZodString>;
5158
+ role: z.ZodString;
5159
+ accept: z.ZodEnum<{
5160
+ text: "text";
5161
+ file: "file";
5162
+ image: "image";
5163
+ audio: "audio";
5164
+ video: "video";
5165
+ }>;
5166
+ label: z.ZodString;
5167
+ required: z.ZodOptional<z.ZodBoolean>;
5168
+ minCount: z.ZodOptional<z.ZodNumber>;
5169
+ maxCount: z.ZodOptional<z.ZodNumber>;
5170
+ placeholder: z.ZodOptional<z.ZodString>;
5171
+ multiline: z.ZodOptional<z.ZodBoolean>;
5172
+ minLength: z.ZodOptional<z.ZodNumber>;
5173
+ maxLength: z.ZodOptional<z.ZodNumber>;
5174
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
5175
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
5176
+ minResolution: z.ZodOptional<z.ZodNumber>;
5177
+ maxResolution: z.ZodOptional<z.ZodNumber>;
5178
+ minDuration: z.ZodOptional<z.ZodNumber>;
5179
+ maxDuration: z.ZodOptional<z.ZodNumber>;
5180
+ hint: z.ZodOptional<z.ZodString>;
5181
+ sharedGroup: z.ZodOptional<z.ZodString>;
5182
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
5183
+ }, z.core.$strip>>;
5184
+ executionMode: z.ZodOptional<z.ZodEnum<{
5185
+ task: "task";
5186
+ streaming: "streaming";
5187
+ sync: "sync";
5188
+ }>>;
5189
+ endpoint: z.ZodOptional<z.ZodString>;
5190
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5191
+ familyId: z.ZodOptional<z.ZodString>;
5192
+ }, z.core.$strip>>;
5193
+ }, z.core.$strip>;
5194
+ /**
5195
+ * Tool feature entry within a capabilities response (category = "tools").
5196
+ * 工具类能力强制单一调用路径,不暴露 variant 概念,直接把调用所需的
5197
+ * endpoint / 输入 / 参数 / 计费 / 等级门槛平铺到 feature 层面。
5198
+ */
5199
+ declare const v3ToolFeatureSchema: z.ZodObject<{
3740
5200
  id: z.ZodString;
3741
- featureTabName: z.ZodString;
5201
+ displayName: z.ZodString;
5202
+ description: z.ZodString;
5203
+ endpoint: z.ZodString;
3742
5204
  creditsPerCall: z.ZodNumber;
3743
5205
  billingType: z.ZodString;
3744
5206
  minMembershipLevel: z.ZodString;
3745
- maxBatchSize: z.ZodNumber;
3746
- resourceConstraints: z.ZodNullable<z.ZodObject<{
3747
- maxFileSize: z.ZodNumber;
3748
- maxFiles: z.ZodNumber;
3749
- acceptedFormats: z.ZodArray<z.ZodString>;
5207
+ executionMode: z.ZodLiteral<"sync">;
5208
+ inputSlots: z.ZodArray<z.ZodObject<{
5209
+ key: z.ZodOptional<z.ZodString>;
5210
+ role: z.ZodString;
5211
+ accept: z.ZodEnum<{
5212
+ text: "text";
5213
+ file: "file";
5214
+ image: "image";
5215
+ audio: "audio";
5216
+ video: "video";
5217
+ }>;
5218
+ label: z.ZodString;
5219
+ required: z.ZodOptional<z.ZodBoolean>;
5220
+ minCount: z.ZodOptional<z.ZodNumber>;
5221
+ maxCount: z.ZodOptional<z.ZodNumber>;
5222
+ placeholder: z.ZodOptional<z.ZodString>;
5223
+ multiline: z.ZodOptional<z.ZodBoolean>;
5224
+ minLength: z.ZodOptional<z.ZodNumber>;
5225
+ maxLength: z.ZodOptional<z.ZodNumber>;
5226
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
5227
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
5228
+ minResolution: z.ZodOptional<z.ZodNumber>;
3750
5229
  maxResolution: z.ZodOptional<z.ZodNumber>;
3751
- requiresUpload: z.ZodBoolean;
3752
- precheck: z.ZodOptional<z.ZodObject<{
3753
- type: z.ZodString;
3754
- description: z.ZodString;
3755
- }, z.core.$strip>>;
5230
+ minDuration: z.ZodOptional<z.ZodNumber>;
5231
+ maxDuration: z.ZodOptional<z.ZodNumber>;
5232
+ hint: z.ZodOptional<z.ZodString>;
5233
+ sharedGroup: z.ZodOptional<z.ZodString>;
5234
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
3756
5235
  }, z.core.$strip>>;
3757
- resultType: z.ZodEnum<{
3758
- text: "text";
3759
- image: "image";
3760
- audio: "audio";
3761
- video: "video";
3762
- }>;
3763
- isAsync: z.ZodBoolean;
3764
5236
  paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3765
5237
  key: z.ZodString;
3766
5238
  label: z.ZodString;
@@ -3867,73 +5339,219 @@ declare const v3VariantSchema: z.ZodObject<{
3867
5339
  max: z.ZodOptional<z.ZodNumber>;
3868
5340
  step: z.ZodOptional<z.ZodNumber>;
3869
5341
  }, z.core.$strip>], "type">>;
3870
- inputSlots: z.ZodArray<z.ZodObject<{
3871
- key: z.ZodOptional<z.ZodString>;
3872
- role: z.ZodString;
3873
- accept: z.ZodEnum<{
3874
- text: "text";
3875
- file: "file";
3876
- image: "image";
3877
- audio: "audio";
3878
- video: "video";
3879
- }>;
3880
- label: z.ZodString;
3881
- required: z.ZodOptional<z.ZodBoolean>;
3882
- minCount: z.ZodOptional<z.ZodNumber>;
3883
- maxCount: z.ZodOptional<z.ZodNumber>;
3884
- placeholder: z.ZodOptional<z.ZodString>;
3885
- multiline: z.ZodOptional<z.ZodBoolean>;
3886
- minLength: z.ZodOptional<z.ZodNumber>;
3887
- maxLength: z.ZodOptional<z.ZodNumber>;
3888
- maxFileSize: z.ZodOptional<z.ZodNumber>;
3889
- acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
3890
- minResolution: z.ZodOptional<z.ZodNumber>;
3891
- maxResolution: z.ZodOptional<z.ZodNumber>;
3892
- minDuration: z.ZodOptional<z.ZodNumber>;
3893
- maxDuration: z.ZodOptional<z.ZodNumber>;
3894
- hint: z.ZodOptional<z.ZodString>;
3895
- sharedGroup: z.ZodOptional<z.ZodString>;
3896
- sharedMaxCount: z.ZodOptional<z.ZodNumber>;
3897
- }, z.core.$strip>>;
3898
- executionMode: z.ZodOptional<z.ZodEnum<{
3899
- task: "task";
3900
- streaming: "streaming";
3901
- sync: "sync";
3902
- }>>;
3903
- endpoint: z.ZodOptional<z.ZodString>;
3904
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3905
- familyId: z.ZodOptional<z.ZodString>;
3906
5342
  }, z.core.$strip>;
3907
- /** Feature entry within a capabilities response. */
3908
- declare const v3FeatureSchema: z.ZodObject<{
3909
- id: z.ZodString;
3910
- displayName: z.ZodString;
3911
- description: z.ZodString;
3912
- variants: z.ZodArray<z.ZodObject<{
5343
+ /** Capabilities data payload for a single media category. */
5344
+ declare const v3CapabilitiesDataSchema: z.ZodObject<{
5345
+ category: z.ZodString;
5346
+ features: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5347
+ id: z.ZodString;
5348
+ displayName: z.ZodString;
5349
+ description: z.ZodString;
5350
+ variants: z.ZodArray<z.ZodObject<{
5351
+ id: z.ZodString;
5352
+ featureTabName: z.ZodString;
5353
+ creditsPerCall: z.ZodNumber;
5354
+ billingType: z.ZodString;
5355
+ minMembershipLevel: z.ZodString;
5356
+ maxBatchSize: z.ZodNumber;
5357
+ resourceConstraints: z.ZodNullable<z.ZodObject<{
5358
+ maxFileSize: z.ZodNumber;
5359
+ maxFiles: z.ZodNumber;
5360
+ acceptedFormats: z.ZodArray<z.ZodString>;
5361
+ maxResolution: z.ZodOptional<z.ZodNumber>;
5362
+ requiresUpload: z.ZodBoolean;
5363
+ precheck: z.ZodOptional<z.ZodObject<{
5364
+ type: z.ZodString;
5365
+ description: z.ZodString;
5366
+ }, z.core.$strip>>;
5367
+ }, z.core.$strip>>;
5368
+ resultType: z.ZodEnum<{
5369
+ text: "text";
5370
+ image: "image";
5371
+ audio: "audio";
5372
+ video: "video";
5373
+ }>;
5374
+ isAsync: z.ZodBoolean;
5375
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5376
+ key: z.ZodString;
5377
+ label: z.ZodString;
5378
+ default: z.ZodOptional<z.ZodUnknown>;
5379
+ group: z.ZodOptional<z.ZodEnum<{
5380
+ primary: "primary";
5381
+ advanced: "advanced";
5382
+ }>>;
5383
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5384
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5385
+ hint: z.ZodOptional<z.ZodString>;
5386
+ required: z.ZodOptional<z.ZodBoolean>;
5387
+ type: z.ZodLiteral<"select">;
5388
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
5389
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5390
+ label: z.ZodString;
5391
+ thumbnail: z.ZodOptional<z.ZodString>;
5392
+ }, z.core.$strip>>>;
5393
+ catalog: z.ZodOptional<z.ZodString>;
5394
+ display: z.ZodOptional<z.ZodEnum<{
5395
+ dropdown: "dropdown";
5396
+ grid: "grid";
5397
+ pills: "pills";
5398
+ }>>;
5399
+ searchable: z.ZodOptional<z.ZodBoolean>;
5400
+ }, z.core.$strip>, z.ZodObject<{
5401
+ key: z.ZodString;
5402
+ label: z.ZodString;
5403
+ default: z.ZodOptional<z.ZodUnknown>;
5404
+ group: z.ZodOptional<z.ZodEnum<{
5405
+ primary: "primary";
5406
+ advanced: "advanced";
5407
+ }>>;
5408
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5409
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5410
+ hint: z.ZodOptional<z.ZodString>;
5411
+ required: z.ZodOptional<z.ZodBoolean>;
5412
+ type: z.ZodLiteral<"tab">;
5413
+ options: z.ZodArray<z.ZodObject<{
5414
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5415
+ label: z.ZodString;
5416
+ thumbnail: z.ZodOptional<z.ZodString>;
5417
+ }, z.core.$strip>>;
5418
+ }, z.core.$strip>, z.ZodObject<{
5419
+ key: z.ZodString;
5420
+ label: z.ZodString;
5421
+ default: z.ZodOptional<z.ZodUnknown>;
5422
+ group: z.ZodOptional<z.ZodEnum<{
5423
+ primary: "primary";
5424
+ advanced: "advanced";
5425
+ }>>;
5426
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5427
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5428
+ hint: z.ZodOptional<z.ZodString>;
5429
+ required: z.ZodOptional<z.ZodBoolean>;
5430
+ type: z.ZodLiteral<"boolean">;
5431
+ }, z.core.$strip>, z.ZodObject<{
5432
+ key: z.ZodString;
5433
+ label: z.ZodString;
5434
+ default: z.ZodOptional<z.ZodUnknown>;
5435
+ group: z.ZodOptional<z.ZodEnum<{
5436
+ primary: "primary";
5437
+ advanced: "advanced";
5438
+ }>>;
5439
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5440
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5441
+ hint: z.ZodOptional<z.ZodString>;
5442
+ required: z.ZodOptional<z.ZodBoolean>;
5443
+ type: z.ZodLiteral<"text">;
5444
+ multiline: z.ZodOptional<z.ZodBoolean>;
5445
+ placeholder: z.ZodOptional<z.ZodString>;
5446
+ minLength: z.ZodOptional<z.ZodNumber>;
5447
+ maxLength: z.ZodOptional<z.ZodNumber>;
5448
+ }, z.core.$strip>, z.ZodObject<{
5449
+ key: z.ZodString;
5450
+ label: z.ZodString;
5451
+ default: z.ZodOptional<z.ZodUnknown>;
5452
+ group: z.ZodOptional<z.ZodEnum<{
5453
+ primary: "primary";
5454
+ advanced: "advanced";
5455
+ }>>;
5456
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5457
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5458
+ hint: z.ZodOptional<z.ZodString>;
5459
+ required: z.ZodOptional<z.ZodBoolean>;
5460
+ type: z.ZodLiteral<"slider">;
5461
+ min: z.ZodNumber;
5462
+ max: z.ZodNumber;
5463
+ step: z.ZodOptional<z.ZodNumber>;
5464
+ }, z.core.$strip>, z.ZodObject<{
5465
+ key: z.ZodString;
5466
+ label: z.ZodString;
5467
+ default: z.ZodOptional<z.ZodUnknown>;
5468
+ group: z.ZodOptional<z.ZodEnum<{
5469
+ primary: "primary";
5470
+ advanced: "advanced";
5471
+ }>>;
5472
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5473
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5474
+ hint: z.ZodOptional<z.ZodString>;
5475
+ required: z.ZodOptional<z.ZodBoolean>;
5476
+ type: z.ZodLiteral<"number">;
5477
+ min: z.ZodOptional<z.ZodNumber>;
5478
+ max: z.ZodOptional<z.ZodNumber>;
5479
+ step: z.ZodOptional<z.ZodNumber>;
5480
+ }, z.core.$strip>], "type">>;
5481
+ inputSlots: z.ZodArray<z.ZodObject<{
5482
+ key: z.ZodOptional<z.ZodString>;
5483
+ role: z.ZodString;
5484
+ accept: z.ZodEnum<{
5485
+ text: "text";
5486
+ file: "file";
5487
+ image: "image";
5488
+ audio: "audio";
5489
+ video: "video";
5490
+ }>;
5491
+ label: z.ZodString;
5492
+ required: z.ZodOptional<z.ZodBoolean>;
5493
+ minCount: z.ZodOptional<z.ZodNumber>;
5494
+ maxCount: z.ZodOptional<z.ZodNumber>;
5495
+ placeholder: z.ZodOptional<z.ZodString>;
5496
+ multiline: z.ZodOptional<z.ZodBoolean>;
5497
+ minLength: z.ZodOptional<z.ZodNumber>;
5498
+ maxLength: z.ZodOptional<z.ZodNumber>;
5499
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
5500
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
5501
+ minResolution: z.ZodOptional<z.ZodNumber>;
5502
+ maxResolution: z.ZodOptional<z.ZodNumber>;
5503
+ minDuration: z.ZodOptional<z.ZodNumber>;
5504
+ maxDuration: z.ZodOptional<z.ZodNumber>;
5505
+ hint: z.ZodOptional<z.ZodString>;
5506
+ sharedGroup: z.ZodOptional<z.ZodString>;
5507
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
5508
+ }, z.core.$strip>>;
5509
+ executionMode: z.ZodOptional<z.ZodEnum<{
5510
+ task: "task";
5511
+ streaming: "streaming";
5512
+ sync: "sync";
5513
+ }>>;
5514
+ endpoint: z.ZodOptional<z.ZodString>;
5515
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5516
+ familyId: z.ZodOptional<z.ZodString>;
5517
+ }, z.core.$strip>>;
5518
+ }, z.core.$strip>, z.ZodObject<{
3913
5519
  id: z.ZodString;
3914
- featureTabName: z.ZodString;
5520
+ displayName: z.ZodString;
5521
+ description: z.ZodString;
5522
+ endpoint: z.ZodString;
3915
5523
  creditsPerCall: z.ZodNumber;
3916
5524
  billingType: z.ZodString;
3917
5525
  minMembershipLevel: z.ZodString;
3918
- maxBatchSize: z.ZodNumber;
3919
- resourceConstraints: z.ZodNullable<z.ZodObject<{
3920
- maxFileSize: z.ZodNumber;
3921
- maxFiles: z.ZodNumber;
3922
- acceptedFormats: z.ZodArray<z.ZodString>;
5526
+ executionMode: z.ZodLiteral<"sync">;
5527
+ inputSlots: z.ZodArray<z.ZodObject<{
5528
+ key: z.ZodOptional<z.ZodString>;
5529
+ role: z.ZodString;
5530
+ accept: z.ZodEnum<{
5531
+ text: "text";
5532
+ file: "file";
5533
+ image: "image";
5534
+ audio: "audio";
5535
+ video: "video";
5536
+ }>;
5537
+ label: z.ZodString;
5538
+ required: z.ZodOptional<z.ZodBoolean>;
5539
+ minCount: z.ZodOptional<z.ZodNumber>;
5540
+ maxCount: z.ZodOptional<z.ZodNumber>;
5541
+ placeholder: z.ZodOptional<z.ZodString>;
5542
+ multiline: z.ZodOptional<z.ZodBoolean>;
5543
+ minLength: z.ZodOptional<z.ZodNumber>;
5544
+ maxLength: z.ZodOptional<z.ZodNumber>;
5545
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
5546
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
5547
+ minResolution: z.ZodOptional<z.ZodNumber>;
3923
5548
  maxResolution: z.ZodOptional<z.ZodNumber>;
3924
- requiresUpload: z.ZodBoolean;
3925
- precheck: z.ZodOptional<z.ZodObject<{
3926
- type: z.ZodString;
3927
- description: z.ZodString;
3928
- }, z.core.$strip>>;
5549
+ minDuration: z.ZodOptional<z.ZodNumber>;
5550
+ maxDuration: z.ZodOptional<z.ZodNumber>;
5551
+ hint: z.ZodOptional<z.ZodString>;
5552
+ sharedGroup: z.ZodOptional<z.ZodString>;
5553
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
3929
5554
  }, z.core.$strip>>;
3930
- resultType: z.ZodEnum<{
3931
- text: "text";
3932
- image: "image";
3933
- audio: "audio";
3934
- video: "video";
3935
- }>;
3936
- isAsync: z.ZodBoolean;
3937
5555
  paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3938
5556
  key: z.ZodString;
3939
5557
  label: z.ZodString;
@@ -4024,92 +5642,239 @@ declare const v3FeatureSchema: z.ZodObject<{
4024
5642
  max: z.ZodNumber;
4025
5643
  step: z.ZodOptional<z.ZodNumber>;
4026
5644
  }, z.core.$strip>, z.ZodObject<{
4027
- key: z.ZodString;
4028
- label: z.ZodString;
4029
- default: z.ZodOptional<z.ZodUnknown>;
4030
- group: z.ZodOptional<z.ZodEnum<{
4031
- primary: "primary";
4032
- advanced: "advanced";
4033
- }>>;
4034
- visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4035
- clientOnly: z.ZodOptional<z.ZodBoolean>;
4036
- hint: z.ZodOptional<z.ZodString>;
4037
- required: z.ZodOptional<z.ZodBoolean>;
4038
- type: z.ZodLiteral<"number">;
4039
- min: z.ZodOptional<z.ZodNumber>;
4040
- max: z.ZodOptional<z.ZodNumber>;
4041
- step: z.ZodOptional<z.ZodNumber>;
4042
- }, z.core.$strip>], "type">>;
4043
- inputSlots: z.ZodArray<z.ZodObject<{
4044
- key: z.ZodOptional<z.ZodString>;
4045
- role: z.ZodString;
4046
- accept: z.ZodEnum<{
4047
- text: "text";
4048
- file: "file";
4049
- image: "image";
4050
- audio: "audio";
4051
- video: "video";
4052
- }>;
4053
- label: z.ZodString;
4054
- required: z.ZodOptional<z.ZodBoolean>;
4055
- minCount: z.ZodOptional<z.ZodNumber>;
4056
- maxCount: z.ZodOptional<z.ZodNumber>;
4057
- placeholder: z.ZodOptional<z.ZodString>;
4058
- multiline: z.ZodOptional<z.ZodBoolean>;
4059
- minLength: z.ZodOptional<z.ZodNumber>;
4060
- maxLength: z.ZodOptional<z.ZodNumber>;
4061
- maxFileSize: z.ZodOptional<z.ZodNumber>;
4062
- acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
4063
- minResolution: z.ZodOptional<z.ZodNumber>;
4064
- maxResolution: z.ZodOptional<z.ZodNumber>;
4065
- minDuration: z.ZodOptional<z.ZodNumber>;
4066
- maxDuration: z.ZodOptional<z.ZodNumber>;
4067
- hint: z.ZodOptional<z.ZodString>;
4068
- sharedGroup: z.ZodOptional<z.ZodString>;
4069
- sharedMaxCount: z.ZodOptional<z.ZodNumber>;
4070
- }, z.core.$strip>>;
4071
- executionMode: z.ZodOptional<z.ZodEnum<{
4072
- task: "task";
4073
- streaming: "streaming";
4074
- sync: "sync";
4075
- }>>;
4076
- endpoint: z.ZodOptional<z.ZodString>;
4077
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4078
- familyId: z.ZodOptional<z.ZodString>;
4079
- }, z.core.$strip>>;
4080
- }, z.core.$strip>;
4081
- /** Capabilities data payload for a single media category. */
4082
- declare const v3CapabilitiesDataSchema: z.ZodObject<{
4083
- category: z.ZodString;
4084
- features: z.ZodArray<z.ZodObject<{
4085
- id: z.ZodString;
4086
- displayName: z.ZodString;
4087
- description: z.ZodString;
4088
- variants: z.ZodArray<z.ZodObject<{
5645
+ key: z.ZodString;
5646
+ label: z.ZodString;
5647
+ default: z.ZodOptional<z.ZodUnknown>;
5648
+ group: z.ZodOptional<z.ZodEnum<{
5649
+ primary: "primary";
5650
+ advanced: "advanced";
5651
+ }>>;
5652
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5653
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5654
+ hint: z.ZodOptional<z.ZodString>;
5655
+ required: z.ZodOptional<z.ZodBoolean>;
5656
+ type: z.ZodLiteral<"number">;
5657
+ min: z.ZodOptional<z.ZodNumber>;
5658
+ max: z.ZodOptional<z.ZodNumber>;
5659
+ step: z.ZodOptional<z.ZodNumber>;
5660
+ }, z.core.$strip>], "type">>;
5661
+ }, z.core.$strip>]>>;
5662
+ updatedAt: z.ZodOptional<z.ZodString>;
5663
+ }, z.core.$strip>;
5664
+ /** Successful capabilities response. */
5665
+ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
5666
+ success: z.ZodLiteral<true>;
5667
+ data: z.ZodObject<{
5668
+ category: z.ZodString;
5669
+ features: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5670
+ id: z.ZodString;
5671
+ displayName: z.ZodString;
5672
+ description: z.ZodString;
5673
+ variants: z.ZodArray<z.ZodObject<{
5674
+ id: z.ZodString;
5675
+ featureTabName: z.ZodString;
5676
+ creditsPerCall: z.ZodNumber;
5677
+ billingType: z.ZodString;
5678
+ minMembershipLevel: z.ZodString;
5679
+ maxBatchSize: z.ZodNumber;
5680
+ resourceConstraints: z.ZodNullable<z.ZodObject<{
5681
+ maxFileSize: z.ZodNumber;
5682
+ maxFiles: z.ZodNumber;
5683
+ acceptedFormats: z.ZodArray<z.ZodString>;
5684
+ maxResolution: z.ZodOptional<z.ZodNumber>;
5685
+ requiresUpload: z.ZodBoolean;
5686
+ precheck: z.ZodOptional<z.ZodObject<{
5687
+ type: z.ZodString;
5688
+ description: z.ZodString;
5689
+ }, z.core.$strip>>;
5690
+ }, z.core.$strip>>;
5691
+ resultType: z.ZodEnum<{
5692
+ text: "text";
5693
+ image: "image";
5694
+ audio: "audio";
5695
+ video: "video";
5696
+ }>;
5697
+ isAsync: z.ZodBoolean;
5698
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5699
+ key: z.ZodString;
5700
+ label: z.ZodString;
5701
+ default: z.ZodOptional<z.ZodUnknown>;
5702
+ group: z.ZodOptional<z.ZodEnum<{
5703
+ primary: "primary";
5704
+ advanced: "advanced";
5705
+ }>>;
5706
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5707
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5708
+ hint: z.ZodOptional<z.ZodString>;
5709
+ required: z.ZodOptional<z.ZodBoolean>;
5710
+ type: z.ZodLiteral<"select">;
5711
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
5712
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5713
+ label: z.ZodString;
5714
+ thumbnail: z.ZodOptional<z.ZodString>;
5715
+ }, z.core.$strip>>>;
5716
+ catalog: z.ZodOptional<z.ZodString>;
5717
+ display: z.ZodOptional<z.ZodEnum<{
5718
+ dropdown: "dropdown";
5719
+ grid: "grid";
5720
+ pills: "pills";
5721
+ }>>;
5722
+ searchable: z.ZodOptional<z.ZodBoolean>;
5723
+ }, z.core.$strip>, z.ZodObject<{
5724
+ key: z.ZodString;
5725
+ label: z.ZodString;
5726
+ default: z.ZodOptional<z.ZodUnknown>;
5727
+ group: z.ZodOptional<z.ZodEnum<{
5728
+ primary: "primary";
5729
+ advanced: "advanced";
5730
+ }>>;
5731
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5732
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5733
+ hint: z.ZodOptional<z.ZodString>;
5734
+ required: z.ZodOptional<z.ZodBoolean>;
5735
+ type: z.ZodLiteral<"tab">;
5736
+ options: z.ZodArray<z.ZodObject<{
5737
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5738
+ label: z.ZodString;
5739
+ thumbnail: z.ZodOptional<z.ZodString>;
5740
+ }, z.core.$strip>>;
5741
+ }, z.core.$strip>, z.ZodObject<{
5742
+ key: z.ZodString;
5743
+ label: z.ZodString;
5744
+ default: z.ZodOptional<z.ZodUnknown>;
5745
+ group: z.ZodOptional<z.ZodEnum<{
5746
+ primary: "primary";
5747
+ advanced: "advanced";
5748
+ }>>;
5749
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5750
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5751
+ hint: z.ZodOptional<z.ZodString>;
5752
+ required: z.ZodOptional<z.ZodBoolean>;
5753
+ type: z.ZodLiteral<"boolean">;
5754
+ }, z.core.$strip>, z.ZodObject<{
5755
+ key: z.ZodString;
5756
+ label: z.ZodString;
5757
+ default: z.ZodOptional<z.ZodUnknown>;
5758
+ group: z.ZodOptional<z.ZodEnum<{
5759
+ primary: "primary";
5760
+ advanced: "advanced";
5761
+ }>>;
5762
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5763
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5764
+ hint: z.ZodOptional<z.ZodString>;
5765
+ required: z.ZodOptional<z.ZodBoolean>;
5766
+ type: z.ZodLiteral<"text">;
5767
+ multiline: z.ZodOptional<z.ZodBoolean>;
5768
+ placeholder: z.ZodOptional<z.ZodString>;
5769
+ minLength: z.ZodOptional<z.ZodNumber>;
5770
+ maxLength: z.ZodOptional<z.ZodNumber>;
5771
+ }, z.core.$strip>, z.ZodObject<{
5772
+ key: z.ZodString;
5773
+ label: z.ZodString;
5774
+ default: z.ZodOptional<z.ZodUnknown>;
5775
+ group: z.ZodOptional<z.ZodEnum<{
5776
+ primary: "primary";
5777
+ advanced: "advanced";
5778
+ }>>;
5779
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5780
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5781
+ hint: z.ZodOptional<z.ZodString>;
5782
+ required: z.ZodOptional<z.ZodBoolean>;
5783
+ type: z.ZodLiteral<"slider">;
5784
+ min: z.ZodNumber;
5785
+ max: z.ZodNumber;
5786
+ step: z.ZodOptional<z.ZodNumber>;
5787
+ }, z.core.$strip>, z.ZodObject<{
5788
+ key: z.ZodString;
5789
+ label: z.ZodString;
5790
+ default: z.ZodOptional<z.ZodUnknown>;
5791
+ group: z.ZodOptional<z.ZodEnum<{
5792
+ primary: "primary";
5793
+ advanced: "advanced";
5794
+ }>>;
5795
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5796
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5797
+ hint: z.ZodOptional<z.ZodString>;
5798
+ required: z.ZodOptional<z.ZodBoolean>;
5799
+ type: z.ZodLiteral<"number">;
5800
+ min: z.ZodOptional<z.ZodNumber>;
5801
+ max: z.ZodOptional<z.ZodNumber>;
5802
+ step: z.ZodOptional<z.ZodNumber>;
5803
+ }, z.core.$strip>], "type">>;
5804
+ inputSlots: z.ZodArray<z.ZodObject<{
5805
+ key: z.ZodOptional<z.ZodString>;
5806
+ role: z.ZodString;
5807
+ accept: z.ZodEnum<{
5808
+ text: "text";
5809
+ file: "file";
5810
+ image: "image";
5811
+ audio: "audio";
5812
+ video: "video";
5813
+ }>;
5814
+ label: z.ZodString;
5815
+ required: z.ZodOptional<z.ZodBoolean>;
5816
+ minCount: z.ZodOptional<z.ZodNumber>;
5817
+ maxCount: z.ZodOptional<z.ZodNumber>;
5818
+ placeholder: z.ZodOptional<z.ZodString>;
5819
+ multiline: z.ZodOptional<z.ZodBoolean>;
5820
+ minLength: z.ZodOptional<z.ZodNumber>;
5821
+ maxLength: z.ZodOptional<z.ZodNumber>;
5822
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
5823
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
5824
+ minResolution: z.ZodOptional<z.ZodNumber>;
5825
+ maxResolution: z.ZodOptional<z.ZodNumber>;
5826
+ minDuration: z.ZodOptional<z.ZodNumber>;
5827
+ maxDuration: z.ZodOptional<z.ZodNumber>;
5828
+ hint: z.ZodOptional<z.ZodString>;
5829
+ sharedGroup: z.ZodOptional<z.ZodString>;
5830
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
5831
+ }, z.core.$strip>>;
5832
+ executionMode: z.ZodOptional<z.ZodEnum<{
5833
+ task: "task";
5834
+ streaming: "streaming";
5835
+ sync: "sync";
5836
+ }>>;
5837
+ endpoint: z.ZodOptional<z.ZodString>;
5838
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5839
+ familyId: z.ZodOptional<z.ZodString>;
5840
+ }, z.core.$strip>>;
5841
+ }, z.core.$strip>, z.ZodObject<{
4089
5842
  id: z.ZodString;
4090
- featureTabName: z.ZodString;
5843
+ displayName: z.ZodString;
5844
+ description: z.ZodString;
5845
+ endpoint: z.ZodString;
4091
5846
  creditsPerCall: z.ZodNumber;
4092
5847
  billingType: z.ZodString;
4093
5848
  minMembershipLevel: z.ZodString;
4094
- maxBatchSize: z.ZodNumber;
4095
- resourceConstraints: z.ZodNullable<z.ZodObject<{
4096
- maxFileSize: z.ZodNumber;
4097
- maxFiles: z.ZodNumber;
4098
- acceptedFormats: z.ZodArray<z.ZodString>;
5849
+ executionMode: z.ZodLiteral<"sync">;
5850
+ inputSlots: z.ZodArray<z.ZodObject<{
5851
+ key: z.ZodOptional<z.ZodString>;
5852
+ role: z.ZodString;
5853
+ accept: z.ZodEnum<{
5854
+ text: "text";
5855
+ file: "file";
5856
+ image: "image";
5857
+ audio: "audio";
5858
+ video: "video";
5859
+ }>;
5860
+ label: z.ZodString;
5861
+ required: z.ZodOptional<z.ZodBoolean>;
5862
+ minCount: z.ZodOptional<z.ZodNumber>;
5863
+ maxCount: z.ZodOptional<z.ZodNumber>;
5864
+ placeholder: z.ZodOptional<z.ZodString>;
5865
+ multiline: z.ZodOptional<z.ZodBoolean>;
5866
+ minLength: z.ZodOptional<z.ZodNumber>;
5867
+ maxLength: z.ZodOptional<z.ZodNumber>;
5868
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
5869
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
5870
+ minResolution: z.ZodOptional<z.ZodNumber>;
4099
5871
  maxResolution: z.ZodOptional<z.ZodNumber>;
4100
- requiresUpload: z.ZodBoolean;
4101
- precheck: z.ZodOptional<z.ZodObject<{
4102
- type: z.ZodString;
4103
- description: z.ZodString;
4104
- }, z.core.$strip>>;
5872
+ minDuration: z.ZodOptional<z.ZodNumber>;
5873
+ maxDuration: z.ZodOptional<z.ZodNumber>;
5874
+ hint: z.ZodOptional<z.ZodString>;
5875
+ sharedGroup: z.ZodOptional<z.ZodString>;
5876
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
4105
5877
  }, z.core.$strip>>;
4106
- resultType: z.ZodEnum<{
4107
- text: "text";
4108
- image: "image";
4109
- audio: "audio";
4110
- video: "video";
4111
- }>;
4112
- isAsync: z.ZodBoolean;
4113
5878
  paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4114
5879
  key: z.ZodString;
4115
5880
  label: z.ZodString;
@@ -4216,6 +5981,177 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
4216
5981
  max: z.ZodOptional<z.ZodNumber>;
4217
5982
  step: z.ZodOptional<z.ZodNumber>;
4218
5983
  }, z.core.$strip>], "type">>;
5984
+ }, z.core.$strip>]>>;
5985
+ updatedAt: z.ZodOptional<z.ZodString>;
5986
+ }, z.core.$strip>;
5987
+ }, z.core.$strip>;
5988
+ /**
5989
+ * Tools capabilities data (category fixed to "tools", features narrowed to tool features).
5990
+ * 与通用 {@link v3CapabilitiesDataSchema} 的区别:features 数组只含
5991
+ * {@link v3ToolFeatureSchema},消费方无需类型收窄即可直接读取 endpoint / inputSlots / paramsSchema。
5992
+ */
5993
+ declare const v3ToolsCapabilitiesDataSchema: z.ZodObject<{
5994
+ category: z.ZodLiteral<"tools">;
5995
+ features: z.ZodArray<z.ZodObject<{
5996
+ id: z.ZodString;
5997
+ displayName: z.ZodString;
5998
+ description: z.ZodString;
5999
+ endpoint: z.ZodString;
6000
+ creditsPerCall: z.ZodNumber;
6001
+ billingType: z.ZodString;
6002
+ minMembershipLevel: z.ZodString;
6003
+ executionMode: z.ZodLiteral<"sync">;
6004
+ inputSlots: z.ZodArray<z.ZodObject<{
6005
+ key: z.ZodOptional<z.ZodString>;
6006
+ role: z.ZodString;
6007
+ accept: z.ZodEnum<{
6008
+ text: "text";
6009
+ file: "file";
6010
+ image: "image";
6011
+ audio: "audio";
6012
+ video: "video";
6013
+ }>;
6014
+ label: z.ZodString;
6015
+ required: z.ZodOptional<z.ZodBoolean>;
6016
+ minCount: z.ZodOptional<z.ZodNumber>;
6017
+ maxCount: z.ZodOptional<z.ZodNumber>;
6018
+ placeholder: z.ZodOptional<z.ZodString>;
6019
+ multiline: z.ZodOptional<z.ZodBoolean>;
6020
+ minLength: z.ZodOptional<z.ZodNumber>;
6021
+ maxLength: z.ZodOptional<z.ZodNumber>;
6022
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
6023
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
6024
+ minResolution: z.ZodOptional<z.ZodNumber>;
6025
+ maxResolution: z.ZodOptional<z.ZodNumber>;
6026
+ minDuration: z.ZodOptional<z.ZodNumber>;
6027
+ maxDuration: z.ZodOptional<z.ZodNumber>;
6028
+ hint: z.ZodOptional<z.ZodString>;
6029
+ sharedGroup: z.ZodOptional<z.ZodString>;
6030
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
6031
+ }, z.core.$strip>>;
6032
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6033
+ key: z.ZodString;
6034
+ label: z.ZodString;
6035
+ default: z.ZodOptional<z.ZodUnknown>;
6036
+ group: z.ZodOptional<z.ZodEnum<{
6037
+ primary: "primary";
6038
+ advanced: "advanced";
6039
+ }>>;
6040
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6041
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6042
+ hint: z.ZodOptional<z.ZodString>;
6043
+ required: z.ZodOptional<z.ZodBoolean>;
6044
+ type: z.ZodLiteral<"select">;
6045
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
6046
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
6047
+ label: z.ZodString;
6048
+ thumbnail: z.ZodOptional<z.ZodString>;
6049
+ }, z.core.$strip>>>;
6050
+ catalog: z.ZodOptional<z.ZodString>;
6051
+ display: z.ZodOptional<z.ZodEnum<{
6052
+ dropdown: "dropdown";
6053
+ grid: "grid";
6054
+ pills: "pills";
6055
+ }>>;
6056
+ searchable: z.ZodOptional<z.ZodBoolean>;
6057
+ }, z.core.$strip>, z.ZodObject<{
6058
+ key: z.ZodString;
6059
+ label: z.ZodString;
6060
+ default: z.ZodOptional<z.ZodUnknown>;
6061
+ group: z.ZodOptional<z.ZodEnum<{
6062
+ primary: "primary";
6063
+ advanced: "advanced";
6064
+ }>>;
6065
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6066
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6067
+ hint: z.ZodOptional<z.ZodString>;
6068
+ required: z.ZodOptional<z.ZodBoolean>;
6069
+ type: z.ZodLiteral<"tab">;
6070
+ options: z.ZodArray<z.ZodObject<{
6071
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
6072
+ label: z.ZodString;
6073
+ thumbnail: z.ZodOptional<z.ZodString>;
6074
+ }, z.core.$strip>>;
6075
+ }, z.core.$strip>, z.ZodObject<{
6076
+ key: z.ZodString;
6077
+ label: z.ZodString;
6078
+ default: z.ZodOptional<z.ZodUnknown>;
6079
+ group: z.ZodOptional<z.ZodEnum<{
6080
+ primary: "primary";
6081
+ advanced: "advanced";
6082
+ }>>;
6083
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6084
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6085
+ hint: z.ZodOptional<z.ZodString>;
6086
+ required: z.ZodOptional<z.ZodBoolean>;
6087
+ type: z.ZodLiteral<"boolean">;
6088
+ }, z.core.$strip>, z.ZodObject<{
6089
+ key: z.ZodString;
6090
+ label: z.ZodString;
6091
+ default: z.ZodOptional<z.ZodUnknown>;
6092
+ group: z.ZodOptional<z.ZodEnum<{
6093
+ primary: "primary";
6094
+ advanced: "advanced";
6095
+ }>>;
6096
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6097
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6098
+ hint: z.ZodOptional<z.ZodString>;
6099
+ required: z.ZodOptional<z.ZodBoolean>;
6100
+ type: z.ZodLiteral<"text">;
6101
+ multiline: z.ZodOptional<z.ZodBoolean>;
6102
+ placeholder: z.ZodOptional<z.ZodString>;
6103
+ minLength: z.ZodOptional<z.ZodNumber>;
6104
+ maxLength: z.ZodOptional<z.ZodNumber>;
6105
+ }, z.core.$strip>, z.ZodObject<{
6106
+ key: z.ZodString;
6107
+ label: z.ZodString;
6108
+ default: z.ZodOptional<z.ZodUnknown>;
6109
+ group: z.ZodOptional<z.ZodEnum<{
6110
+ primary: "primary";
6111
+ advanced: "advanced";
6112
+ }>>;
6113
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6114
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6115
+ hint: z.ZodOptional<z.ZodString>;
6116
+ required: z.ZodOptional<z.ZodBoolean>;
6117
+ type: z.ZodLiteral<"slider">;
6118
+ min: z.ZodNumber;
6119
+ max: z.ZodNumber;
6120
+ step: z.ZodOptional<z.ZodNumber>;
6121
+ }, z.core.$strip>, z.ZodObject<{
6122
+ key: z.ZodString;
6123
+ label: z.ZodString;
6124
+ default: z.ZodOptional<z.ZodUnknown>;
6125
+ group: z.ZodOptional<z.ZodEnum<{
6126
+ primary: "primary";
6127
+ advanced: "advanced";
6128
+ }>>;
6129
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6130
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6131
+ hint: z.ZodOptional<z.ZodString>;
6132
+ required: z.ZodOptional<z.ZodBoolean>;
6133
+ type: z.ZodLiteral<"number">;
6134
+ min: z.ZodOptional<z.ZodNumber>;
6135
+ max: z.ZodOptional<z.ZodNumber>;
6136
+ step: z.ZodOptional<z.ZodNumber>;
6137
+ }, z.core.$strip>], "type">>;
6138
+ }, z.core.$strip>>;
6139
+ updatedAt: z.ZodOptional<z.ZodString>;
6140
+ }, z.core.$strip>;
6141
+ /** Successful tools-capabilities response (narrowed). */
6142
+ declare const v3ToolsCapabilitiesResponseSchema: z.ZodObject<{
6143
+ success: z.ZodLiteral<true>;
6144
+ data: z.ZodObject<{
6145
+ category: z.ZodLiteral<"tools">;
6146
+ features: z.ZodArray<z.ZodObject<{
6147
+ id: z.ZodString;
6148
+ displayName: z.ZodString;
6149
+ description: z.ZodString;
6150
+ endpoint: z.ZodString;
6151
+ creditsPerCall: z.ZodNumber;
6152
+ billingType: z.ZodString;
6153
+ minMembershipLevel: z.ZodString;
6154
+ executionMode: z.ZodLiteral<"sync">;
4219
6155
  inputSlots: z.ZodArray<z.ZodObject<{
4220
6156
  key: z.ZodOptional<z.ZodString>;
4221
6157
  role: z.ZodString;
@@ -4244,195 +6180,112 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
4244
6180
  sharedGroup: z.ZodOptional<z.ZodString>;
4245
6181
  sharedMaxCount: z.ZodOptional<z.ZodNumber>;
4246
6182
  }, z.core.$strip>>;
4247
- executionMode: z.ZodOptional<z.ZodEnum<{
4248
- task: "task";
4249
- streaming: "streaming";
4250
- sync: "sync";
4251
- }>>;
4252
- endpoint: z.ZodOptional<z.ZodString>;
4253
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4254
- familyId: z.ZodOptional<z.ZodString>;
4255
- }, z.core.$strip>>;
4256
- }, z.core.$strip>>;
4257
- updatedAt: z.ZodOptional<z.ZodString>;
4258
- }, z.core.$strip>;
4259
- /** Successful capabilities response. */
4260
- declare const v3CapabilitiesResponseSchema: z.ZodObject<{
4261
- success: z.ZodLiteral<true>;
4262
- data: z.ZodObject<{
4263
- category: z.ZodString;
4264
- features: z.ZodArray<z.ZodObject<{
4265
- id: z.ZodString;
4266
- displayName: z.ZodString;
4267
- description: z.ZodString;
4268
- variants: z.ZodArray<z.ZodObject<{
4269
- id: z.ZodString;
4270
- featureTabName: z.ZodString;
4271
- creditsPerCall: z.ZodNumber;
4272
- billingType: z.ZodString;
4273
- minMembershipLevel: z.ZodString;
4274
- maxBatchSize: z.ZodNumber;
4275
- resourceConstraints: z.ZodNullable<z.ZodObject<{
4276
- maxFileSize: z.ZodNumber;
4277
- maxFiles: z.ZodNumber;
4278
- acceptedFormats: z.ZodArray<z.ZodString>;
4279
- maxResolution: z.ZodOptional<z.ZodNumber>;
4280
- requiresUpload: z.ZodBoolean;
4281
- precheck: z.ZodOptional<z.ZodObject<{
4282
- type: z.ZodString;
4283
- description: z.ZodString;
4284
- }, z.core.$strip>>;
4285
- }, z.core.$strip>>;
4286
- resultType: z.ZodEnum<{
4287
- text: "text";
4288
- image: "image";
4289
- audio: "audio";
4290
- video: "video";
4291
- }>;
4292
- isAsync: z.ZodBoolean;
4293
- paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4294
- key: z.ZodString;
4295
- label: z.ZodString;
4296
- default: z.ZodOptional<z.ZodUnknown>;
4297
- group: z.ZodOptional<z.ZodEnum<{
4298
- primary: "primary";
4299
- advanced: "advanced";
4300
- }>>;
4301
- visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4302
- clientOnly: z.ZodOptional<z.ZodBoolean>;
4303
- hint: z.ZodOptional<z.ZodString>;
4304
- required: z.ZodOptional<z.ZodBoolean>;
4305
- type: z.ZodLiteral<"select">;
4306
- options: z.ZodOptional<z.ZodArray<z.ZodObject<{
4307
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
4308
- label: z.ZodString;
4309
- thumbnail: z.ZodOptional<z.ZodString>;
4310
- }, z.core.$strip>>>;
4311
- catalog: z.ZodOptional<z.ZodString>;
4312
- display: z.ZodOptional<z.ZodEnum<{
4313
- dropdown: "dropdown";
4314
- grid: "grid";
4315
- pills: "pills";
4316
- }>>;
4317
- searchable: z.ZodOptional<z.ZodBoolean>;
4318
- }, z.core.$strip>, z.ZodObject<{
4319
- key: z.ZodString;
4320
- label: z.ZodString;
4321
- default: z.ZodOptional<z.ZodUnknown>;
4322
- group: z.ZodOptional<z.ZodEnum<{
4323
- primary: "primary";
4324
- advanced: "advanced";
4325
- }>>;
4326
- visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4327
- clientOnly: z.ZodOptional<z.ZodBoolean>;
4328
- hint: z.ZodOptional<z.ZodString>;
4329
- required: z.ZodOptional<z.ZodBoolean>;
4330
- type: z.ZodLiteral<"tab">;
4331
- options: z.ZodArray<z.ZodObject<{
4332
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
4333
- label: z.ZodString;
4334
- thumbnail: z.ZodOptional<z.ZodString>;
4335
- }, z.core.$strip>>;
4336
- }, z.core.$strip>, z.ZodObject<{
4337
- key: z.ZodString;
4338
- label: z.ZodString;
4339
- default: z.ZodOptional<z.ZodUnknown>;
4340
- group: z.ZodOptional<z.ZodEnum<{
4341
- primary: "primary";
4342
- advanced: "advanced";
4343
- }>>;
4344
- visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4345
- clientOnly: z.ZodOptional<z.ZodBoolean>;
4346
- hint: z.ZodOptional<z.ZodString>;
4347
- required: z.ZodOptional<z.ZodBoolean>;
4348
- type: z.ZodLiteral<"boolean">;
4349
- }, z.core.$strip>, z.ZodObject<{
4350
- key: z.ZodString;
4351
- label: z.ZodString;
4352
- default: z.ZodOptional<z.ZodUnknown>;
4353
- group: z.ZodOptional<z.ZodEnum<{
4354
- primary: "primary";
4355
- advanced: "advanced";
4356
- }>>;
4357
- visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4358
- clientOnly: z.ZodOptional<z.ZodBoolean>;
4359
- hint: z.ZodOptional<z.ZodString>;
4360
- required: z.ZodOptional<z.ZodBoolean>;
4361
- type: z.ZodLiteral<"text">;
4362
- multiline: z.ZodOptional<z.ZodBoolean>;
4363
- placeholder: z.ZodOptional<z.ZodString>;
4364
- minLength: z.ZodOptional<z.ZodNumber>;
4365
- maxLength: z.ZodOptional<z.ZodNumber>;
4366
- }, z.core.$strip>, z.ZodObject<{
4367
- key: z.ZodString;
4368
- label: z.ZodString;
4369
- default: z.ZodOptional<z.ZodUnknown>;
4370
- group: z.ZodOptional<z.ZodEnum<{
4371
- primary: "primary";
4372
- advanced: "advanced";
4373
- }>>;
4374
- visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4375
- clientOnly: z.ZodOptional<z.ZodBoolean>;
4376
- hint: z.ZodOptional<z.ZodString>;
4377
- required: z.ZodOptional<z.ZodBoolean>;
4378
- type: z.ZodLiteral<"slider">;
4379
- min: z.ZodNumber;
4380
- max: z.ZodNumber;
4381
- step: z.ZodOptional<z.ZodNumber>;
4382
- }, z.core.$strip>, z.ZodObject<{
4383
- key: z.ZodString;
4384
- label: z.ZodString;
4385
- default: z.ZodOptional<z.ZodUnknown>;
4386
- group: z.ZodOptional<z.ZodEnum<{
4387
- primary: "primary";
4388
- advanced: "advanced";
4389
- }>>;
4390
- visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4391
- clientOnly: z.ZodOptional<z.ZodBoolean>;
4392
- hint: z.ZodOptional<z.ZodString>;
4393
- required: z.ZodOptional<z.ZodBoolean>;
4394
- type: z.ZodLiteral<"number">;
4395
- min: z.ZodOptional<z.ZodNumber>;
4396
- max: z.ZodOptional<z.ZodNumber>;
4397
- step: z.ZodOptional<z.ZodNumber>;
4398
- }, z.core.$strip>], "type">>;
4399
- inputSlots: z.ZodArray<z.ZodObject<{
4400
- key: z.ZodOptional<z.ZodString>;
4401
- role: z.ZodString;
4402
- accept: z.ZodEnum<{
4403
- text: "text";
4404
- file: "file";
4405
- image: "image";
4406
- audio: "audio";
4407
- video: "video";
4408
- }>;
6183
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6184
+ key: z.ZodString;
6185
+ label: z.ZodString;
6186
+ default: z.ZodOptional<z.ZodUnknown>;
6187
+ group: z.ZodOptional<z.ZodEnum<{
6188
+ primary: "primary";
6189
+ advanced: "advanced";
6190
+ }>>;
6191
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6192
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6193
+ hint: z.ZodOptional<z.ZodString>;
6194
+ required: z.ZodOptional<z.ZodBoolean>;
6195
+ type: z.ZodLiteral<"select">;
6196
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
6197
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
4409
6198
  label: z.ZodString;
4410
- required: z.ZodOptional<z.ZodBoolean>;
4411
- minCount: z.ZodOptional<z.ZodNumber>;
4412
- maxCount: z.ZodOptional<z.ZodNumber>;
4413
- placeholder: z.ZodOptional<z.ZodString>;
4414
- multiline: z.ZodOptional<z.ZodBoolean>;
4415
- minLength: z.ZodOptional<z.ZodNumber>;
4416
- maxLength: z.ZodOptional<z.ZodNumber>;
4417
- maxFileSize: z.ZodOptional<z.ZodNumber>;
4418
- acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
4419
- minResolution: z.ZodOptional<z.ZodNumber>;
4420
- maxResolution: z.ZodOptional<z.ZodNumber>;
4421
- minDuration: z.ZodOptional<z.ZodNumber>;
4422
- maxDuration: z.ZodOptional<z.ZodNumber>;
4423
- hint: z.ZodOptional<z.ZodString>;
4424
- sharedGroup: z.ZodOptional<z.ZodString>;
4425
- sharedMaxCount: z.ZodOptional<z.ZodNumber>;
6199
+ thumbnail: z.ZodOptional<z.ZodString>;
6200
+ }, z.core.$strip>>>;
6201
+ catalog: z.ZodOptional<z.ZodString>;
6202
+ display: z.ZodOptional<z.ZodEnum<{
6203
+ dropdown: "dropdown";
6204
+ grid: "grid";
6205
+ pills: "pills";
6206
+ }>>;
6207
+ searchable: z.ZodOptional<z.ZodBoolean>;
6208
+ }, z.core.$strip>, z.ZodObject<{
6209
+ key: z.ZodString;
6210
+ label: z.ZodString;
6211
+ default: z.ZodOptional<z.ZodUnknown>;
6212
+ group: z.ZodOptional<z.ZodEnum<{
6213
+ primary: "primary";
6214
+ advanced: "advanced";
6215
+ }>>;
6216
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6217
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6218
+ hint: z.ZodOptional<z.ZodString>;
6219
+ required: z.ZodOptional<z.ZodBoolean>;
6220
+ type: z.ZodLiteral<"tab">;
6221
+ options: z.ZodArray<z.ZodObject<{
6222
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
6223
+ label: z.ZodString;
6224
+ thumbnail: z.ZodOptional<z.ZodString>;
4426
6225
  }, z.core.$strip>>;
4427
- executionMode: z.ZodOptional<z.ZodEnum<{
4428
- task: "task";
4429
- streaming: "streaming";
4430
- sync: "sync";
6226
+ }, z.core.$strip>, z.ZodObject<{
6227
+ key: z.ZodString;
6228
+ label: z.ZodString;
6229
+ default: z.ZodOptional<z.ZodUnknown>;
6230
+ group: z.ZodOptional<z.ZodEnum<{
6231
+ primary: "primary";
6232
+ advanced: "advanced";
4431
6233
  }>>;
4432
- endpoint: z.ZodOptional<z.ZodString>;
4433
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4434
- familyId: z.ZodOptional<z.ZodString>;
4435
- }, z.core.$strip>>;
6234
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6235
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6236
+ hint: z.ZodOptional<z.ZodString>;
6237
+ required: z.ZodOptional<z.ZodBoolean>;
6238
+ type: z.ZodLiteral<"boolean">;
6239
+ }, z.core.$strip>, z.ZodObject<{
6240
+ key: z.ZodString;
6241
+ label: z.ZodString;
6242
+ default: z.ZodOptional<z.ZodUnknown>;
6243
+ group: z.ZodOptional<z.ZodEnum<{
6244
+ primary: "primary";
6245
+ advanced: "advanced";
6246
+ }>>;
6247
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6248
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6249
+ hint: z.ZodOptional<z.ZodString>;
6250
+ required: z.ZodOptional<z.ZodBoolean>;
6251
+ type: z.ZodLiteral<"text">;
6252
+ multiline: z.ZodOptional<z.ZodBoolean>;
6253
+ placeholder: z.ZodOptional<z.ZodString>;
6254
+ minLength: z.ZodOptional<z.ZodNumber>;
6255
+ maxLength: z.ZodOptional<z.ZodNumber>;
6256
+ }, z.core.$strip>, z.ZodObject<{
6257
+ key: z.ZodString;
6258
+ label: z.ZodString;
6259
+ default: z.ZodOptional<z.ZodUnknown>;
6260
+ group: z.ZodOptional<z.ZodEnum<{
6261
+ primary: "primary";
6262
+ advanced: "advanced";
6263
+ }>>;
6264
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6265
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6266
+ hint: z.ZodOptional<z.ZodString>;
6267
+ required: z.ZodOptional<z.ZodBoolean>;
6268
+ type: z.ZodLiteral<"slider">;
6269
+ min: z.ZodNumber;
6270
+ max: z.ZodNumber;
6271
+ step: z.ZodOptional<z.ZodNumber>;
6272
+ }, z.core.$strip>, z.ZodObject<{
6273
+ key: z.ZodString;
6274
+ label: z.ZodString;
6275
+ default: z.ZodOptional<z.ZodUnknown>;
6276
+ group: z.ZodOptional<z.ZodEnum<{
6277
+ primary: "primary";
6278
+ advanced: "advanced";
6279
+ }>>;
6280
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6281
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6282
+ hint: z.ZodOptional<z.ZodString>;
6283
+ required: z.ZodOptional<z.ZodBoolean>;
6284
+ type: z.ZodLiteral<"number">;
6285
+ min: z.ZodOptional<z.ZodNumber>;
6286
+ max: z.ZodOptional<z.ZodNumber>;
6287
+ step: z.ZodOptional<z.ZodNumber>;
6288
+ }, z.core.$strip>], "type">>;
4436
6289
  }, z.core.$strip>>;
4437
6290
  updatedAt: z.ZodOptional<z.ZodString>;
4438
6291
  }, z.core.$strip>;
@@ -4630,7 +6483,7 @@ declare const v3TextChatRequestSchema: z.ZodObject<{
4630
6483
  /** v3 tool execute request body. */
4631
6484
  declare const v3ToolExecuteRequestSchema: z.ZodObject<{
4632
6485
  feature: z.ZodString;
4633
- variant: z.ZodString;
6486
+ variant: z.ZodOptional<z.ZodString>;
4634
6487
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4635
6488
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4636
6489
  }, z.core.$strip>;
@@ -4715,6 +6568,12 @@ type V3InputSlot = z.infer<typeof inputSlotSchema>;
4715
6568
  type V3Variant = z.infer<typeof v3VariantSchema>;
4716
6569
  /** Feature entry within a capabilities response. */
4717
6570
  type V3Feature = z.infer<typeof v3FeatureSchema>;
6571
+ /** Tool feature entry within a capabilities response (category = "tools"). */
6572
+ type V3ToolFeature = z.infer<typeof v3ToolFeatureSchema>;
6573
+ /** Tools-capabilities data payload (narrowed to tool features). */
6574
+ type V3ToolsCapabilitiesData = z.infer<typeof v3ToolsCapabilitiesDataSchema>;
6575
+ /** Tools-capabilities response (narrowed to tool features). */
6576
+ type V3ToolsCapabilitiesResponse = z.infer<typeof v3ToolsCapabilitiesResponseSchema>;
4718
6577
  /** Capabilities data payload. */
4719
6578
  type V3CapabilitiesData = z.infer<typeof v3CapabilitiesDataSchema>;
4720
6579
  /** Full capabilities response. */
@@ -4916,22 +6775,281 @@ declare class AiClient {
4916
6775
  updatedAt?: string | undefined;
4917
6776
  };
4918
6777
  }>;
4919
- /**
4920
- * Fetch capabilities overview (simplified list for AI agent discovery).
4921
- * 公开接口,无需认证。支持 category 过滤。
4922
- */
4923
- capabilitiesOverview(category?: "image" | "video" | "audio" | "text" | "tools"): Promise<V3CapabilitiesOverviewResponse>;
4924
- /**
4925
- * Fetch variant detail by ID (full params, inputs, invocation info).
4926
- * 公开接口,无需认证。
4927
- */
4928
- capabilitiesDetail(variantId: string): Promise<V3CapabilitiesDetailResponse>;
4929
- /** Fetch image capabilities (features + variants) via v3 API. */
4930
- imageCapabilities(): Promise<{
6778
+ /**
6779
+ * Fetch capabilities overview (simplified list for AI agent discovery).
6780
+ * 公开接口,无需认证。支持 category 过滤。
6781
+ */
6782
+ capabilitiesOverview(category?: "image" | "video" | "audio" | "text" | "tools"): Promise<V3CapabilitiesOverviewResponse>;
6783
+ /**
6784
+ * Fetch variant detail by ID (full params, inputs, invocation info).
6785
+ * 公开接口,无需认证。
6786
+ */
6787
+ capabilitiesDetail(variantId: string): Promise<V3CapabilitiesDetailResponse>;
6788
+ /** Fetch image capabilities (features + variants) via v3 API. */
6789
+ imageCapabilities(): Promise<{
6790
+ success: true;
6791
+ data: {
6792
+ category: string;
6793
+ features: ({
6794
+ id: string;
6795
+ displayName: string;
6796
+ description: string;
6797
+ variants: {
6798
+ id: string;
6799
+ featureTabName: string;
6800
+ creditsPerCall: number;
6801
+ billingType: string;
6802
+ minMembershipLevel: string;
6803
+ maxBatchSize: number;
6804
+ resourceConstraints: {
6805
+ maxFileSize: number;
6806
+ maxFiles: number;
6807
+ acceptedFormats: string[];
6808
+ requiresUpload: boolean;
6809
+ maxResolution?: number | undefined;
6810
+ precheck?: {
6811
+ type: string;
6812
+ description: string;
6813
+ } | undefined;
6814
+ } | null;
6815
+ resultType: "text" | "image" | "audio" | "video";
6816
+ isAsync: boolean;
6817
+ paramsSchema: ({
6818
+ key: string;
6819
+ label: string;
6820
+ type: "select";
6821
+ default?: unknown;
6822
+ group?: "primary" | "advanced" | undefined;
6823
+ visibleWhen?: unknown;
6824
+ clientOnly?: boolean | undefined;
6825
+ hint?: string | undefined;
6826
+ required?: boolean | undefined;
6827
+ options?: {
6828
+ value: string | number | boolean;
6829
+ label: string;
6830
+ thumbnail?: string | undefined;
6831
+ }[] | undefined;
6832
+ catalog?: string | undefined;
6833
+ display?: "dropdown" | "grid" | "pills" | undefined;
6834
+ searchable?: boolean | undefined;
6835
+ } | {
6836
+ key: string;
6837
+ label: string;
6838
+ type: "tab";
6839
+ options: {
6840
+ value: string | number | boolean;
6841
+ label: string;
6842
+ thumbnail?: string | undefined;
6843
+ }[];
6844
+ default?: unknown;
6845
+ group?: "primary" | "advanced" | undefined;
6846
+ visibleWhen?: unknown;
6847
+ clientOnly?: boolean | undefined;
6848
+ hint?: string | undefined;
6849
+ required?: boolean | undefined;
6850
+ } | {
6851
+ key: string;
6852
+ label: string;
6853
+ type: "boolean";
6854
+ default?: unknown;
6855
+ group?: "primary" | "advanced" | undefined;
6856
+ visibleWhen?: unknown;
6857
+ clientOnly?: boolean | undefined;
6858
+ hint?: string | undefined;
6859
+ required?: boolean | undefined;
6860
+ } | {
6861
+ key: string;
6862
+ label: string;
6863
+ type: "text";
6864
+ default?: unknown;
6865
+ group?: "primary" | "advanced" | undefined;
6866
+ visibleWhen?: unknown;
6867
+ clientOnly?: boolean | undefined;
6868
+ hint?: string | undefined;
6869
+ required?: boolean | undefined;
6870
+ multiline?: boolean | undefined;
6871
+ placeholder?: string | undefined;
6872
+ minLength?: number | undefined;
6873
+ maxLength?: number | undefined;
6874
+ } | {
6875
+ key: string;
6876
+ label: string;
6877
+ type: "slider";
6878
+ min: number;
6879
+ max: number;
6880
+ default?: unknown;
6881
+ group?: "primary" | "advanced" | undefined;
6882
+ visibleWhen?: unknown;
6883
+ clientOnly?: boolean | undefined;
6884
+ hint?: string | undefined;
6885
+ required?: boolean | undefined;
6886
+ step?: number | undefined;
6887
+ } | {
6888
+ key: string;
6889
+ label: string;
6890
+ type: "number";
6891
+ default?: unknown;
6892
+ group?: "primary" | "advanced" | undefined;
6893
+ visibleWhen?: unknown;
6894
+ clientOnly?: boolean | undefined;
6895
+ hint?: string | undefined;
6896
+ required?: boolean | undefined;
6897
+ min?: number | undefined;
6898
+ max?: number | undefined;
6899
+ step?: number | undefined;
6900
+ })[];
6901
+ inputSlots: {
6902
+ role: string;
6903
+ accept: "text" | "file" | "image" | "audio" | "video";
6904
+ label: string;
6905
+ key?: string | undefined;
6906
+ required?: boolean | undefined;
6907
+ minCount?: number | undefined;
6908
+ maxCount?: number | undefined;
6909
+ placeholder?: string | undefined;
6910
+ multiline?: boolean | undefined;
6911
+ minLength?: number | undefined;
6912
+ maxLength?: number | undefined;
6913
+ maxFileSize?: number | undefined;
6914
+ acceptFormats?: string[] | undefined;
6915
+ minResolution?: number | undefined;
6916
+ maxResolution?: number | undefined;
6917
+ minDuration?: number | undefined;
6918
+ maxDuration?: number | undefined;
6919
+ hint?: string | undefined;
6920
+ sharedGroup?: string | undefined;
6921
+ sharedMaxCount?: number | undefined;
6922
+ }[];
6923
+ executionMode?: "task" | "streaming" | "sync" | undefined;
6924
+ endpoint?: string | undefined;
6925
+ tags?: string[] | undefined;
6926
+ familyId?: string | undefined;
6927
+ }[];
6928
+ } | {
6929
+ id: string;
6930
+ displayName: string;
6931
+ description: string;
6932
+ endpoint: string;
6933
+ creditsPerCall: number;
6934
+ billingType: string;
6935
+ minMembershipLevel: string;
6936
+ executionMode: "sync";
6937
+ inputSlots: {
6938
+ role: string;
6939
+ accept: "text" | "file" | "image" | "audio" | "video";
6940
+ label: string;
6941
+ key?: string | undefined;
6942
+ required?: boolean | undefined;
6943
+ minCount?: number | undefined;
6944
+ maxCount?: number | undefined;
6945
+ placeholder?: string | undefined;
6946
+ multiline?: boolean | undefined;
6947
+ minLength?: number | undefined;
6948
+ maxLength?: number | undefined;
6949
+ maxFileSize?: number | undefined;
6950
+ acceptFormats?: string[] | undefined;
6951
+ minResolution?: number | undefined;
6952
+ maxResolution?: number | undefined;
6953
+ minDuration?: number | undefined;
6954
+ maxDuration?: number | undefined;
6955
+ hint?: string | undefined;
6956
+ sharedGroup?: string | undefined;
6957
+ sharedMaxCount?: number | undefined;
6958
+ }[];
6959
+ paramsSchema: ({
6960
+ key: string;
6961
+ label: string;
6962
+ type: "select";
6963
+ default?: unknown;
6964
+ group?: "primary" | "advanced" | undefined;
6965
+ visibleWhen?: unknown;
6966
+ clientOnly?: boolean | undefined;
6967
+ hint?: string | undefined;
6968
+ required?: boolean | undefined;
6969
+ options?: {
6970
+ value: string | number | boolean;
6971
+ label: string;
6972
+ thumbnail?: string | undefined;
6973
+ }[] | undefined;
6974
+ catalog?: string | undefined;
6975
+ display?: "dropdown" | "grid" | "pills" | undefined;
6976
+ searchable?: boolean | undefined;
6977
+ } | {
6978
+ key: string;
6979
+ label: string;
6980
+ type: "tab";
6981
+ options: {
6982
+ value: string | number | boolean;
6983
+ label: string;
6984
+ thumbnail?: string | undefined;
6985
+ }[];
6986
+ default?: unknown;
6987
+ group?: "primary" | "advanced" | undefined;
6988
+ visibleWhen?: unknown;
6989
+ clientOnly?: boolean | undefined;
6990
+ hint?: string | undefined;
6991
+ required?: boolean | undefined;
6992
+ } | {
6993
+ key: string;
6994
+ label: string;
6995
+ type: "boolean";
6996
+ default?: unknown;
6997
+ group?: "primary" | "advanced" | undefined;
6998
+ visibleWhen?: unknown;
6999
+ clientOnly?: boolean | undefined;
7000
+ hint?: string | undefined;
7001
+ required?: boolean | undefined;
7002
+ } | {
7003
+ key: string;
7004
+ label: string;
7005
+ type: "text";
7006
+ default?: unknown;
7007
+ group?: "primary" | "advanced" | undefined;
7008
+ visibleWhen?: unknown;
7009
+ clientOnly?: boolean | undefined;
7010
+ hint?: string | undefined;
7011
+ required?: boolean | undefined;
7012
+ multiline?: boolean | undefined;
7013
+ placeholder?: string | undefined;
7014
+ minLength?: number | undefined;
7015
+ maxLength?: number | undefined;
7016
+ } | {
7017
+ key: string;
7018
+ label: string;
7019
+ type: "slider";
7020
+ min: number;
7021
+ max: number;
7022
+ default?: unknown;
7023
+ group?: "primary" | "advanced" | undefined;
7024
+ visibleWhen?: unknown;
7025
+ clientOnly?: boolean | undefined;
7026
+ hint?: string | undefined;
7027
+ required?: boolean | undefined;
7028
+ step?: number | undefined;
7029
+ } | {
7030
+ key: string;
7031
+ label: string;
7032
+ type: "number";
7033
+ default?: unknown;
7034
+ group?: "primary" | "advanced" | undefined;
7035
+ visibleWhen?: unknown;
7036
+ clientOnly?: boolean | undefined;
7037
+ hint?: string | undefined;
7038
+ required?: boolean | undefined;
7039
+ min?: number | undefined;
7040
+ max?: number | undefined;
7041
+ step?: number | undefined;
7042
+ })[];
7043
+ })[];
7044
+ updatedAt?: string | undefined;
7045
+ };
7046
+ }>;
7047
+ /** Fetch video capabilities (features + variants) via v3 API. */
7048
+ videoCapabilities(): Promise<{
4931
7049
  success: true;
4932
7050
  data: {
4933
7051
  category: string;
4934
- features: {
7052
+ features: ({
4935
7053
  id: string;
4936
7054
  displayName: string;
4937
7055
  description: string;
@@ -5066,16 +7184,131 @@ declare class AiClient {
5066
7184
  tags?: string[] | undefined;
5067
7185
  familyId?: string | undefined;
5068
7186
  }[];
5069
- }[];
7187
+ } | {
7188
+ id: string;
7189
+ displayName: string;
7190
+ description: string;
7191
+ endpoint: string;
7192
+ creditsPerCall: number;
7193
+ billingType: string;
7194
+ minMembershipLevel: string;
7195
+ executionMode: "sync";
7196
+ inputSlots: {
7197
+ role: string;
7198
+ accept: "text" | "file" | "image" | "audio" | "video";
7199
+ label: string;
7200
+ key?: string | undefined;
7201
+ required?: boolean | undefined;
7202
+ minCount?: number | undefined;
7203
+ maxCount?: number | undefined;
7204
+ placeholder?: string | undefined;
7205
+ multiline?: boolean | undefined;
7206
+ minLength?: number | undefined;
7207
+ maxLength?: number | undefined;
7208
+ maxFileSize?: number | undefined;
7209
+ acceptFormats?: string[] | undefined;
7210
+ minResolution?: number | undefined;
7211
+ maxResolution?: number | undefined;
7212
+ minDuration?: number | undefined;
7213
+ maxDuration?: number | undefined;
7214
+ hint?: string | undefined;
7215
+ sharedGroup?: string | undefined;
7216
+ sharedMaxCount?: number | undefined;
7217
+ }[];
7218
+ paramsSchema: ({
7219
+ key: string;
7220
+ label: string;
7221
+ type: "select";
7222
+ default?: unknown;
7223
+ group?: "primary" | "advanced" | undefined;
7224
+ visibleWhen?: unknown;
7225
+ clientOnly?: boolean | undefined;
7226
+ hint?: string | undefined;
7227
+ required?: boolean | undefined;
7228
+ options?: {
7229
+ value: string | number | boolean;
7230
+ label: string;
7231
+ thumbnail?: string | undefined;
7232
+ }[] | undefined;
7233
+ catalog?: string | undefined;
7234
+ display?: "dropdown" | "grid" | "pills" | undefined;
7235
+ searchable?: boolean | undefined;
7236
+ } | {
7237
+ key: string;
7238
+ label: string;
7239
+ type: "tab";
7240
+ options: {
7241
+ value: string | number | boolean;
7242
+ label: string;
7243
+ thumbnail?: string | undefined;
7244
+ }[];
7245
+ default?: unknown;
7246
+ group?: "primary" | "advanced" | undefined;
7247
+ visibleWhen?: unknown;
7248
+ clientOnly?: boolean | undefined;
7249
+ hint?: string | undefined;
7250
+ required?: boolean | undefined;
7251
+ } | {
7252
+ key: string;
7253
+ label: string;
7254
+ type: "boolean";
7255
+ default?: unknown;
7256
+ group?: "primary" | "advanced" | undefined;
7257
+ visibleWhen?: unknown;
7258
+ clientOnly?: boolean | undefined;
7259
+ hint?: string | undefined;
7260
+ required?: boolean | undefined;
7261
+ } | {
7262
+ key: string;
7263
+ label: string;
7264
+ type: "text";
7265
+ default?: unknown;
7266
+ group?: "primary" | "advanced" | undefined;
7267
+ visibleWhen?: unknown;
7268
+ clientOnly?: boolean | undefined;
7269
+ hint?: string | undefined;
7270
+ required?: boolean | undefined;
7271
+ multiline?: boolean | undefined;
7272
+ placeholder?: string | undefined;
7273
+ minLength?: number | undefined;
7274
+ maxLength?: number | undefined;
7275
+ } | {
7276
+ key: string;
7277
+ label: string;
7278
+ type: "slider";
7279
+ min: number;
7280
+ max: number;
7281
+ default?: unknown;
7282
+ group?: "primary" | "advanced" | undefined;
7283
+ visibleWhen?: unknown;
7284
+ clientOnly?: boolean | undefined;
7285
+ hint?: string | undefined;
7286
+ required?: boolean | undefined;
7287
+ step?: number | undefined;
7288
+ } | {
7289
+ key: string;
7290
+ label: string;
7291
+ type: "number";
7292
+ default?: unknown;
7293
+ group?: "primary" | "advanced" | undefined;
7294
+ visibleWhen?: unknown;
7295
+ clientOnly?: boolean | undefined;
7296
+ hint?: string | undefined;
7297
+ required?: boolean | undefined;
7298
+ min?: number | undefined;
7299
+ max?: number | undefined;
7300
+ step?: number | undefined;
7301
+ })[];
7302
+ })[];
5070
7303
  updatedAt?: string | undefined;
5071
7304
  };
5072
7305
  }>;
5073
- /** Fetch video capabilities (features + variants) via v3 API. */
5074
- videoCapabilities(): Promise<{
7306
+ /** Fetch audio capabilities (features + variants) via v3 API. */
7307
+ audioCapabilities(): Promise<{
5075
7308
  success: true;
5076
7309
  data: {
5077
7310
  category: string;
5078
- features: {
7311
+ features: ({
5079
7312
  id: string;
5080
7313
  displayName: string;
5081
7314
  description: string;
@@ -5210,16 +7443,131 @@ declare class AiClient {
5210
7443
  tags?: string[] | undefined;
5211
7444
  familyId?: string | undefined;
5212
7445
  }[];
5213
- }[];
7446
+ } | {
7447
+ id: string;
7448
+ displayName: string;
7449
+ description: string;
7450
+ endpoint: string;
7451
+ creditsPerCall: number;
7452
+ billingType: string;
7453
+ minMembershipLevel: string;
7454
+ executionMode: "sync";
7455
+ inputSlots: {
7456
+ role: string;
7457
+ accept: "text" | "file" | "image" | "audio" | "video";
7458
+ label: string;
7459
+ key?: string | undefined;
7460
+ required?: boolean | undefined;
7461
+ minCount?: number | undefined;
7462
+ maxCount?: number | undefined;
7463
+ placeholder?: string | undefined;
7464
+ multiline?: boolean | undefined;
7465
+ minLength?: number | undefined;
7466
+ maxLength?: number | undefined;
7467
+ maxFileSize?: number | undefined;
7468
+ acceptFormats?: string[] | undefined;
7469
+ minResolution?: number | undefined;
7470
+ maxResolution?: number | undefined;
7471
+ minDuration?: number | undefined;
7472
+ maxDuration?: number | undefined;
7473
+ hint?: string | undefined;
7474
+ sharedGroup?: string | undefined;
7475
+ sharedMaxCount?: number | undefined;
7476
+ }[];
7477
+ paramsSchema: ({
7478
+ key: string;
7479
+ label: string;
7480
+ type: "select";
7481
+ default?: unknown;
7482
+ group?: "primary" | "advanced" | undefined;
7483
+ visibleWhen?: unknown;
7484
+ clientOnly?: boolean | undefined;
7485
+ hint?: string | undefined;
7486
+ required?: boolean | undefined;
7487
+ options?: {
7488
+ value: string | number | boolean;
7489
+ label: string;
7490
+ thumbnail?: string | undefined;
7491
+ }[] | undefined;
7492
+ catalog?: string | undefined;
7493
+ display?: "dropdown" | "grid" | "pills" | undefined;
7494
+ searchable?: boolean | undefined;
7495
+ } | {
7496
+ key: string;
7497
+ label: string;
7498
+ type: "tab";
7499
+ options: {
7500
+ value: string | number | boolean;
7501
+ label: string;
7502
+ thumbnail?: string | undefined;
7503
+ }[];
7504
+ default?: unknown;
7505
+ group?: "primary" | "advanced" | undefined;
7506
+ visibleWhen?: unknown;
7507
+ clientOnly?: boolean | undefined;
7508
+ hint?: string | undefined;
7509
+ required?: boolean | undefined;
7510
+ } | {
7511
+ key: string;
7512
+ label: string;
7513
+ type: "boolean";
7514
+ default?: unknown;
7515
+ group?: "primary" | "advanced" | undefined;
7516
+ visibleWhen?: unknown;
7517
+ clientOnly?: boolean | undefined;
7518
+ hint?: string | undefined;
7519
+ required?: boolean | undefined;
7520
+ } | {
7521
+ key: string;
7522
+ label: string;
7523
+ type: "text";
7524
+ default?: unknown;
7525
+ group?: "primary" | "advanced" | undefined;
7526
+ visibleWhen?: unknown;
7527
+ clientOnly?: boolean | undefined;
7528
+ hint?: string | undefined;
7529
+ required?: boolean | undefined;
7530
+ multiline?: boolean | undefined;
7531
+ placeholder?: string | undefined;
7532
+ minLength?: number | undefined;
7533
+ maxLength?: number | undefined;
7534
+ } | {
7535
+ key: string;
7536
+ label: string;
7537
+ type: "slider";
7538
+ min: number;
7539
+ max: number;
7540
+ default?: unknown;
7541
+ group?: "primary" | "advanced" | undefined;
7542
+ visibleWhen?: unknown;
7543
+ clientOnly?: boolean | undefined;
7544
+ hint?: string | undefined;
7545
+ required?: boolean | undefined;
7546
+ step?: number | undefined;
7547
+ } | {
7548
+ key: string;
7549
+ label: string;
7550
+ type: "number";
7551
+ default?: unknown;
7552
+ group?: "primary" | "advanced" | undefined;
7553
+ visibleWhen?: unknown;
7554
+ clientOnly?: boolean | undefined;
7555
+ hint?: string | undefined;
7556
+ required?: boolean | undefined;
7557
+ min?: number | undefined;
7558
+ max?: number | undefined;
7559
+ step?: number | undefined;
7560
+ })[];
7561
+ })[];
5214
7562
  updatedAt?: string | undefined;
5215
7563
  };
5216
7564
  }>;
5217
- /** Fetch audio capabilities (features + variants) via v3 API. */
5218
- audioCapabilities(): Promise<{
7565
+ /** Fetch text capabilities (features + variants) via v3 API. */
7566
+ textCapabilities(): Promise<{
5219
7567
  success: true;
5220
7568
  data: {
5221
7569
  category: string;
5222
- features: {
7570
+ features: ({
5223
7571
  id: string;
5224
7572
  displayName: string;
5225
7573
  description: string;
@@ -5354,16 +7702,131 @@ declare class AiClient {
5354
7702
  tags?: string[] | undefined;
5355
7703
  familyId?: string | undefined;
5356
7704
  }[];
5357
- }[];
7705
+ } | {
7706
+ id: string;
7707
+ displayName: string;
7708
+ description: string;
7709
+ endpoint: string;
7710
+ creditsPerCall: number;
7711
+ billingType: string;
7712
+ minMembershipLevel: string;
7713
+ executionMode: "sync";
7714
+ inputSlots: {
7715
+ role: string;
7716
+ accept: "text" | "file" | "image" | "audio" | "video";
7717
+ label: string;
7718
+ key?: string | undefined;
7719
+ required?: boolean | undefined;
7720
+ minCount?: number | undefined;
7721
+ maxCount?: number | undefined;
7722
+ placeholder?: string | undefined;
7723
+ multiline?: boolean | undefined;
7724
+ minLength?: number | undefined;
7725
+ maxLength?: number | undefined;
7726
+ maxFileSize?: number | undefined;
7727
+ acceptFormats?: string[] | undefined;
7728
+ minResolution?: number | undefined;
7729
+ maxResolution?: number | undefined;
7730
+ minDuration?: number | undefined;
7731
+ maxDuration?: number | undefined;
7732
+ hint?: string | undefined;
7733
+ sharedGroup?: string | undefined;
7734
+ sharedMaxCount?: number | undefined;
7735
+ }[];
7736
+ paramsSchema: ({
7737
+ key: string;
7738
+ label: string;
7739
+ type: "select";
7740
+ default?: unknown;
7741
+ group?: "primary" | "advanced" | undefined;
7742
+ visibleWhen?: unknown;
7743
+ clientOnly?: boolean | undefined;
7744
+ hint?: string | undefined;
7745
+ required?: boolean | undefined;
7746
+ options?: {
7747
+ value: string | number | boolean;
7748
+ label: string;
7749
+ thumbnail?: string | undefined;
7750
+ }[] | undefined;
7751
+ catalog?: string | undefined;
7752
+ display?: "dropdown" | "grid" | "pills" | undefined;
7753
+ searchable?: boolean | undefined;
7754
+ } | {
7755
+ key: string;
7756
+ label: string;
7757
+ type: "tab";
7758
+ options: {
7759
+ value: string | number | boolean;
7760
+ label: string;
7761
+ thumbnail?: string | undefined;
7762
+ }[];
7763
+ default?: unknown;
7764
+ group?: "primary" | "advanced" | undefined;
7765
+ visibleWhen?: unknown;
7766
+ clientOnly?: boolean | undefined;
7767
+ hint?: string | undefined;
7768
+ required?: boolean | undefined;
7769
+ } | {
7770
+ key: string;
7771
+ label: string;
7772
+ type: "boolean";
7773
+ default?: unknown;
7774
+ group?: "primary" | "advanced" | undefined;
7775
+ visibleWhen?: unknown;
7776
+ clientOnly?: boolean | undefined;
7777
+ hint?: string | undefined;
7778
+ required?: boolean | undefined;
7779
+ } | {
7780
+ key: string;
7781
+ label: string;
7782
+ type: "text";
7783
+ default?: unknown;
7784
+ group?: "primary" | "advanced" | undefined;
7785
+ visibleWhen?: unknown;
7786
+ clientOnly?: boolean | undefined;
7787
+ hint?: string | undefined;
7788
+ required?: boolean | undefined;
7789
+ multiline?: boolean | undefined;
7790
+ placeholder?: string | undefined;
7791
+ minLength?: number | undefined;
7792
+ maxLength?: number | undefined;
7793
+ } | {
7794
+ key: string;
7795
+ label: string;
7796
+ type: "slider";
7797
+ min: number;
7798
+ max: number;
7799
+ default?: unknown;
7800
+ group?: "primary" | "advanced" | undefined;
7801
+ visibleWhen?: unknown;
7802
+ clientOnly?: boolean | undefined;
7803
+ hint?: string | undefined;
7804
+ required?: boolean | undefined;
7805
+ step?: number | undefined;
7806
+ } | {
7807
+ key: string;
7808
+ label: string;
7809
+ type: "number";
7810
+ default?: unknown;
7811
+ group?: "primary" | "advanced" | undefined;
7812
+ visibleWhen?: unknown;
7813
+ clientOnly?: boolean | undefined;
7814
+ hint?: string | undefined;
7815
+ required?: boolean | undefined;
7816
+ min?: number | undefined;
7817
+ max?: number | undefined;
7818
+ step?: number | undefined;
7819
+ })[];
7820
+ })[];
5358
7821
  updatedAt?: string | undefined;
5359
7822
  };
5360
7823
  }>;
5361
- /** Fetch text capabilities (features + variants) via v3 API. */
5362
- textCapabilities(): Promise<{
7824
+ /** Fetch chat capabilities (features + variants) via v3 API. */
7825
+ chatCapabilities(): Promise<{
5363
7826
  success: true;
5364
7827
  data: {
5365
7828
  category: string;
5366
- features: {
7829
+ features: ({
5367
7830
  id: string;
5368
7831
  displayName: string;
5369
7832
  description: string;
@@ -5498,10 +7961,258 @@ declare class AiClient {
5498
7961
  tags?: string[] | undefined;
5499
7962
  familyId?: string | undefined;
5500
7963
  }[];
7964
+ } | {
7965
+ id: string;
7966
+ displayName: string;
7967
+ description: string;
7968
+ endpoint: string;
7969
+ creditsPerCall: number;
7970
+ billingType: string;
7971
+ minMembershipLevel: string;
7972
+ executionMode: "sync";
7973
+ inputSlots: {
7974
+ role: string;
7975
+ accept: "text" | "file" | "image" | "audio" | "video";
7976
+ label: string;
7977
+ key?: string | undefined;
7978
+ required?: boolean | undefined;
7979
+ minCount?: number | undefined;
7980
+ maxCount?: number | undefined;
7981
+ placeholder?: string | undefined;
7982
+ multiline?: boolean | undefined;
7983
+ minLength?: number | undefined;
7984
+ maxLength?: number | undefined;
7985
+ maxFileSize?: number | undefined;
7986
+ acceptFormats?: string[] | undefined;
7987
+ minResolution?: number | undefined;
7988
+ maxResolution?: number | undefined;
7989
+ minDuration?: number | undefined;
7990
+ maxDuration?: number | undefined;
7991
+ hint?: string | undefined;
7992
+ sharedGroup?: string | undefined;
7993
+ sharedMaxCount?: number | undefined;
7994
+ }[];
7995
+ paramsSchema: ({
7996
+ key: string;
7997
+ label: string;
7998
+ type: "select";
7999
+ default?: unknown;
8000
+ group?: "primary" | "advanced" | undefined;
8001
+ visibleWhen?: unknown;
8002
+ clientOnly?: boolean | undefined;
8003
+ hint?: string | undefined;
8004
+ required?: boolean | undefined;
8005
+ options?: {
8006
+ value: string | number | boolean;
8007
+ label: string;
8008
+ thumbnail?: string | undefined;
8009
+ }[] | undefined;
8010
+ catalog?: string | undefined;
8011
+ display?: "dropdown" | "grid" | "pills" | undefined;
8012
+ searchable?: boolean | undefined;
8013
+ } | {
8014
+ key: string;
8015
+ label: string;
8016
+ type: "tab";
8017
+ options: {
8018
+ value: string | number | boolean;
8019
+ label: string;
8020
+ thumbnail?: string | undefined;
8021
+ }[];
8022
+ default?: unknown;
8023
+ group?: "primary" | "advanced" | undefined;
8024
+ visibleWhen?: unknown;
8025
+ clientOnly?: boolean | undefined;
8026
+ hint?: string | undefined;
8027
+ required?: boolean | undefined;
8028
+ } | {
8029
+ key: string;
8030
+ label: string;
8031
+ type: "boolean";
8032
+ default?: unknown;
8033
+ group?: "primary" | "advanced" | undefined;
8034
+ visibleWhen?: unknown;
8035
+ clientOnly?: boolean | undefined;
8036
+ hint?: string | undefined;
8037
+ required?: boolean | undefined;
8038
+ } | {
8039
+ key: string;
8040
+ label: string;
8041
+ type: "text";
8042
+ default?: unknown;
8043
+ group?: "primary" | "advanced" | undefined;
8044
+ visibleWhen?: unknown;
8045
+ clientOnly?: boolean | undefined;
8046
+ hint?: string | undefined;
8047
+ required?: boolean | undefined;
8048
+ multiline?: boolean | undefined;
8049
+ placeholder?: string | undefined;
8050
+ minLength?: number | undefined;
8051
+ maxLength?: number | undefined;
8052
+ } | {
8053
+ key: string;
8054
+ label: string;
8055
+ type: "slider";
8056
+ min: number;
8057
+ max: number;
8058
+ default?: unknown;
8059
+ group?: "primary" | "advanced" | undefined;
8060
+ visibleWhen?: unknown;
8061
+ clientOnly?: boolean | undefined;
8062
+ hint?: string | undefined;
8063
+ required?: boolean | undefined;
8064
+ step?: number | undefined;
8065
+ } | {
8066
+ key: string;
8067
+ label: string;
8068
+ type: "number";
8069
+ default?: unknown;
8070
+ group?: "primary" | "advanced" | undefined;
8071
+ visibleWhen?: unknown;
8072
+ clientOnly?: boolean | undefined;
8073
+ hint?: string | undefined;
8074
+ required?: boolean | undefined;
8075
+ min?: number | undefined;
8076
+ max?: number | undefined;
8077
+ step?: number | undefined;
8078
+ })[];
8079
+ })[];
8080
+ updatedAt?: string | undefined;
8081
+ };
8082
+ }>;
8083
+ /**
8084
+ * Fetch tools capabilities via v3 API.
8085
+ * Tool 能力的响应已扁平化:features 数组元素为 {@link V3ToolFeature}(无 variants 字段),
8086
+ * 直接携带 endpoint / inputSlots / paramsSchema / creditsPerCall 等调用所需字段。
8087
+ */
8088
+ toolsCapabilities(): Promise<{
8089
+ success: true;
8090
+ data: {
8091
+ category: "tools";
8092
+ features: {
8093
+ id: string;
8094
+ displayName: string;
8095
+ description: string;
8096
+ endpoint: string;
8097
+ creditsPerCall: number;
8098
+ billingType: string;
8099
+ minMembershipLevel: string;
8100
+ executionMode: "sync";
8101
+ inputSlots: {
8102
+ role: string;
8103
+ accept: "text" | "file" | "image" | "audio" | "video";
8104
+ label: string;
8105
+ key?: string | undefined;
8106
+ required?: boolean | undefined;
8107
+ minCount?: number | undefined;
8108
+ maxCount?: number | undefined;
8109
+ placeholder?: string | undefined;
8110
+ multiline?: boolean | undefined;
8111
+ minLength?: number | undefined;
8112
+ maxLength?: number | undefined;
8113
+ maxFileSize?: number | undefined;
8114
+ acceptFormats?: string[] | undefined;
8115
+ minResolution?: number | undefined;
8116
+ maxResolution?: number | undefined;
8117
+ minDuration?: number | undefined;
8118
+ maxDuration?: number | undefined;
8119
+ hint?: string | undefined;
8120
+ sharedGroup?: string | undefined;
8121
+ sharedMaxCount?: number | undefined;
8122
+ }[];
8123
+ paramsSchema: ({
8124
+ key: string;
8125
+ label: string;
8126
+ type: "select";
8127
+ default?: unknown;
8128
+ group?: "primary" | "advanced" | undefined;
8129
+ visibleWhen?: unknown;
8130
+ clientOnly?: boolean | undefined;
8131
+ hint?: string | undefined;
8132
+ required?: boolean | undefined;
8133
+ options?: {
8134
+ value: string | number | boolean;
8135
+ label: string;
8136
+ thumbnail?: string | undefined;
8137
+ }[] | undefined;
8138
+ catalog?: string | undefined;
8139
+ display?: "dropdown" | "grid" | "pills" | undefined;
8140
+ searchable?: boolean | undefined;
8141
+ } | {
8142
+ key: string;
8143
+ label: string;
8144
+ type: "tab";
8145
+ options: {
8146
+ value: string | number | boolean;
8147
+ label: string;
8148
+ thumbnail?: string | undefined;
8149
+ }[];
8150
+ default?: unknown;
8151
+ group?: "primary" | "advanced" | undefined;
8152
+ visibleWhen?: unknown;
8153
+ clientOnly?: boolean | undefined;
8154
+ hint?: string | undefined;
8155
+ required?: boolean | undefined;
8156
+ } | {
8157
+ key: string;
8158
+ label: string;
8159
+ type: "boolean";
8160
+ default?: unknown;
8161
+ group?: "primary" | "advanced" | undefined;
8162
+ visibleWhen?: unknown;
8163
+ clientOnly?: boolean | undefined;
8164
+ hint?: string | undefined;
8165
+ required?: boolean | undefined;
8166
+ } | {
8167
+ key: string;
8168
+ label: string;
8169
+ type: "text";
8170
+ default?: unknown;
8171
+ group?: "primary" | "advanced" | undefined;
8172
+ visibleWhen?: unknown;
8173
+ clientOnly?: boolean | undefined;
8174
+ hint?: string | undefined;
8175
+ required?: boolean | undefined;
8176
+ multiline?: boolean | undefined;
8177
+ placeholder?: string | undefined;
8178
+ minLength?: number | undefined;
8179
+ maxLength?: number | undefined;
8180
+ } | {
8181
+ key: string;
8182
+ label: string;
8183
+ type: "slider";
8184
+ min: number;
8185
+ max: number;
8186
+ default?: unknown;
8187
+ group?: "primary" | "advanced" | undefined;
8188
+ visibleWhen?: unknown;
8189
+ clientOnly?: boolean | undefined;
8190
+ hint?: string | undefined;
8191
+ required?: boolean | undefined;
8192
+ step?: number | undefined;
8193
+ } | {
8194
+ key: string;
8195
+ label: string;
8196
+ type: "number";
8197
+ default?: unknown;
8198
+ group?: "primary" | "advanced" | undefined;
8199
+ visibleWhen?: unknown;
8200
+ clientOnly?: boolean | undefined;
8201
+ hint?: string | undefined;
8202
+ required?: boolean | undefined;
8203
+ min?: number | undefined;
8204
+ max?: number | undefined;
8205
+ step?: number | undefined;
8206
+ })[];
5501
8207
  }[];
5502
8208
  updatedAt?: string | undefined;
5503
8209
  };
5504
8210
  }>;
8211
+ /**
8212
+ * Execute a v3 tool synchronously (e.g. webSearch / webSearchImage).
8213
+ * `variant` 可省略 —— 工具 feature 强制单一 variant,服务端按 feature 自动解析。
8214
+ */
8215
+ v3ToolExecute(payload: V3ToolExecuteRequest): Promise<V3ToolExecuteResponse>;
5505
8216
  /** Submit a v3 text generate request (sync mode, returns parsed JSON). */
5506
8217
  v3TextGenerate(payload: V3TextGenerateRequest): Promise<V3TextGenerateResponse>;
5507
8218
  /**
@@ -5806,16 +8517,31 @@ declare const MEDIA_FEATURES: {
5806
8517
  readonly webSearch: {
5807
8518
  readonly id: "webSearch";
5808
8519
  readonly label: {
5809
- readonly zh: "联网搜索";
5810
- readonly "zh-TW": "聯網搜尋";
8520
+ readonly zh: "网页搜索";
8521
+ readonly "zh-TW": "網頁搜尋";
5811
8522
  readonly en: "Web Search";
5812
8523
  readonly ja: "ウェブ検索";
5813
8524
  };
5814
8525
  readonly description: {
5815
- readonly zh: "联网搜索最新信息并整理回答";
5816
- readonly "zh-TW": "聯網搜尋最新資訊並整理回答";
5817
- readonly en: "Search the web for latest information and synthesize answers";
5818
- readonly ja: "ウェブ検索で最新情報を取得し回答をまとめる";
8526
+ readonly zh: "搜索互联网网页并返回结构化文字结果";
8527
+ readonly "zh-TW": "搜尋網頁並回傳結構化文字結果";
8528
+ readonly en: "Search web pages and return structured text results";
8529
+ readonly ja: "ウェブページを検索し構造化テキスト結果を返す";
8530
+ };
8531
+ };
8532
+ readonly webSearchImage: {
8533
+ readonly id: "webSearchImage";
8534
+ readonly label: {
8535
+ readonly zh: "图片搜索";
8536
+ readonly "zh-TW": "圖片搜尋";
8537
+ readonly en: "Image Search";
8538
+ readonly ja: "画像検索";
8539
+ };
8540
+ readonly description: {
8541
+ readonly zh: "搜索互联网图片并返回图片链接与缩略图";
8542
+ readonly "zh-TW": "搜尋網路圖片並回傳連結與縮圖";
8543
+ readonly en: "Search the web for images and return links with thumbnails";
8544
+ readonly ja: "ウェブ上の画像を検索し、リンクとサムネイルを返す";
5819
8545
  };
5820
8546
  };
5821
8547
  readonly speechToText: {
@@ -6402,6 +9128,9 @@ type index$9_V3TextGenerateRequest = V3TextGenerateRequest;
6402
9128
  type index$9_V3TextGenerateResponse = V3TextGenerateResponse;
6403
9129
  type index$9_V3ToolExecuteRequest = V3ToolExecuteRequest;
6404
9130
  type index$9_V3ToolExecuteResponse = V3ToolExecuteResponse;
9131
+ type index$9_V3ToolFeature = V3ToolFeature;
9132
+ type index$9_V3ToolsCapabilitiesData = V3ToolsCapabilitiesData;
9133
+ type index$9_V3ToolsCapabilitiesResponse = V3ToolsCapabilitiesResponse;
6405
9134
  type index$9_V3UploadResponse = V3UploadResponse;
6406
9135
  type index$9_V3Variant = V3Variant;
6407
9136
  declare const index$9_aiChatCompletionsRequestSchema: typeof aiChatCompletionsRequestSchema;
@@ -6457,10 +9186,13 @@ declare const index$9_v3TextGenerateRequestSchema: typeof v3TextGenerateRequestS
6457
9186
  declare const index$9_v3TextGenerateResponseSchema: typeof v3TextGenerateResponseSchema;
6458
9187
  declare const index$9_v3ToolExecuteRequestSchema: typeof v3ToolExecuteRequestSchema;
6459
9188
  declare const index$9_v3ToolExecuteResponseSchema: typeof v3ToolExecuteResponseSchema;
9189
+ declare const index$9_v3ToolFeatureSchema: typeof v3ToolFeatureSchema;
9190
+ declare const index$9_v3ToolsCapabilitiesDataSchema: typeof v3ToolsCapabilitiesDataSchema;
9191
+ declare const index$9_v3ToolsCapabilitiesResponseSchema: typeof v3ToolsCapabilitiesResponseSchema;
6460
9192
  declare const index$9_v3UploadResponseSchema: typeof v3UploadResponseSchema;
6461
9193
  declare const index$9_v3VariantSchema: typeof v3VariantSchema;
6462
9194
  declare namespace index$9 {
6463
- 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_V3CapabilitiesDetailResponse as V3CapabilitiesDetailResponse, type index$9_V3CapabilitiesOverviewRequest as V3CapabilitiesOverviewRequest, type index$9_V3CapabilitiesOverviewResponse as V3CapabilitiesOverviewResponse, 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_V3TextChatRequest as V3TextChatRequest, type index$9_V3TextGenerateRequest as V3TextGenerateRequest, type index$9_V3TextGenerateResponse as V3TextGenerateResponse, type index$9_V3ToolExecuteRequest as V3ToolExecuteRequest, type index$9_V3ToolExecuteResponse as V3ToolExecuteResponse, 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_v3CapabilitiesDetailResponseSchema as v3CapabilitiesDetailResponseSchema, index$9_v3CapabilitiesOverviewRequestSchema as v3CapabilitiesOverviewRequestSchema, index$9_v3CapabilitiesOverviewResponseSchema as v3CapabilitiesOverviewResponseSchema, 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_v3TextChatRequestSchema as v3TextChatRequestSchema, index$9_v3TextGenerateRequestSchema as v3TextGenerateRequestSchema, index$9_v3TextGenerateResponseSchema as v3TextGenerateResponseSchema, index$9_v3ToolExecuteRequestSchema as v3ToolExecuteRequestSchema, index$9_v3ToolExecuteResponseSchema as v3ToolExecuteResponseSchema, index$9_v3UploadResponseSchema as v3UploadResponseSchema, index$9_v3VariantSchema as v3VariantSchema };
9195
+ 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_V3CapabilitiesDetailResponse as V3CapabilitiesDetailResponse, type index$9_V3CapabilitiesOverviewRequest as V3CapabilitiesOverviewRequest, type index$9_V3CapabilitiesOverviewResponse as V3CapabilitiesOverviewResponse, 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_V3TextChatRequest as V3TextChatRequest, type index$9_V3TextGenerateRequest as V3TextGenerateRequest, type index$9_V3TextGenerateResponse as V3TextGenerateResponse, type index$9_V3ToolExecuteRequest as V3ToolExecuteRequest, type index$9_V3ToolExecuteResponse as V3ToolExecuteResponse, type index$9_V3ToolFeature as V3ToolFeature, type index$9_V3ToolsCapabilitiesData as V3ToolsCapabilitiesData, type index$9_V3ToolsCapabilitiesResponse as V3ToolsCapabilitiesResponse, 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_v3CapabilitiesDetailResponseSchema as v3CapabilitiesDetailResponseSchema, index$9_v3CapabilitiesOverviewRequestSchema as v3CapabilitiesOverviewRequestSchema, index$9_v3CapabilitiesOverviewResponseSchema as v3CapabilitiesOverviewResponseSchema, 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_v3TextChatRequestSchema as v3TextChatRequestSchema, index$9_v3TextGenerateRequestSchema as v3TextGenerateRequestSchema, index$9_v3TextGenerateResponseSchema as v3TextGenerateResponseSchema, index$9_v3ToolExecuteRequestSchema as v3ToolExecuteRequestSchema, index$9_v3ToolExecuteResponseSchema as v3ToolExecuteResponseSchema, index$9_v3ToolFeatureSchema as v3ToolFeatureSchema, index$9_v3ToolsCapabilitiesDataSchema as v3ToolsCapabilitiesDataSchema, index$9_v3ToolsCapabilitiesResponseSchema as v3ToolsCapabilitiesResponseSchema, index$9_v3UploadResponseSchema as v3UploadResponseSchema, index$9_v3VariantSchema as v3VariantSchema };
6464
9196
  }
6465
9197
 
6466
9198
  declare const aiToolsEndpoints: {
@@ -8644,4 +11376,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
8644
11376
  transformer: false;
8645
11377
  }, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
8646
11378
 
8647
- 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 MarketSkillEntry, 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 SkillMarketCheckUpdatesRequest, type SkillMarketCheckUpdatesResponse, SkillMarketClient, type SkillMarketDetailResponse, type SkillMarketListRequest, type SkillMarketListResponse, type SkillMarketRateRequest, type SkillMarketRateResponse, 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 V3CapabilitiesDetailResponse, type V3CapabilitiesOverviewRequest, type V3CapabilitiesOverviewResponse, 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 V3TextChatRequest, type V3TextGenerateRequest, type V3TextGenerateResponse, type V3ToolExecuteRequest, type V3ToolExecuteResponse, 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, marketSkillEntrySchema, 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, skillMarketCheckUpdatesRequestSchema, skillMarketCheckUpdatesResponseSchema, skillMarketDetailResponseSchema, skillMarketEndpoints, skillMarketListRequestSchema, skillMarketListResponseSchema, index$2 as skillMarketModule, skillMarketRateRequestSchema, skillMarketRateResponseSchema, 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, v3CapabilitiesDetailResponseSchema, v3CapabilitiesOverviewRequestSchema, v3CapabilitiesOverviewResponseSchema, v3CapabilitiesResponseSchema, v3CreditEstimateSchema, v3EstimatePriceRequestSchema, v3EstimatePriceResponseSchema, v3FeatureSchema, v3GenerateRequestSchema, v3QueueRequestSchema, v3QueueResponseSchema, v3QueueTicketSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3TaskSSEEventSchema, v3TextChatRequestSchema, v3TextGenerateRequestSchema, v3TextGenerateResponseSchema, v3ToolExecuteRequestSchema, v3ToolExecuteResponseSchema, v3UploadResponseSchema, v3VariantSchema };
11379
+ 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 MarketSkillEntry, 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 SkillMarketCheckUpdatesRequest, type SkillMarketCheckUpdatesResponse, SkillMarketClient, type SkillMarketDetailResponse, type SkillMarketListRequest, type SkillMarketListResponse, type SkillMarketRateRequest, type SkillMarketRateResponse, 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 V3CapabilitiesDetailResponse, type V3CapabilitiesOverviewRequest, type V3CapabilitiesOverviewResponse, 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 V3TextChatRequest, type V3TextGenerateRequest, type V3TextGenerateResponse, type V3ToolExecuteRequest, type V3ToolExecuteResponse, type V3ToolFeature, type V3ToolsCapabilitiesData, type V3ToolsCapabilitiesResponse, 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, marketSkillEntrySchema, 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, skillMarketCheckUpdatesRequestSchema, skillMarketCheckUpdatesResponseSchema, skillMarketDetailResponseSchema, skillMarketEndpoints, skillMarketListRequestSchema, skillMarketListResponseSchema, index$2 as skillMarketModule, skillMarketRateRequestSchema, skillMarketRateResponseSchema, 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, v3CapabilitiesDetailResponseSchema, v3CapabilitiesOverviewRequestSchema, v3CapabilitiesOverviewResponseSchema, v3CapabilitiesResponseSchema, v3CreditEstimateSchema, v3EstimatePriceRequestSchema, v3EstimatePriceResponseSchema, v3FeatureSchema, v3GenerateRequestSchema, v3QueueRequestSchema, v3QueueResponseSchema, v3QueueTicketSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3TaskSSEEventSchema, v3TextChatRequestSchema, v3TextGenerateRequestSchema, v3TextGenerateResponseSchema, v3ToolExecuteRequestSchema, v3ToolExecuteResponseSchema, v3ToolFeatureSchema, v3ToolsCapabilitiesDataSchema, v3ToolsCapabilitiesResponseSchema, v3UploadResponseSchema, v3VariantSchema };