@openloaf-saas/sdk 0.1.39 → 0.1.41

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,40 +819,155 @@ 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;
620
- } | undefined;
621
- } | null;
622
- resultType: "text" | "image" | "audio" | "video";
623
- isAsync: boolean;
624
- paramsSchema: ({
625
- key: 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;
965
+ } | undefined;
966
+ } | null;
967
+ resultType: "text" | "image" | "audio" | "video";
968
+ isAsync: boolean;
969
+ paramsSchema: ({
970
+ key: string;
626
971
  label: string;
627
972
  type: "select";
628
973
  default?: unknown;
@@ -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;
@@ -837,45 +1297,160 @@ declare class SaaSContract {
837
1297
  } | {
838
1298
  key: string;
839
1299
  label: string;
840
- type: "number";
841
- default?: unknown;
842
- group?: "primary" | "advanced" | undefined;
843
- visibleWhen?: unknown;
844
- clientOnly?: boolean | undefined;
845
- hint?: string | undefined;
846
- required?: boolean | undefined;
847
- min?: number | undefined;
848
- max?: number | undefined;
849
- step?: number | undefined;
850
- })[];
851
- inputSlots: {
852
- role: string;
853
- accept: "text" | "file" | "image" | "audio" | "video";
1300
+ type: "number";
1301
+ default?: unknown;
1302
+ group?: "primary" | "advanced" | undefined;
1303
+ visibleWhen?: unknown;
1304
+ clientOnly?: boolean | undefined;
1305
+ hint?: string | undefined;
1306
+ required?: boolean | undefined;
1307
+ min?: number | undefined;
1308
+ max?: number | undefined;
1309
+ step?: number | undefined;
1310
+ })[];
1311
+ inputSlots: {
1312
+ role: string;
1313
+ accept: "text" | "file" | "image" | "audio" | "video";
1314
+ label: string;
1315
+ key?: string | undefined;
1316
+ required?: boolean | undefined;
1317
+ minCount?: number | undefined;
1318
+ maxCount?: number | undefined;
1319
+ placeholder?: string | undefined;
1320
+ multiline?: boolean | undefined;
1321
+ minLength?: number | undefined;
1322
+ maxLength?: number | undefined;
1323
+ maxFileSize?: number | undefined;
1324
+ acceptFormats?: string[] | undefined;
1325
+ minResolution?: number | undefined;
1326
+ maxResolution?: number | undefined;
1327
+ minDuration?: number | undefined;
1328
+ maxDuration?: number | undefined;
1329
+ hint?: string | undefined;
1330
+ sharedGroup?: string | undefined;
1331
+ sharedMaxCount?: number | undefined;
1332
+ }[];
1333
+ executionMode?: "task" | "streaming" | "sync" | undefined;
1334
+ endpoint?: string | undefined;
1335
+ tags?: string[] | undefined;
1336
+ familyId?: string | undefined;
1337
+ }[];
1338
+ } | {
1339
+ id: string;
1340
+ displayName: string;
1341
+ description: 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;
1381
+ label: string;
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;
854
1393
  label: string;
855
- key?: string | undefined;
856
- required?: boolean | undefined;
857
- minCount?: number | undefined;
858
- maxCount?: number | undefined;
859
- placeholder?: string | undefined;
860
- multiline?: boolean | undefined;
861
- minLength?: number | undefined;
862
- maxLength?: number | undefined;
863
- maxFileSize?: number | undefined;
864
- acceptFormats?: string[] | undefined;
865
- minResolution?: number | undefined;
866
- maxResolution?: number | undefined;
867
- minDuration?: number | undefined;
868
- maxDuration?: number | undefined;
869
- hint?: string | undefined;
870
- sharedGroup?: string | undefined;
871
- sharedMaxCount?: number | undefined;
1394
+ thumbnail?: string | undefined;
872
1395
  }[];
873
- executionMode?: "task" | "streaming" | "sync" | undefined;
874
- endpoint?: string | undefined;
875
- tags?: string[] | undefined;
876
- familyId?: string | undefined;
877
- }[];
878
- }[];
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
+ })[];
879
1454
  updatedAt?: string | undefined;
880
1455
  };
881
1456
  }>;
@@ -883,7 +1458,7 @@ declare class SaaSContract {
883
1458
  success: true;
884
1459
  data: {
885
1460
  category: string;
886
- features: {
1461
+ features: ({
887
1462
  id: string;
888
1463
  displayName: string;
889
1464
  description: string;
@@ -1018,10 +1593,183 @@ declare class SaaSContract {
1018
1593
  tags?: string[] | undefined;
1019
1594
  familyId?: string | undefined;
1020
1595
  }[];
1021
- }[];
1596
+ } | {
1597
+ id: string;
1598
+ displayName: string;
1599
+ description: string;
1600
+ endpoint: string;
1601
+ creditsPerCall: number;
1602
+ billingType: string;
1603
+ minMembershipLevel: string;
1604
+ executionMode: "sync";
1605
+ inputSlots: {
1606
+ role: string;
1607
+ accept: "text" | "file" | "image" | "audio" | "video";
1608
+ label: string;
1609
+ key?: string | undefined;
1610
+ required?: boolean | undefined;
1611
+ minCount?: number | undefined;
1612
+ maxCount?: number | undefined;
1613
+ placeholder?: string | undefined;
1614
+ multiline?: boolean | undefined;
1615
+ minLength?: number | undefined;
1616
+ maxLength?: number | undefined;
1617
+ maxFileSize?: number | undefined;
1618
+ acceptFormats?: string[] | undefined;
1619
+ minResolution?: number | undefined;
1620
+ maxResolution?: number | undefined;
1621
+ minDuration?: number | undefined;
1622
+ maxDuration?: number | undefined;
1623
+ hint?: string | undefined;
1624
+ sharedGroup?: string | undefined;
1625
+ sharedMaxCount?: number | undefined;
1626
+ }[];
1627
+ paramsSchema: ({
1628
+ key: string;
1629
+ label: string;
1630
+ type: "select";
1631
+ default?: unknown;
1632
+ group?: "primary" | "advanced" | undefined;
1633
+ visibleWhen?: unknown;
1634
+ clientOnly?: boolean | undefined;
1635
+ hint?: string | undefined;
1636
+ required?: boolean | undefined;
1637
+ options?: {
1638
+ value: string | number | boolean;
1639
+ label: string;
1640
+ thumbnail?: string | undefined;
1641
+ }[] | undefined;
1642
+ catalog?: string | undefined;
1643
+ display?: "dropdown" | "grid" | "pills" | undefined;
1644
+ searchable?: boolean | undefined;
1645
+ } | {
1646
+ key: string;
1647
+ label: string;
1648
+ type: "tab";
1649
+ options: {
1650
+ value: string | number | boolean;
1651
+ label: string;
1652
+ thumbnail?: string | undefined;
1653
+ }[];
1654
+ default?: unknown;
1655
+ group?: "primary" | "advanced" | undefined;
1656
+ visibleWhen?: unknown;
1657
+ clientOnly?: boolean | undefined;
1658
+ hint?: string | undefined;
1659
+ required?: boolean | undefined;
1660
+ } | {
1661
+ key: string;
1662
+ label: string;
1663
+ type: "boolean";
1664
+ default?: unknown;
1665
+ group?: "primary" | "advanced" | undefined;
1666
+ visibleWhen?: unknown;
1667
+ clientOnly?: boolean | undefined;
1668
+ hint?: string | undefined;
1669
+ required?: boolean | undefined;
1670
+ } | {
1671
+ key: string;
1672
+ label: string;
1673
+ type: "text";
1674
+ default?: unknown;
1675
+ group?: "primary" | "advanced" | undefined;
1676
+ visibleWhen?: unknown;
1677
+ clientOnly?: boolean | undefined;
1678
+ hint?: string | undefined;
1679
+ required?: boolean | undefined;
1680
+ multiline?: boolean | undefined;
1681
+ placeholder?: string | undefined;
1682
+ minLength?: number | undefined;
1683
+ maxLength?: number | undefined;
1684
+ } | {
1685
+ key: string;
1686
+ label: string;
1687
+ type: "slider";
1688
+ min: number;
1689
+ max: number;
1690
+ default?: unknown;
1691
+ group?: "primary" | "advanced" | undefined;
1692
+ visibleWhen?: unknown;
1693
+ clientOnly?: boolean | undefined;
1694
+ hint?: string | undefined;
1695
+ required?: boolean | undefined;
1696
+ step?: number | undefined;
1697
+ } | {
1698
+ key: string;
1699
+ label: string;
1700
+ type: "number";
1701
+ default?: unknown;
1702
+ group?: "primary" | "advanced" | undefined;
1703
+ visibleWhen?: unknown;
1704
+ clientOnly?: boolean | undefined;
1705
+ hint?: string | undefined;
1706
+ required?: boolean | undefined;
1707
+ min?: number | undefined;
1708
+ max?: number | undefined;
1709
+ step?: number | undefined;
1710
+ })[];
1711
+ })[];
1022
1712
  updatedAt?: string | undefined;
1023
1713
  };
1024
1714
  }>;
1715
+ readonly v3CapabilitiesOverview: Endpoint<{
1716
+ category?: "text" | "image" | "audio" | "video" | "tools" | undefined;
1717
+ } | undefined, {
1718
+ success: true;
1719
+ data: {
1720
+ feature: string;
1721
+ description: string;
1722
+ category: string;
1723
+ variants: {
1724
+ id: string;
1725
+ name: string;
1726
+ description: string;
1727
+ }[];
1728
+ }[];
1729
+ }>;
1730
+ readonly v3CapabilitiesDetail: (variantId: string) => Endpoint<void, {
1731
+ success: true;
1732
+ data: {
1733
+ feature: string;
1734
+ featureDescription: string;
1735
+ category: string;
1736
+ variantId: string;
1737
+ variantName: string;
1738
+ creditsPerCall: number;
1739
+ billingType: string;
1740
+ minMembershipLevel: string;
1741
+ invocation: {
1742
+ method: string;
1743
+ endpoint: string;
1744
+ contentType: string;
1745
+ authRequired: boolean;
1746
+ executionMode: string;
1747
+ bodyTemplate: Record<string, unknown>;
1748
+ };
1749
+ inputs: {
1750
+ role: string;
1751
+ accept: string;
1752
+ label: string;
1753
+ description: string;
1754
+ required: boolean;
1755
+ maxLength?: number | undefined;
1756
+ acceptFormats?: string[] | undefined;
1757
+ }[];
1758
+ params: {
1759
+ key: string;
1760
+ type: string;
1761
+ label: string;
1762
+ description: string;
1763
+ advanced: boolean;
1764
+ required: boolean;
1765
+ default?: unknown;
1766
+ options?: {
1767
+ value: string | number | boolean;
1768
+ label: string;
1769
+ }[] | undefined;
1770
+ }[];
1771
+ };
1772
+ }>;
1025
1773
  readonly v3TextChat: Endpoint<{
1026
1774
  [x: string]: unknown;
1027
1775
  variant: string;
@@ -1134,7 +1882,7 @@ declare class SaaSContract {
1134
1882
  }>;
1135
1883
  readonly v3ToolExecute: Endpoint<{
1136
1884
  feature: string;
1137
- variant: string;
1885
+ variant?: string | undefined;
1138
1886
  inputs?: Record<string, unknown> | undefined;
1139
1887
  params?: Record<string, unknown> | undefined;
1140
1888
  }, {
@@ -1763,7 +2511,7 @@ declare const aiEndpoints: {
1763
2511
  success: true;
1764
2512
  data: {
1765
2513
  category: string;
1766
- features: {
2514
+ features: ({
1767
2515
  id: string;
1768
2516
  displayName: string;
1769
2517
  description: string;
@@ -1898,7 +2646,122 @@ declare const aiEndpoints: {
1898
2646
  tags?: string[] | undefined;
1899
2647
  familyId?: string | undefined;
1900
2648
  }[];
1901
- }[];
2649
+ } | {
2650
+ id: string;
2651
+ displayName: string;
2652
+ description: string;
2653
+ endpoint: string;
2654
+ creditsPerCall: number;
2655
+ billingType: string;
2656
+ minMembershipLevel: string;
2657
+ executionMode: "sync";
2658
+ inputSlots: {
2659
+ role: string;
2660
+ accept: "text" | "file" | "image" | "audio" | "video";
2661
+ label: string;
2662
+ key?: string | undefined;
2663
+ required?: boolean | undefined;
2664
+ minCount?: number | undefined;
2665
+ maxCount?: number | undefined;
2666
+ placeholder?: string | undefined;
2667
+ multiline?: boolean | undefined;
2668
+ minLength?: number | undefined;
2669
+ maxLength?: number | undefined;
2670
+ maxFileSize?: number | undefined;
2671
+ acceptFormats?: string[] | undefined;
2672
+ minResolution?: number | undefined;
2673
+ maxResolution?: number | undefined;
2674
+ minDuration?: number | undefined;
2675
+ maxDuration?: number | undefined;
2676
+ hint?: string | undefined;
2677
+ sharedGroup?: string | undefined;
2678
+ sharedMaxCount?: number | undefined;
2679
+ }[];
2680
+ paramsSchema: ({
2681
+ key: string;
2682
+ label: string;
2683
+ type: "select";
2684
+ default?: unknown;
2685
+ group?: "primary" | "advanced" | undefined;
2686
+ visibleWhen?: unknown;
2687
+ clientOnly?: boolean | undefined;
2688
+ hint?: string | undefined;
2689
+ required?: boolean | undefined;
2690
+ options?: {
2691
+ value: string | number | boolean;
2692
+ label: string;
2693
+ thumbnail?: string | undefined;
2694
+ }[] | undefined;
2695
+ catalog?: string | undefined;
2696
+ display?: "dropdown" | "grid" | "pills" | undefined;
2697
+ searchable?: boolean | undefined;
2698
+ } | {
2699
+ key: string;
2700
+ label: string;
2701
+ type: "tab";
2702
+ options: {
2703
+ value: string | number | boolean;
2704
+ label: string;
2705
+ thumbnail?: string | undefined;
2706
+ }[];
2707
+ default?: unknown;
2708
+ group?: "primary" | "advanced" | undefined;
2709
+ visibleWhen?: unknown;
2710
+ clientOnly?: boolean | undefined;
2711
+ hint?: string | undefined;
2712
+ required?: boolean | undefined;
2713
+ } | {
2714
+ key: string;
2715
+ label: string;
2716
+ type: "boolean";
2717
+ default?: unknown;
2718
+ group?: "primary" | "advanced" | undefined;
2719
+ visibleWhen?: unknown;
2720
+ clientOnly?: boolean | undefined;
2721
+ hint?: string | undefined;
2722
+ required?: boolean | undefined;
2723
+ } | {
2724
+ key: string;
2725
+ label: string;
2726
+ type: "text";
2727
+ default?: unknown;
2728
+ group?: "primary" | "advanced" | undefined;
2729
+ visibleWhen?: unknown;
2730
+ clientOnly?: boolean | undefined;
2731
+ hint?: string | undefined;
2732
+ required?: boolean | undefined;
2733
+ multiline?: boolean | undefined;
2734
+ placeholder?: string | undefined;
2735
+ minLength?: number | undefined;
2736
+ maxLength?: number | undefined;
2737
+ } | {
2738
+ key: string;
2739
+ label: string;
2740
+ type: "slider";
2741
+ min: number;
2742
+ max: number;
2743
+ default?: unknown;
2744
+ group?: "primary" | "advanced" | undefined;
2745
+ visibleWhen?: unknown;
2746
+ clientOnly?: boolean | undefined;
2747
+ hint?: string | undefined;
2748
+ required?: boolean | undefined;
2749
+ step?: number | undefined;
2750
+ } | {
2751
+ key: string;
2752
+ label: string;
2753
+ type: "number";
2754
+ default?: unknown;
2755
+ group?: "primary" | "advanced" | undefined;
2756
+ visibleWhen?: unknown;
2757
+ clientOnly?: boolean | undefined;
2758
+ hint?: string | undefined;
2759
+ required?: boolean | undefined;
2760
+ min?: number | undefined;
2761
+ max?: number | undefined;
2762
+ step?: number | undefined;
2763
+ })[];
2764
+ })[];
1902
2765
  updatedAt?: string | undefined;
1903
2766
  };
1904
2767
  }>;
@@ -1907,7 +2770,7 @@ declare const aiEndpoints: {
1907
2770
  success: true;
1908
2771
  data: {
1909
2772
  category: string;
1910
- features: {
2773
+ features: ({
1911
2774
  id: string;
1912
2775
  displayName: string;
1913
2776
  description: string;
@@ -2042,7 +2905,122 @@ declare const aiEndpoints: {
2042
2905
  tags?: string[] | undefined;
2043
2906
  familyId?: string | undefined;
2044
2907
  }[];
2045
- }[];
2908
+ } | {
2909
+ id: string;
2910
+ displayName: string;
2911
+ description: string;
2912
+ endpoint: string;
2913
+ creditsPerCall: number;
2914
+ billingType: string;
2915
+ minMembershipLevel: string;
2916
+ executionMode: "sync";
2917
+ inputSlots: {
2918
+ role: string;
2919
+ accept: "text" | "file" | "image" | "audio" | "video";
2920
+ label: string;
2921
+ key?: string | undefined;
2922
+ required?: boolean | undefined;
2923
+ minCount?: number | undefined;
2924
+ maxCount?: number | undefined;
2925
+ placeholder?: string | undefined;
2926
+ multiline?: boolean | undefined;
2927
+ minLength?: number | undefined;
2928
+ maxLength?: number | undefined;
2929
+ maxFileSize?: number | undefined;
2930
+ acceptFormats?: string[] | undefined;
2931
+ minResolution?: number | undefined;
2932
+ maxResolution?: number | undefined;
2933
+ minDuration?: number | undefined;
2934
+ maxDuration?: number | undefined;
2935
+ hint?: string | undefined;
2936
+ sharedGroup?: string | undefined;
2937
+ sharedMaxCount?: number | undefined;
2938
+ }[];
2939
+ paramsSchema: ({
2940
+ key: string;
2941
+ label: string;
2942
+ type: "select";
2943
+ default?: unknown;
2944
+ group?: "primary" | "advanced" | undefined;
2945
+ visibleWhen?: unknown;
2946
+ clientOnly?: boolean | undefined;
2947
+ hint?: string | undefined;
2948
+ required?: boolean | undefined;
2949
+ options?: {
2950
+ value: string | number | boolean;
2951
+ label: string;
2952
+ thumbnail?: string | undefined;
2953
+ }[] | undefined;
2954
+ catalog?: string | undefined;
2955
+ display?: "dropdown" | "grid" | "pills" | undefined;
2956
+ searchable?: boolean | undefined;
2957
+ } | {
2958
+ key: string;
2959
+ label: string;
2960
+ type: "tab";
2961
+ options: {
2962
+ value: string | number | boolean;
2963
+ label: string;
2964
+ thumbnail?: string | undefined;
2965
+ }[];
2966
+ default?: unknown;
2967
+ group?: "primary" | "advanced" | undefined;
2968
+ visibleWhen?: unknown;
2969
+ clientOnly?: boolean | undefined;
2970
+ hint?: string | undefined;
2971
+ required?: boolean | undefined;
2972
+ } | {
2973
+ key: string;
2974
+ label: string;
2975
+ type: "boolean";
2976
+ default?: unknown;
2977
+ group?: "primary" | "advanced" | undefined;
2978
+ visibleWhen?: unknown;
2979
+ clientOnly?: boolean | undefined;
2980
+ hint?: string | undefined;
2981
+ required?: boolean | undefined;
2982
+ } | {
2983
+ key: string;
2984
+ label: string;
2985
+ type: "text";
2986
+ default?: unknown;
2987
+ group?: "primary" | "advanced" | undefined;
2988
+ visibleWhen?: unknown;
2989
+ clientOnly?: boolean | undefined;
2990
+ hint?: string | undefined;
2991
+ required?: boolean | undefined;
2992
+ multiline?: boolean | undefined;
2993
+ placeholder?: string | undefined;
2994
+ minLength?: number | undefined;
2995
+ maxLength?: number | undefined;
2996
+ } | {
2997
+ key: string;
2998
+ label: string;
2999
+ type: "slider";
3000
+ min: number;
3001
+ max: number;
3002
+ default?: unknown;
3003
+ group?: "primary" | "advanced" | undefined;
3004
+ visibleWhen?: unknown;
3005
+ clientOnly?: boolean | undefined;
3006
+ hint?: string | undefined;
3007
+ required?: boolean | undefined;
3008
+ step?: number | undefined;
3009
+ } | {
3010
+ key: string;
3011
+ label: string;
3012
+ type: "number";
3013
+ default?: unknown;
3014
+ group?: "primary" | "advanced" | undefined;
3015
+ visibleWhen?: unknown;
3016
+ clientOnly?: boolean | undefined;
3017
+ hint?: string | undefined;
3018
+ required?: boolean | undefined;
3019
+ min?: number | undefined;
3020
+ max?: number | undefined;
3021
+ step?: number | undefined;
3022
+ })[];
3023
+ })[];
2046
3024
  updatedAt?: string | undefined;
2047
3025
  };
2048
3026
  }>;
@@ -2051,7 +3029,7 @@ declare const aiEndpoints: {
2051
3029
  success: true;
2052
3030
  data: {
2053
3031
  category: string;
2054
- features: {
3032
+ features: ({
2055
3033
  id: string;
2056
3034
  displayName: string;
2057
3035
  description: string;
@@ -2186,7 +3164,122 @@ declare const aiEndpoints: {
2186
3164
  tags?: string[] | undefined;
2187
3165
  familyId?: string | undefined;
2188
3166
  }[];
2189
- }[];
3167
+ } | {
3168
+ id: string;
3169
+ displayName: string;
3170
+ description: string;
3171
+ endpoint: string;
3172
+ creditsPerCall: number;
3173
+ billingType: string;
3174
+ minMembershipLevel: string;
3175
+ executionMode: "sync";
3176
+ inputSlots: {
3177
+ role: string;
3178
+ accept: "text" | "file" | "image" | "audio" | "video";
3179
+ label: string;
3180
+ key?: string | undefined;
3181
+ required?: boolean | undefined;
3182
+ minCount?: number | undefined;
3183
+ maxCount?: number | undefined;
3184
+ placeholder?: string | undefined;
3185
+ multiline?: boolean | undefined;
3186
+ minLength?: number | undefined;
3187
+ maxLength?: number | undefined;
3188
+ maxFileSize?: number | undefined;
3189
+ acceptFormats?: string[] | undefined;
3190
+ minResolution?: number | undefined;
3191
+ maxResolution?: number | undefined;
3192
+ minDuration?: number | undefined;
3193
+ maxDuration?: number | undefined;
3194
+ hint?: string | undefined;
3195
+ sharedGroup?: string | undefined;
3196
+ sharedMaxCount?: number | undefined;
3197
+ }[];
3198
+ paramsSchema: ({
3199
+ key: string;
3200
+ label: string;
3201
+ type: "select";
3202
+ default?: unknown;
3203
+ group?: "primary" | "advanced" | undefined;
3204
+ visibleWhen?: unknown;
3205
+ clientOnly?: boolean | undefined;
3206
+ hint?: string | undefined;
3207
+ required?: boolean | undefined;
3208
+ options?: {
3209
+ value: string | number | boolean;
3210
+ label: string;
3211
+ thumbnail?: string | undefined;
3212
+ }[] | undefined;
3213
+ catalog?: string | undefined;
3214
+ display?: "dropdown" | "grid" | "pills" | undefined;
3215
+ searchable?: boolean | undefined;
3216
+ } | {
3217
+ key: string;
3218
+ label: string;
3219
+ type: "tab";
3220
+ options: {
3221
+ value: string | number | boolean;
3222
+ label: string;
3223
+ thumbnail?: string | undefined;
3224
+ }[];
3225
+ default?: unknown;
3226
+ group?: "primary" | "advanced" | undefined;
3227
+ visibleWhen?: unknown;
3228
+ clientOnly?: boolean | undefined;
3229
+ hint?: string | undefined;
3230
+ required?: boolean | undefined;
3231
+ } | {
3232
+ key: string;
3233
+ label: string;
3234
+ type: "boolean";
3235
+ default?: unknown;
3236
+ group?: "primary" | "advanced" | undefined;
3237
+ visibleWhen?: unknown;
3238
+ clientOnly?: boolean | undefined;
3239
+ hint?: string | undefined;
3240
+ required?: boolean | undefined;
3241
+ } | {
3242
+ key: string;
3243
+ label: string;
3244
+ type: "text";
3245
+ default?: unknown;
3246
+ group?: "primary" | "advanced" | undefined;
3247
+ visibleWhen?: unknown;
3248
+ clientOnly?: boolean | undefined;
3249
+ hint?: string | undefined;
3250
+ required?: boolean | undefined;
3251
+ multiline?: boolean | undefined;
3252
+ placeholder?: string | undefined;
3253
+ minLength?: number | undefined;
3254
+ maxLength?: number | undefined;
3255
+ } | {
3256
+ key: string;
3257
+ label: string;
3258
+ type: "slider";
3259
+ min: number;
3260
+ max: number;
3261
+ default?: unknown;
3262
+ group?: "primary" | "advanced" | undefined;
3263
+ visibleWhen?: unknown;
3264
+ clientOnly?: boolean | undefined;
3265
+ hint?: string | undefined;
3266
+ required?: boolean | undefined;
3267
+ step?: number | undefined;
3268
+ } | {
3269
+ key: string;
3270
+ label: string;
3271
+ type: "number";
3272
+ default?: unknown;
3273
+ group?: "primary" | "advanced" | undefined;
3274
+ visibleWhen?: unknown;
3275
+ clientOnly?: boolean | undefined;
3276
+ hint?: string | undefined;
3277
+ required?: boolean | undefined;
3278
+ min?: number | undefined;
3279
+ max?: number | undefined;
3280
+ step?: number | undefined;
3281
+ })[];
3282
+ })[];
2190
3283
  updatedAt?: string | undefined;
2191
3284
  };
2192
3285
  }>;
@@ -2195,7 +3288,7 @@ declare const aiEndpoints: {
2195
3288
  success: true;
2196
3289
  data: {
2197
3290
  category: string;
2198
- features: {
3291
+ features: ({
2199
3292
  id: string;
2200
3293
  displayName: string;
2201
3294
  description: string;
@@ -2330,7 +3423,122 @@ declare const aiEndpoints: {
2330
3423
  tags?: string[] | undefined;
2331
3424
  familyId?: string | undefined;
2332
3425
  }[];
2333
- }[];
3426
+ } | {
3427
+ id: string;
3428
+ displayName: string;
3429
+ description: string;
3430
+ endpoint: string;
3431
+ creditsPerCall: number;
3432
+ billingType: string;
3433
+ minMembershipLevel: string;
3434
+ executionMode: "sync";
3435
+ inputSlots: {
3436
+ role: string;
3437
+ accept: "text" | "file" | "image" | "audio" | "video";
3438
+ label: string;
3439
+ key?: string | undefined;
3440
+ required?: boolean | undefined;
3441
+ minCount?: number | undefined;
3442
+ maxCount?: number | undefined;
3443
+ placeholder?: string | undefined;
3444
+ multiline?: boolean | undefined;
3445
+ minLength?: number | undefined;
3446
+ maxLength?: number | undefined;
3447
+ maxFileSize?: number | undefined;
3448
+ acceptFormats?: string[] | undefined;
3449
+ minResolution?: number | undefined;
3450
+ maxResolution?: number | undefined;
3451
+ minDuration?: number | undefined;
3452
+ maxDuration?: number | undefined;
3453
+ hint?: string | undefined;
3454
+ sharedGroup?: string | undefined;
3455
+ sharedMaxCount?: number | undefined;
3456
+ }[];
3457
+ paramsSchema: ({
3458
+ key: string;
3459
+ label: string;
3460
+ type: "select";
3461
+ default?: unknown;
3462
+ group?: "primary" | "advanced" | undefined;
3463
+ visibleWhen?: unknown;
3464
+ clientOnly?: boolean | undefined;
3465
+ hint?: string | undefined;
3466
+ required?: boolean | undefined;
3467
+ options?: {
3468
+ value: string | number | boolean;
3469
+ label: string;
3470
+ thumbnail?: string | undefined;
3471
+ }[] | undefined;
3472
+ catalog?: string | undefined;
3473
+ display?: "dropdown" | "grid" | "pills" | undefined;
3474
+ searchable?: boolean | undefined;
3475
+ } | {
3476
+ key: string;
3477
+ label: string;
3478
+ type: "tab";
3479
+ options: {
3480
+ value: string | number | boolean;
3481
+ label: string;
3482
+ thumbnail?: string | undefined;
3483
+ }[];
3484
+ default?: unknown;
3485
+ group?: "primary" | "advanced" | undefined;
3486
+ visibleWhen?: unknown;
3487
+ clientOnly?: boolean | undefined;
3488
+ hint?: string | undefined;
3489
+ required?: boolean | undefined;
3490
+ } | {
3491
+ key: string;
3492
+ label: string;
3493
+ type: "boolean";
3494
+ default?: unknown;
3495
+ group?: "primary" | "advanced" | undefined;
3496
+ visibleWhen?: unknown;
3497
+ clientOnly?: boolean | undefined;
3498
+ hint?: string | undefined;
3499
+ required?: boolean | undefined;
3500
+ } | {
3501
+ key: string;
3502
+ label: string;
3503
+ type: "text";
3504
+ default?: unknown;
3505
+ group?: "primary" | "advanced" | undefined;
3506
+ visibleWhen?: unknown;
3507
+ clientOnly?: boolean | undefined;
3508
+ hint?: string | undefined;
3509
+ required?: boolean | undefined;
3510
+ multiline?: boolean | undefined;
3511
+ placeholder?: string | undefined;
3512
+ minLength?: number | undefined;
3513
+ maxLength?: number | undefined;
3514
+ } | {
3515
+ key: string;
3516
+ label: string;
3517
+ type: "slider";
3518
+ min: number;
3519
+ max: number;
3520
+ default?: unknown;
3521
+ group?: "primary" | "advanced" | undefined;
3522
+ visibleWhen?: unknown;
3523
+ clientOnly?: boolean | undefined;
3524
+ hint?: string | undefined;
3525
+ required?: boolean | undefined;
3526
+ step?: number | undefined;
3527
+ } | {
3528
+ key: string;
3529
+ label: string;
3530
+ type: "number";
3531
+ default?: unknown;
3532
+ group?: "primary" | "advanced" | undefined;
3533
+ visibleWhen?: unknown;
3534
+ clientOnly?: boolean | undefined;
3535
+ hint?: string | undefined;
3536
+ required?: boolean | undefined;
3537
+ min?: number | undefined;
3538
+ max?: number | undefined;
3539
+ step?: number | undefined;
3540
+ })[];
3541
+ })[];
2334
3542
  updatedAt?: string | undefined;
2335
3543
  };
2336
3544
  }>;
@@ -2339,7 +3547,7 @@ declare const aiEndpoints: {
2339
3547
  success: true;
2340
3548
  data: {
2341
3549
  category: string;
2342
- features: {
3550
+ features: ({
2343
3551
  id: string;
2344
3552
  displayName: string;
2345
3553
  description: string;
@@ -2474,7 +3682,122 @@ declare const aiEndpoints: {
2474
3682
  tags?: string[] | undefined;
2475
3683
  familyId?: string | undefined;
2476
3684
  }[];
2477
- }[];
3685
+ } | {
3686
+ id: string;
3687
+ displayName: string;
3688
+ description: string;
3689
+ endpoint: string;
3690
+ creditsPerCall: number;
3691
+ billingType: string;
3692
+ minMembershipLevel: string;
3693
+ executionMode: "sync";
3694
+ inputSlots: {
3695
+ role: string;
3696
+ accept: "text" | "file" | "image" | "audio" | "video";
3697
+ label: string;
3698
+ key?: string | undefined;
3699
+ required?: boolean | undefined;
3700
+ minCount?: number | undefined;
3701
+ maxCount?: number | undefined;
3702
+ placeholder?: string | undefined;
3703
+ multiline?: boolean | undefined;
3704
+ minLength?: number | undefined;
3705
+ maxLength?: number | undefined;
3706
+ maxFileSize?: number | undefined;
3707
+ acceptFormats?: string[] | undefined;
3708
+ minResolution?: number | undefined;
3709
+ maxResolution?: number | undefined;
3710
+ minDuration?: number | undefined;
3711
+ maxDuration?: number | undefined;
3712
+ hint?: string | undefined;
3713
+ sharedGroup?: string | undefined;
3714
+ sharedMaxCount?: number | undefined;
3715
+ }[];
3716
+ paramsSchema: ({
3717
+ key: string;
3718
+ label: string;
3719
+ type: "select";
3720
+ default?: unknown;
3721
+ group?: "primary" | "advanced" | undefined;
3722
+ visibleWhen?: unknown;
3723
+ clientOnly?: boolean | undefined;
3724
+ hint?: string | undefined;
3725
+ required?: boolean | undefined;
3726
+ options?: {
3727
+ value: string | number | boolean;
3728
+ label: string;
3729
+ thumbnail?: string | undefined;
3730
+ }[] | undefined;
3731
+ catalog?: string | undefined;
3732
+ display?: "dropdown" | "grid" | "pills" | undefined;
3733
+ searchable?: boolean | undefined;
3734
+ } | {
3735
+ key: string;
3736
+ label: string;
3737
+ type: "tab";
3738
+ options: {
3739
+ value: string | number | boolean;
3740
+ label: string;
3741
+ thumbnail?: string | undefined;
3742
+ }[];
3743
+ default?: unknown;
3744
+ group?: "primary" | "advanced" | undefined;
3745
+ visibleWhen?: unknown;
3746
+ clientOnly?: boolean | undefined;
3747
+ hint?: string | undefined;
3748
+ required?: boolean | undefined;
3749
+ } | {
3750
+ key: string;
3751
+ label: string;
3752
+ type: "boolean";
3753
+ default?: unknown;
3754
+ group?: "primary" | "advanced" | undefined;
3755
+ visibleWhen?: unknown;
3756
+ clientOnly?: boolean | undefined;
3757
+ hint?: string | undefined;
3758
+ required?: boolean | undefined;
3759
+ } | {
3760
+ key: string;
3761
+ label: string;
3762
+ type: "text";
3763
+ default?: unknown;
3764
+ group?: "primary" | "advanced" | undefined;
3765
+ visibleWhen?: unknown;
3766
+ clientOnly?: boolean | undefined;
3767
+ hint?: string | undefined;
3768
+ required?: boolean | undefined;
3769
+ multiline?: boolean | undefined;
3770
+ placeholder?: string | undefined;
3771
+ minLength?: number | undefined;
3772
+ maxLength?: number | undefined;
3773
+ } | {
3774
+ key: string;
3775
+ label: string;
3776
+ type: "slider";
3777
+ min: number;
3778
+ max: number;
3779
+ default?: unknown;
3780
+ group?: "primary" | "advanced" | undefined;
3781
+ visibleWhen?: unknown;
3782
+ clientOnly?: boolean | undefined;
3783
+ hint?: string | undefined;
3784
+ required?: boolean | undefined;
3785
+ step?: number | undefined;
3786
+ } | {
3787
+ key: string;
3788
+ label: string;
3789
+ type: "number";
3790
+ default?: unknown;
3791
+ group?: "primary" | "advanced" | undefined;
3792
+ visibleWhen?: unknown;
3793
+ clientOnly?: boolean | undefined;
3794
+ hint?: string | undefined;
3795
+ required?: boolean | undefined;
3796
+ min?: number | undefined;
3797
+ max?: number | undefined;
3798
+ step?: number | undefined;
3799
+ })[];
3800
+ })[];
2478
3801
  updatedAt?: string | undefined;
2479
3802
  };
2480
3803
  }>;
@@ -2483,7 +3806,7 @@ declare const aiEndpoints: {
2483
3806
  success: true;
2484
3807
  data: {
2485
3808
  category: string;
2486
- features: {
3809
+ features: ({
2487
3810
  id: string;
2488
3811
  displayName: string;
2489
3812
  description: string;
@@ -2618,10 +3941,185 @@ declare const aiEndpoints: {
2618
3941
  tags?: string[] | undefined;
2619
3942
  familyId?: string | undefined;
2620
3943
  }[];
2621
- }[];
3944
+ } | {
3945
+ id: string;
3946
+ displayName: string;
3947
+ description: string;
3948
+ endpoint: string;
3949
+ creditsPerCall: number;
3950
+ billingType: string;
3951
+ minMembershipLevel: string;
3952
+ executionMode: "sync";
3953
+ inputSlots: {
3954
+ role: string;
3955
+ accept: "text" | "file" | "image" | "audio" | "video";
3956
+ label: string;
3957
+ key?: string | undefined;
3958
+ required?: boolean | undefined;
3959
+ minCount?: number | undefined;
3960
+ maxCount?: number | undefined;
3961
+ placeholder?: string | undefined;
3962
+ multiline?: boolean | undefined;
3963
+ minLength?: number | undefined;
3964
+ maxLength?: number | undefined;
3965
+ maxFileSize?: number | undefined;
3966
+ acceptFormats?: string[] | undefined;
3967
+ minResolution?: number | undefined;
3968
+ maxResolution?: number | undefined;
3969
+ minDuration?: number | undefined;
3970
+ maxDuration?: number | undefined;
3971
+ hint?: string | undefined;
3972
+ sharedGroup?: string | undefined;
3973
+ sharedMaxCount?: number | undefined;
3974
+ }[];
3975
+ paramsSchema: ({
3976
+ key: string;
3977
+ label: string;
3978
+ type: "select";
3979
+ default?: unknown;
3980
+ group?: "primary" | "advanced" | undefined;
3981
+ visibleWhen?: unknown;
3982
+ clientOnly?: boolean | undefined;
3983
+ hint?: string | undefined;
3984
+ required?: boolean | undefined;
3985
+ options?: {
3986
+ value: string | number | boolean;
3987
+ label: string;
3988
+ thumbnail?: string | undefined;
3989
+ }[] | undefined;
3990
+ catalog?: string | undefined;
3991
+ display?: "dropdown" | "grid" | "pills" | undefined;
3992
+ searchable?: boolean | undefined;
3993
+ } | {
3994
+ key: string;
3995
+ label: string;
3996
+ type: "tab";
3997
+ options: {
3998
+ value: string | number | boolean;
3999
+ label: string;
4000
+ thumbnail?: string | undefined;
4001
+ }[];
4002
+ default?: unknown;
4003
+ group?: "primary" | "advanced" | undefined;
4004
+ visibleWhen?: unknown;
4005
+ clientOnly?: boolean | undefined;
4006
+ hint?: string | undefined;
4007
+ required?: boolean | undefined;
4008
+ } | {
4009
+ key: string;
4010
+ label: string;
4011
+ type: "boolean";
4012
+ default?: unknown;
4013
+ group?: "primary" | "advanced" | undefined;
4014
+ visibleWhen?: unknown;
4015
+ clientOnly?: boolean | undefined;
4016
+ hint?: string | undefined;
4017
+ required?: boolean | undefined;
4018
+ } | {
4019
+ key: string;
4020
+ label: string;
4021
+ type: "text";
4022
+ default?: unknown;
4023
+ group?: "primary" | "advanced" | undefined;
4024
+ visibleWhen?: unknown;
4025
+ clientOnly?: boolean | undefined;
4026
+ hint?: string | undefined;
4027
+ required?: boolean | undefined;
4028
+ multiline?: boolean | undefined;
4029
+ placeholder?: string | undefined;
4030
+ minLength?: number | undefined;
4031
+ maxLength?: number | undefined;
4032
+ } | {
4033
+ key: string;
4034
+ label: string;
4035
+ type: "slider";
4036
+ min: number;
4037
+ max: number;
4038
+ default?: unknown;
4039
+ group?: "primary" | "advanced" | undefined;
4040
+ visibleWhen?: unknown;
4041
+ clientOnly?: boolean | undefined;
4042
+ hint?: string | undefined;
4043
+ required?: boolean | undefined;
4044
+ step?: number | undefined;
4045
+ } | {
4046
+ key: string;
4047
+ label: string;
4048
+ type: "number";
4049
+ default?: unknown;
4050
+ group?: "primary" | "advanced" | undefined;
4051
+ visibleWhen?: unknown;
4052
+ clientOnly?: boolean | undefined;
4053
+ hint?: string | undefined;
4054
+ required?: boolean | undefined;
4055
+ min?: number | undefined;
4056
+ max?: number | undefined;
4057
+ step?: number | undefined;
4058
+ })[];
4059
+ })[];
2622
4060
  updatedAt?: string | undefined;
2623
4061
  };
2624
4062
  }>;
4063
+ /** Get capabilities overview (simplified, for AI agent discovery). */
4064
+ readonly v3CapabilitiesOverview: Endpoint<{
4065
+ category?: "text" | "image" | "audio" | "video" | "tools" | undefined;
4066
+ } | undefined, {
4067
+ success: true;
4068
+ data: {
4069
+ feature: string;
4070
+ description: string;
4071
+ category: string;
4072
+ variants: {
4073
+ id: string;
4074
+ name: string;
4075
+ description: string;
4076
+ }[];
4077
+ }[];
4078
+ }>;
4079
+ /** Get variant detail by ID (full params, inputs, invocation info). */
4080
+ readonly v3CapabilitiesDetail: (variantId: string) => Endpoint<void, {
4081
+ success: true;
4082
+ data: {
4083
+ feature: string;
4084
+ featureDescription: string;
4085
+ category: string;
4086
+ variantId: string;
4087
+ variantName: string;
4088
+ creditsPerCall: number;
4089
+ billingType: string;
4090
+ minMembershipLevel: string;
4091
+ invocation: {
4092
+ method: string;
4093
+ endpoint: string;
4094
+ contentType: string;
4095
+ authRequired: boolean;
4096
+ executionMode: string;
4097
+ bodyTemplate: Record<string, unknown>;
4098
+ };
4099
+ inputs: {
4100
+ role: string;
4101
+ accept: string;
4102
+ label: string;
4103
+ description: string;
4104
+ required: boolean;
4105
+ maxLength?: number | undefined;
4106
+ acceptFormats?: string[] | undefined;
4107
+ }[];
4108
+ params: {
4109
+ key: string;
4110
+ type: string;
4111
+ label: string;
4112
+ description: string;
4113
+ advanced: boolean;
4114
+ required: boolean;
4115
+ default?: unknown;
4116
+ options?: {
4117
+ value: string | number | boolean;
4118
+ label: string;
4119
+ }[] | undefined;
4120
+ }[];
4121
+ };
4122
+ }>;
2625
4123
  /** Submit a v3 text chat request (OpenAI-compatible, streaming SSE or JSON). */
2626
4124
  readonly v3TextChat: Endpoint<{
2627
4125
  [x: string]: unknown;
@@ -2745,7 +4243,7 @@ declare const aiEndpoints: {
2745
4243
  /** Execute a tool (e.g. webSearch). Returns sync JSON result. */
2746
4244
  readonly v3ToolExecute: Endpoint<{
2747
4245
  feature: string;
2748
- variant: string;
4246
+ variant?: string | undefined;
2749
4247
  inputs?: Record<string, unknown> | undefined;
2750
4248
  params?: Record<string, unknown> | undefined;
2751
4249
  }, {
@@ -3955,15 +5453,164 @@ declare const v3FeatureSchema: z.ZodObject<{
3955
5453
  streaming: "streaming";
3956
5454
  sync: "sync";
3957
5455
  }>>;
3958
- endpoint: z.ZodOptional<z.ZodString>;
3959
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
3960
- familyId: z.ZodOptional<z.ZodString>;
3961
- }, z.core.$strip>>;
5456
+ endpoint: z.ZodOptional<z.ZodString>;
5457
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5458
+ familyId: z.ZodOptional<z.ZodString>;
5459
+ }, z.core.$strip>>;
5460
+ }, z.core.$strip>;
5461
+ /**
5462
+ * Tool feature entry within a capabilities response (category = "tools").
5463
+ * 工具类能力强制单一调用路径,不暴露 variant 概念,直接把调用所需的
5464
+ * endpoint / 输入 / 参数 / 计费 / 等级门槛平铺到 feature 层面。
5465
+ */
5466
+ declare const v3ToolFeatureSchema: z.ZodObject<{
5467
+ id: z.ZodString;
5468
+ displayName: z.ZodString;
5469
+ description: z.ZodString;
5470
+ endpoint: z.ZodString;
5471
+ creditsPerCall: z.ZodNumber;
5472
+ billingType: z.ZodString;
5473
+ minMembershipLevel: z.ZodString;
5474
+ executionMode: z.ZodLiteral<"sync">;
5475
+ inputSlots: z.ZodArray<z.ZodObject<{
5476
+ key: z.ZodOptional<z.ZodString>;
5477
+ role: z.ZodString;
5478
+ accept: z.ZodEnum<{
5479
+ text: "text";
5480
+ file: "file";
5481
+ image: "image";
5482
+ audio: "audio";
5483
+ video: "video";
5484
+ }>;
5485
+ label: z.ZodString;
5486
+ required: z.ZodOptional<z.ZodBoolean>;
5487
+ minCount: z.ZodOptional<z.ZodNumber>;
5488
+ maxCount: z.ZodOptional<z.ZodNumber>;
5489
+ placeholder: z.ZodOptional<z.ZodString>;
5490
+ multiline: z.ZodOptional<z.ZodBoolean>;
5491
+ minLength: z.ZodOptional<z.ZodNumber>;
5492
+ maxLength: z.ZodOptional<z.ZodNumber>;
5493
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
5494
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
5495
+ minResolution: z.ZodOptional<z.ZodNumber>;
5496
+ maxResolution: z.ZodOptional<z.ZodNumber>;
5497
+ minDuration: z.ZodOptional<z.ZodNumber>;
5498
+ maxDuration: z.ZodOptional<z.ZodNumber>;
5499
+ hint: z.ZodOptional<z.ZodString>;
5500
+ sharedGroup: z.ZodOptional<z.ZodString>;
5501
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
5502
+ }, z.core.$strip>>;
5503
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5504
+ key: z.ZodString;
5505
+ label: z.ZodString;
5506
+ default: z.ZodOptional<z.ZodUnknown>;
5507
+ group: z.ZodOptional<z.ZodEnum<{
5508
+ primary: "primary";
5509
+ advanced: "advanced";
5510
+ }>>;
5511
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5512
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5513
+ hint: z.ZodOptional<z.ZodString>;
5514
+ required: z.ZodOptional<z.ZodBoolean>;
5515
+ type: z.ZodLiteral<"select">;
5516
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
5517
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5518
+ label: z.ZodString;
5519
+ thumbnail: z.ZodOptional<z.ZodString>;
5520
+ }, z.core.$strip>>>;
5521
+ catalog: z.ZodOptional<z.ZodString>;
5522
+ display: z.ZodOptional<z.ZodEnum<{
5523
+ dropdown: "dropdown";
5524
+ grid: "grid";
5525
+ pills: "pills";
5526
+ }>>;
5527
+ searchable: z.ZodOptional<z.ZodBoolean>;
5528
+ }, z.core.$strip>, z.ZodObject<{
5529
+ key: z.ZodString;
5530
+ label: z.ZodString;
5531
+ default: z.ZodOptional<z.ZodUnknown>;
5532
+ group: z.ZodOptional<z.ZodEnum<{
5533
+ primary: "primary";
5534
+ advanced: "advanced";
5535
+ }>>;
5536
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5537
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5538
+ hint: z.ZodOptional<z.ZodString>;
5539
+ required: z.ZodOptional<z.ZodBoolean>;
5540
+ type: z.ZodLiteral<"tab">;
5541
+ options: z.ZodArray<z.ZodObject<{
5542
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5543
+ label: z.ZodString;
5544
+ thumbnail: z.ZodOptional<z.ZodString>;
5545
+ }, z.core.$strip>>;
5546
+ }, z.core.$strip>, z.ZodObject<{
5547
+ key: z.ZodString;
5548
+ label: z.ZodString;
5549
+ default: z.ZodOptional<z.ZodUnknown>;
5550
+ group: z.ZodOptional<z.ZodEnum<{
5551
+ primary: "primary";
5552
+ advanced: "advanced";
5553
+ }>>;
5554
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5555
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5556
+ hint: z.ZodOptional<z.ZodString>;
5557
+ required: z.ZodOptional<z.ZodBoolean>;
5558
+ type: z.ZodLiteral<"boolean">;
5559
+ }, z.core.$strip>, z.ZodObject<{
5560
+ key: z.ZodString;
5561
+ label: z.ZodString;
5562
+ default: z.ZodOptional<z.ZodUnknown>;
5563
+ group: z.ZodOptional<z.ZodEnum<{
5564
+ primary: "primary";
5565
+ advanced: "advanced";
5566
+ }>>;
5567
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5568
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5569
+ hint: z.ZodOptional<z.ZodString>;
5570
+ required: z.ZodOptional<z.ZodBoolean>;
5571
+ type: z.ZodLiteral<"text">;
5572
+ multiline: z.ZodOptional<z.ZodBoolean>;
5573
+ placeholder: z.ZodOptional<z.ZodString>;
5574
+ minLength: z.ZodOptional<z.ZodNumber>;
5575
+ maxLength: z.ZodOptional<z.ZodNumber>;
5576
+ }, z.core.$strip>, z.ZodObject<{
5577
+ key: z.ZodString;
5578
+ label: z.ZodString;
5579
+ default: z.ZodOptional<z.ZodUnknown>;
5580
+ group: z.ZodOptional<z.ZodEnum<{
5581
+ primary: "primary";
5582
+ advanced: "advanced";
5583
+ }>>;
5584
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5585
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5586
+ hint: z.ZodOptional<z.ZodString>;
5587
+ required: z.ZodOptional<z.ZodBoolean>;
5588
+ type: z.ZodLiteral<"slider">;
5589
+ min: z.ZodNumber;
5590
+ max: z.ZodNumber;
5591
+ step: z.ZodOptional<z.ZodNumber>;
5592
+ }, z.core.$strip>, z.ZodObject<{
5593
+ key: z.ZodString;
5594
+ label: z.ZodString;
5595
+ default: z.ZodOptional<z.ZodUnknown>;
5596
+ group: z.ZodOptional<z.ZodEnum<{
5597
+ primary: "primary";
5598
+ advanced: "advanced";
5599
+ }>>;
5600
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5601
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5602
+ hint: z.ZodOptional<z.ZodString>;
5603
+ required: z.ZodOptional<z.ZodBoolean>;
5604
+ type: z.ZodLiteral<"number">;
5605
+ min: z.ZodOptional<z.ZodNumber>;
5606
+ max: z.ZodOptional<z.ZodNumber>;
5607
+ step: z.ZodOptional<z.ZodNumber>;
5608
+ }, z.core.$strip>], "type">>;
3962
5609
  }, z.core.$strip>;
3963
5610
  /** Capabilities data payload for a single media category. */
3964
5611
  declare const v3CapabilitiesDataSchema: z.ZodObject<{
3965
5612
  category: z.ZodString;
3966
- features: z.ZodArray<z.ZodObject<{
5613
+ features: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3967
5614
  id: z.ZodString;
3968
5615
  displayName: z.ZodString;
3969
5616
  description: z.ZodString;
@@ -4135,7 +5782,150 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
4135
5782
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4136
5783
  familyId: z.ZodOptional<z.ZodString>;
4137
5784
  }, z.core.$strip>>;
4138
- }, z.core.$strip>>;
5785
+ }, z.core.$strip>, z.ZodObject<{
5786
+ id: z.ZodString;
5787
+ displayName: z.ZodString;
5788
+ description: z.ZodString;
5789
+ endpoint: z.ZodString;
5790
+ creditsPerCall: z.ZodNumber;
5791
+ billingType: z.ZodString;
5792
+ minMembershipLevel: z.ZodString;
5793
+ executionMode: z.ZodLiteral<"sync">;
5794
+ inputSlots: z.ZodArray<z.ZodObject<{
5795
+ key: z.ZodOptional<z.ZodString>;
5796
+ role: z.ZodString;
5797
+ accept: z.ZodEnum<{
5798
+ text: "text";
5799
+ file: "file";
5800
+ image: "image";
5801
+ audio: "audio";
5802
+ video: "video";
5803
+ }>;
5804
+ label: z.ZodString;
5805
+ required: z.ZodOptional<z.ZodBoolean>;
5806
+ minCount: z.ZodOptional<z.ZodNumber>;
5807
+ maxCount: z.ZodOptional<z.ZodNumber>;
5808
+ placeholder: z.ZodOptional<z.ZodString>;
5809
+ multiline: z.ZodOptional<z.ZodBoolean>;
5810
+ minLength: z.ZodOptional<z.ZodNumber>;
5811
+ maxLength: z.ZodOptional<z.ZodNumber>;
5812
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
5813
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
5814
+ minResolution: z.ZodOptional<z.ZodNumber>;
5815
+ maxResolution: z.ZodOptional<z.ZodNumber>;
5816
+ minDuration: z.ZodOptional<z.ZodNumber>;
5817
+ maxDuration: z.ZodOptional<z.ZodNumber>;
5818
+ hint: z.ZodOptional<z.ZodString>;
5819
+ sharedGroup: z.ZodOptional<z.ZodString>;
5820
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
5821
+ }, z.core.$strip>>;
5822
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5823
+ key: z.ZodString;
5824
+ label: z.ZodString;
5825
+ default: z.ZodOptional<z.ZodUnknown>;
5826
+ group: z.ZodOptional<z.ZodEnum<{
5827
+ primary: "primary";
5828
+ advanced: "advanced";
5829
+ }>>;
5830
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5831
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5832
+ hint: z.ZodOptional<z.ZodString>;
5833
+ required: z.ZodOptional<z.ZodBoolean>;
5834
+ type: z.ZodLiteral<"select">;
5835
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
5836
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5837
+ label: z.ZodString;
5838
+ thumbnail: z.ZodOptional<z.ZodString>;
5839
+ }, z.core.$strip>>>;
5840
+ catalog: z.ZodOptional<z.ZodString>;
5841
+ display: z.ZodOptional<z.ZodEnum<{
5842
+ dropdown: "dropdown";
5843
+ grid: "grid";
5844
+ pills: "pills";
5845
+ }>>;
5846
+ searchable: z.ZodOptional<z.ZodBoolean>;
5847
+ }, z.core.$strip>, z.ZodObject<{
5848
+ key: z.ZodString;
5849
+ label: z.ZodString;
5850
+ default: z.ZodOptional<z.ZodUnknown>;
5851
+ group: z.ZodOptional<z.ZodEnum<{
5852
+ primary: "primary";
5853
+ advanced: "advanced";
5854
+ }>>;
5855
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5856
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5857
+ hint: z.ZodOptional<z.ZodString>;
5858
+ required: z.ZodOptional<z.ZodBoolean>;
5859
+ type: z.ZodLiteral<"tab">;
5860
+ options: z.ZodArray<z.ZodObject<{
5861
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
5862
+ label: z.ZodString;
5863
+ thumbnail: z.ZodOptional<z.ZodString>;
5864
+ }, z.core.$strip>>;
5865
+ }, z.core.$strip>, z.ZodObject<{
5866
+ key: z.ZodString;
5867
+ label: z.ZodString;
5868
+ default: z.ZodOptional<z.ZodUnknown>;
5869
+ group: z.ZodOptional<z.ZodEnum<{
5870
+ primary: "primary";
5871
+ advanced: "advanced";
5872
+ }>>;
5873
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5874
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5875
+ hint: z.ZodOptional<z.ZodString>;
5876
+ required: z.ZodOptional<z.ZodBoolean>;
5877
+ type: z.ZodLiteral<"boolean">;
5878
+ }, z.core.$strip>, z.ZodObject<{
5879
+ key: z.ZodString;
5880
+ label: z.ZodString;
5881
+ default: z.ZodOptional<z.ZodUnknown>;
5882
+ group: z.ZodOptional<z.ZodEnum<{
5883
+ primary: "primary";
5884
+ advanced: "advanced";
5885
+ }>>;
5886
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5887
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5888
+ hint: z.ZodOptional<z.ZodString>;
5889
+ required: z.ZodOptional<z.ZodBoolean>;
5890
+ type: z.ZodLiteral<"text">;
5891
+ multiline: z.ZodOptional<z.ZodBoolean>;
5892
+ placeholder: z.ZodOptional<z.ZodString>;
5893
+ minLength: z.ZodOptional<z.ZodNumber>;
5894
+ maxLength: z.ZodOptional<z.ZodNumber>;
5895
+ }, z.core.$strip>, z.ZodObject<{
5896
+ key: z.ZodString;
5897
+ label: z.ZodString;
5898
+ default: z.ZodOptional<z.ZodUnknown>;
5899
+ group: z.ZodOptional<z.ZodEnum<{
5900
+ primary: "primary";
5901
+ advanced: "advanced";
5902
+ }>>;
5903
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5904
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5905
+ hint: z.ZodOptional<z.ZodString>;
5906
+ required: z.ZodOptional<z.ZodBoolean>;
5907
+ type: z.ZodLiteral<"slider">;
5908
+ min: z.ZodNumber;
5909
+ max: z.ZodNumber;
5910
+ step: z.ZodOptional<z.ZodNumber>;
5911
+ }, z.core.$strip>, z.ZodObject<{
5912
+ key: z.ZodString;
5913
+ label: z.ZodString;
5914
+ default: z.ZodOptional<z.ZodUnknown>;
5915
+ group: z.ZodOptional<z.ZodEnum<{
5916
+ primary: "primary";
5917
+ advanced: "advanced";
5918
+ }>>;
5919
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
5920
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
5921
+ hint: z.ZodOptional<z.ZodString>;
5922
+ required: z.ZodOptional<z.ZodBoolean>;
5923
+ type: z.ZodLiteral<"number">;
5924
+ min: z.ZodOptional<z.ZodNumber>;
5925
+ max: z.ZodOptional<z.ZodNumber>;
5926
+ step: z.ZodOptional<z.ZodNumber>;
5927
+ }, z.core.$strip>], "type">>;
5928
+ }, z.core.$strip>]>>;
4139
5929
  updatedAt: z.ZodOptional<z.ZodString>;
4140
5930
  }, z.core.$strip>;
4141
5931
  /** Successful capabilities response. */
@@ -4143,7 +5933,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
4143
5933
  success: z.ZodLiteral<true>;
4144
5934
  data: z.ZodObject<{
4145
5935
  category: z.ZodString;
4146
- features: z.ZodArray<z.ZodObject<{
5936
+ features: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4147
5937
  id: z.ZodString;
4148
5938
  displayName: z.ZodString;
4149
5939
  description: z.ZodString;
@@ -4264,58 +6054,201 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
4264
6054
  }, z.core.$strip>, z.ZodObject<{
4265
6055
  key: z.ZodString;
4266
6056
  label: z.ZodString;
4267
- default: z.ZodOptional<z.ZodUnknown>;
4268
- group: z.ZodOptional<z.ZodEnum<{
4269
- primary: "primary";
4270
- advanced: "advanced";
4271
- }>>;
4272
- visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
4273
- clientOnly: z.ZodOptional<z.ZodBoolean>;
4274
- hint: z.ZodOptional<z.ZodString>;
4275
- required: z.ZodOptional<z.ZodBoolean>;
4276
- type: z.ZodLiteral<"number">;
4277
- min: z.ZodOptional<z.ZodNumber>;
4278
- max: z.ZodOptional<z.ZodNumber>;
4279
- step: z.ZodOptional<z.ZodNumber>;
4280
- }, z.core.$strip>], "type">>;
4281
- inputSlots: z.ZodArray<z.ZodObject<{
4282
- key: z.ZodOptional<z.ZodString>;
4283
- role: z.ZodString;
4284
- accept: z.ZodEnum<{
4285
- text: "text";
4286
- file: "file";
4287
- image: "image";
4288
- audio: "audio";
4289
- video: "video";
4290
- }>;
6057
+ default: z.ZodOptional<z.ZodUnknown>;
6058
+ group: z.ZodOptional<z.ZodEnum<{
6059
+ primary: "primary";
6060
+ advanced: "advanced";
6061
+ }>>;
6062
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6063
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6064
+ hint: z.ZodOptional<z.ZodString>;
6065
+ required: z.ZodOptional<z.ZodBoolean>;
6066
+ type: z.ZodLiteral<"number">;
6067
+ min: z.ZodOptional<z.ZodNumber>;
6068
+ max: z.ZodOptional<z.ZodNumber>;
6069
+ step: z.ZodOptional<z.ZodNumber>;
6070
+ }, z.core.$strip>], "type">>;
6071
+ inputSlots: z.ZodArray<z.ZodObject<{
6072
+ key: z.ZodOptional<z.ZodString>;
6073
+ role: z.ZodString;
6074
+ accept: z.ZodEnum<{
6075
+ text: "text";
6076
+ file: "file";
6077
+ image: "image";
6078
+ audio: "audio";
6079
+ video: "video";
6080
+ }>;
6081
+ label: z.ZodString;
6082
+ required: z.ZodOptional<z.ZodBoolean>;
6083
+ minCount: z.ZodOptional<z.ZodNumber>;
6084
+ maxCount: z.ZodOptional<z.ZodNumber>;
6085
+ placeholder: z.ZodOptional<z.ZodString>;
6086
+ multiline: z.ZodOptional<z.ZodBoolean>;
6087
+ minLength: z.ZodOptional<z.ZodNumber>;
6088
+ maxLength: z.ZodOptional<z.ZodNumber>;
6089
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
6090
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
6091
+ minResolution: z.ZodOptional<z.ZodNumber>;
6092
+ maxResolution: z.ZodOptional<z.ZodNumber>;
6093
+ minDuration: z.ZodOptional<z.ZodNumber>;
6094
+ maxDuration: z.ZodOptional<z.ZodNumber>;
6095
+ hint: z.ZodOptional<z.ZodString>;
6096
+ sharedGroup: z.ZodOptional<z.ZodString>;
6097
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
6098
+ }, z.core.$strip>>;
6099
+ executionMode: z.ZodOptional<z.ZodEnum<{
6100
+ task: "task";
6101
+ streaming: "streaming";
6102
+ sync: "sync";
6103
+ }>>;
6104
+ endpoint: z.ZodOptional<z.ZodString>;
6105
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
6106
+ familyId: z.ZodOptional<z.ZodString>;
6107
+ }, z.core.$strip>>;
6108
+ }, z.core.$strip>, z.ZodObject<{
6109
+ id: z.ZodString;
6110
+ displayName: z.ZodString;
6111
+ description: z.ZodString;
6112
+ endpoint: z.ZodString;
6113
+ creditsPerCall: z.ZodNumber;
6114
+ billingType: z.ZodString;
6115
+ minMembershipLevel: z.ZodString;
6116
+ executionMode: z.ZodLiteral<"sync">;
6117
+ inputSlots: z.ZodArray<z.ZodObject<{
6118
+ key: z.ZodOptional<z.ZodString>;
6119
+ role: z.ZodString;
6120
+ accept: z.ZodEnum<{
6121
+ text: "text";
6122
+ file: "file";
6123
+ image: "image";
6124
+ audio: "audio";
6125
+ video: "video";
6126
+ }>;
6127
+ label: z.ZodString;
6128
+ required: z.ZodOptional<z.ZodBoolean>;
6129
+ minCount: z.ZodOptional<z.ZodNumber>;
6130
+ maxCount: z.ZodOptional<z.ZodNumber>;
6131
+ placeholder: z.ZodOptional<z.ZodString>;
6132
+ multiline: z.ZodOptional<z.ZodBoolean>;
6133
+ minLength: z.ZodOptional<z.ZodNumber>;
6134
+ maxLength: z.ZodOptional<z.ZodNumber>;
6135
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
6136
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
6137
+ minResolution: z.ZodOptional<z.ZodNumber>;
6138
+ maxResolution: z.ZodOptional<z.ZodNumber>;
6139
+ minDuration: z.ZodOptional<z.ZodNumber>;
6140
+ maxDuration: z.ZodOptional<z.ZodNumber>;
6141
+ hint: z.ZodOptional<z.ZodString>;
6142
+ sharedGroup: z.ZodOptional<z.ZodString>;
6143
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
6144
+ }, z.core.$strip>>;
6145
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6146
+ key: z.ZodString;
6147
+ label: z.ZodString;
6148
+ default: z.ZodOptional<z.ZodUnknown>;
6149
+ group: z.ZodOptional<z.ZodEnum<{
6150
+ primary: "primary";
6151
+ advanced: "advanced";
6152
+ }>>;
6153
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6154
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6155
+ hint: z.ZodOptional<z.ZodString>;
6156
+ required: z.ZodOptional<z.ZodBoolean>;
6157
+ type: z.ZodLiteral<"select">;
6158
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
6159
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
6160
+ label: z.ZodString;
6161
+ thumbnail: z.ZodOptional<z.ZodString>;
6162
+ }, z.core.$strip>>>;
6163
+ catalog: z.ZodOptional<z.ZodString>;
6164
+ display: z.ZodOptional<z.ZodEnum<{
6165
+ dropdown: "dropdown";
6166
+ grid: "grid";
6167
+ pills: "pills";
6168
+ }>>;
6169
+ searchable: z.ZodOptional<z.ZodBoolean>;
6170
+ }, z.core.$strip>, z.ZodObject<{
6171
+ key: z.ZodString;
6172
+ label: z.ZodString;
6173
+ default: z.ZodOptional<z.ZodUnknown>;
6174
+ group: z.ZodOptional<z.ZodEnum<{
6175
+ primary: "primary";
6176
+ advanced: "advanced";
6177
+ }>>;
6178
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6179
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6180
+ hint: z.ZodOptional<z.ZodString>;
6181
+ required: z.ZodOptional<z.ZodBoolean>;
6182
+ type: z.ZodLiteral<"tab">;
6183
+ options: z.ZodArray<z.ZodObject<{
6184
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
4291
6185
  label: z.ZodString;
4292
- required: z.ZodOptional<z.ZodBoolean>;
4293
- minCount: z.ZodOptional<z.ZodNumber>;
4294
- maxCount: z.ZodOptional<z.ZodNumber>;
4295
- placeholder: z.ZodOptional<z.ZodString>;
4296
- multiline: z.ZodOptional<z.ZodBoolean>;
4297
- minLength: z.ZodOptional<z.ZodNumber>;
4298
- maxLength: z.ZodOptional<z.ZodNumber>;
4299
- maxFileSize: z.ZodOptional<z.ZodNumber>;
4300
- acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
4301
- minResolution: z.ZodOptional<z.ZodNumber>;
4302
- maxResolution: z.ZodOptional<z.ZodNumber>;
4303
- minDuration: z.ZodOptional<z.ZodNumber>;
4304
- maxDuration: z.ZodOptional<z.ZodNumber>;
4305
- hint: z.ZodOptional<z.ZodString>;
4306
- sharedGroup: z.ZodOptional<z.ZodString>;
4307
- sharedMaxCount: z.ZodOptional<z.ZodNumber>;
6186
+ thumbnail: z.ZodOptional<z.ZodString>;
4308
6187
  }, z.core.$strip>>;
4309
- executionMode: z.ZodOptional<z.ZodEnum<{
4310
- task: "task";
4311
- streaming: "streaming";
4312
- sync: "sync";
6188
+ }, z.core.$strip>, z.ZodObject<{
6189
+ key: z.ZodString;
6190
+ label: z.ZodString;
6191
+ default: z.ZodOptional<z.ZodUnknown>;
6192
+ group: z.ZodOptional<z.ZodEnum<{
6193
+ primary: "primary";
6194
+ advanced: "advanced";
4313
6195
  }>>;
4314
- endpoint: z.ZodOptional<z.ZodString>;
4315
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4316
- familyId: z.ZodOptional<z.ZodString>;
4317
- }, z.core.$strip>>;
4318
- }, z.core.$strip>>;
6196
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6197
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6198
+ hint: z.ZodOptional<z.ZodString>;
6199
+ required: z.ZodOptional<z.ZodBoolean>;
6200
+ type: z.ZodLiteral<"boolean">;
6201
+ }, z.core.$strip>, z.ZodObject<{
6202
+ key: z.ZodString;
6203
+ label: z.ZodString;
6204
+ default: z.ZodOptional<z.ZodUnknown>;
6205
+ group: z.ZodOptional<z.ZodEnum<{
6206
+ primary: "primary";
6207
+ advanced: "advanced";
6208
+ }>>;
6209
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6210
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6211
+ hint: z.ZodOptional<z.ZodString>;
6212
+ required: z.ZodOptional<z.ZodBoolean>;
6213
+ type: z.ZodLiteral<"text">;
6214
+ multiline: z.ZodOptional<z.ZodBoolean>;
6215
+ placeholder: z.ZodOptional<z.ZodString>;
6216
+ minLength: z.ZodOptional<z.ZodNumber>;
6217
+ maxLength: z.ZodOptional<z.ZodNumber>;
6218
+ }, z.core.$strip>, z.ZodObject<{
6219
+ key: z.ZodString;
6220
+ label: z.ZodString;
6221
+ default: z.ZodOptional<z.ZodUnknown>;
6222
+ group: z.ZodOptional<z.ZodEnum<{
6223
+ primary: "primary";
6224
+ advanced: "advanced";
6225
+ }>>;
6226
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6227
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6228
+ hint: z.ZodOptional<z.ZodString>;
6229
+ required: z.ZodOptional<z.ZodBoolean>;
6230
+ type: z.ZodLiteral<"slider">;
6231
+ min: z.ZodNumber;
6232
+ max: z.ZodNumber;
6233
+ step: z.ZodOptional<z.ZodNumber>;
6234
+ }, z.core.$strip>, z.ZodObject<{
6235
+ key: z.ZodString;
6236
+ label: z.ZodString;
6237
+ default: z.ZodOptional<z.ZodUnknown>;
6238
+ group: z.ZodOptional<z.ZodEnum<{
6239
+ primary: "primary";
6240
+ advanced: "advanced";
6241
+ }>>;
6242
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6243
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6244
+ hint: z.ZodOptional<z.ZodString>;
6245
+ required: z.ZodOptional<z.ZodBoolean>;
6246
+ type: z.ZodLiteral<"number">;
6247
+ min: z.ZodOptional<z.ZodNumber>;
6248
+ max: z.ZodOptional<z.ZodNumber>;
6249
+ step: z.ZodOptional<z.ZodNumber>;
6250
+ }, z.core.$strip>], "type">>;
6251
+ }, z.core.$strip>]>>;
4319
6252
  updatedAt: z.ZodOptional<z.ZodString>;
4320
6253
  }, z.core.$strip>;
4321
6254
  }, z.core.$strip>;
@@ -4512,7 +6445,7 @@ declare const v3TextChatRequestSchema: z.ZodObject<{
4512
6445
  /** v3 tool execute request body. */
4513
6446
  declare const v3ToolExecuteRequestSchema: z.ZodObject<{
4514
6447
  feature: z.ZodString;
4515
- variant: z.ZodString;
6448
+ variant: z.ZodOptional<z.ZodString>;
4516
6449
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4517
6450
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4518
6451
  }, z.core.$strip>;
@@ -4521,6 +6454,74 @@ declare const v3ToolExecuteResponseSchema: z.ZodObject<{
4521
6454
  success: z.ZodLiteral<true>;
4522
6455
  data: z.ZodUnknown;
4523
6456
  }, z.core.$strip>;
6457
+ /** Capabilities overview response. */
6458
+ declare const v3CapabilitiesOverviewResponseSchema: z.ZodObject<{
6459
+ success: z.ZodLiteral<true>;
6460
+ data: z.ZodArray<z.ZodObject<{
6461
+ feature: z.ZodString;
6462
+ description: z.ZodString;
6463
+ category: z.ZodString;
6464
+ variants: z.ZodArray<z.ZodObject<{
6465
+ id: z.ZodString;
6466
+ name: z.ZodString;
6467
+ description: z.ZodString;
6468
+ }, z.core.$strip>>;
6469
+ }, z.core.$strip>>;
6470
+ }, z.core.$strip>;
6471
+ /** Overview request (optional category query param). */
6472
+ declare const v3CapabilitiesOverviewRequestSchema: z.ZodOptional<z.ZodObject<{
6473
+ category: z.ZodOptional<z.ZodEnum<{
6474
+ text: "text";
6475
+ image: "image";
6476
+ audio: "audio";
6477
+ video: "video";
6478
+ tools: "tools";
6479
+ }>>;
6480
+ }, z.core.$strip>>;
6481
+ /** Capabilities detail response. */
6482
+ declare const v3CapabilitiesDetailResponseSchema: z.ZodObject<{
6483
+ success: z.ZodLiteral<true>;
6484
+ data: z.ZodObject<{
6485
+ feature: z.ZodString;
6486
+ featureDescription: z.ZodString;
6487
+ category: z.ZodString;
6488
+ variantId: z.ZodString;
6489
+ variantName: z.ZodString;
6490
+ creditsPerCall: z.ZodNumber;
6491
+ billingType: z.ZodString;
6492
+ minMembershipLevel: z.ZodString;
6493
+ invocation: z.ZodObject<{
6494
+ method: z.ZodString;
6495
+ endpoint: z.ZodString;
6496
+ contentType: z.ZodString;
6497
+ authRequired: z.ZodBoolean;
6498
+ executionMode: z.ZodString;
6499
+ bodyTemplate: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6500
+ }, z.core.$strip>;
6501
+ inputs: z.ZodArray<z.ZodObject<{
6502
+ role: z.ZodString;
6503
+ accept: z.ZodString;
6504
+ label: z.ZodString;
6505
+ description: z.ZodString;
6506
+ required: z.ZodBoolean;
6507
+ maxLength: z.ZodOptional<z.ZodNumber>;
6508
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
6509
+ }, z.core.$strip>>;
6510
+ params: z.ZodArray<z.ZodObject<{
6511
+ key: z.ZodString;
6512
+ type: z.ZodString;
6513
+ label: z.ZodString;
6514
+ description: z.ZodString;
6515
+ default: z.ZodOptional<z.ZodUnknown>;
6516
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
6517
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
6518
+ label: z.ZodString;
6519
+ }, z.core.$strip>>>;
6520
+ advanced: z.ZodBoolean;
6521
+ required: z.ZodBoolean;
6522
+ }, z.core.$strip>>;
6523
+ }, z.core.$strip>;
6524
+ }, z.core.$strip>;
4524
6525
  /** Single param schema entry (UI metadata). */
4525
6526
  type V3ParamSchema = z.infer<typeof paramSchemaSchema>;
4526
6527
  /** Input slot declaration. */
@@ -4529,6 +6530,8 @@ type V3InputSlot = z.infer<typeof inputSlotSchema>;
4529
6530
  type V3Variant = z.infer<typeof v3VariantSchema>;
4530
6531
  /** Feature entry within a capabilities response. */
4531
6532
  type V3Feature = z.infer<typeof v3FeatureSchema>;
6533
+ /** Tool feature entry within a capabilities response (category = "tools"). */
6534
+ type V3ToolFeature = z.infer<typeof v3ToolFeatureSchema>;
4532
6535
  /** Capabilities data payload. */
4533
6536
  type V3CapabilitiesData = z.infer<typeof v3CapabilitiesDataSchema>;
4534
6537
  /** Full capabilities response. */
@@ -4569,6 +6572,12 @@ type V3TextChatRequest = z.infer<typeof v3TextChatRequestSchema>;
4569
6572
  type V3ToolExecuteRequest = z.infer<typeof v3ToolExecuteRequestSchema>;
4570
6573
  /** v3 tool execute response. */
4571
6574
  type V3ToolExecuteResponse = z.infer<typeof v3ToolExecuteResponseSchema>;
6575
+ /** Capabilities overview request. */
6576
+ type V3CapabilitiesOverviewRequest = z.infer<typeof v3CapabilitiesOverviewRequestSchema>;
6577
+ /** Capabilities overview response. */
6578
+ type V3CapabilitiesOverviewResponse = z.infer<typeof v3CapabilitiesOverviewResponseSchema>;
6579
+ /** Capabilities detail response. */
6580
+ type V3CapabilitiesDetailResponse = z.infer<typeof v3CapabilitiesDetailResponseSchema>;
4572
6581
  /** Schema for task status SSE event data (lightweight, only taskId + status). */
4573
6582
  declare const v3TaskSSEEventSchema: z.ZodObject<{
4574
6583
  taskId: z.ZodString;
@@ -4724,12 +6733,22 @@ declare class AiClient {
4724
6733
  updatedAt?: string | undefined;
4725
6734
  };
4726
6735
  }>;
6736
+ /**
6737
+ * Fetch capabilities overview (simplified list for AI agent discovery).
6738
+ * 公开接口,无需认证。支持 category 过滤。
6739
+ */
6740
+ capabilitiesOverview(category?: "image" | "video" | "audio" | "text" | "tools"): Promise<V3CapabilitiesOverviewResponse>;
6741
+ /**
6742
+ * Fetch variant detail by ID (full params, inputs, invocation info).
6743
+ * 公开接口,无需认证。
6744
+ */
6745
+ capabilitiesDetail(variantId: string): Promise<V3CapabilitiesDetailResponse>;
4727
6746
  /** Fetch image capabilities (features + variants) via v3 API. */
4728
6747
  imageCapabilities(): Promise<{
4729
6748
  success: true;
4730
6749
  data: {
4731
6750
  category: string;
4732
- features: {
6751
+ features: ({
4733
6752
  id: string;
4734
6753
  displayName: string;
4735
6754
  description: string;
@@ -4864,7 +6883,122 @@ declare class AiClient {
4864
6883
  tags?: string[] | undefined;
4865
6884
  familyId?: string | undefined;
4866
6885
  }[];
4867
- }[];
6886
+ } | {
6887
+ id: string;
6888
+ displayName: string;
6889
+ description: string;
6890
+ endpoint: string;
6891
+ creditsPerCall: number;
6892
+ billingType: string;
6893
+ minMembershipLevel: string;
6894
+ executionMode: "sync";
6895
+ inputSlots: {
6896
+ role: string;
6897
+ accept: "text" | "file" | "image" | "audio" | "video";
6898
+ label: string;
6899
+ key?: string | undefined;
6900
+ required?: boolean | undefined;
6901
+ minCount?: number | undefined;
6902
+ maxCount?: number | undefined;
6903
+ placeholder?: string | undefined;
6904
+ multiline?: boolean | undefined;
6905
+ minLength?: number | undefined;
6906
+ maxLength?: number | undefined;
6907
+ maxFileSize?: number | undefined;
6908
+ acceptFormats?: string[] | undefined;
6909
+ minResolution?: number | undefined;
6910
+ maxResolution?: number | undefined;
6911
+ minDuration?: number | undefined;
6912
+ maxDuration?: number | undefined;
6913
+ hint?: string | undefined;
6914
+ sharedGroup?: string | undefined;
6915
+ sharedMaxCount?: number | undefined;
6916
+ }[];
6917
+ paramsSchema: ({
6918
+ key: string;
6919
+ label: string;
6920
+ type: "select";
6921
+ default?: unknown;
6922
+ group?: "primary" | "advanced" | undefined;
6923
+ visibleWhen?: unknown;
6924
+ clientOnly?: boolean | undefined;
6925
+ hint?: string | undefined;
6926
+ required?: boolean | undefined;
6927
+ options?: {
6928
+ value: string | number | boolean;
6929
+ label: string;
6930
+ thumbnail?: string | undefined;
6931
+ }[] | undefined;
6932
+ catalog?: string | undefined;
6933
+ display?: "dropdown" | "grid" | "pills" | undefined;
6934
+ searchable?: boolean | undefined;
6935
+ } | {
6936
+ key: string;
6937
+ label: string;
6938
+ type: "tab";
6939
+ options: {
6940
+ value: string | number | boolean;
6941
+ label: string;
6942
+ thumbnail?: string | undefined;
6943
+ }[];
6944
+ default?: unknown;
6945
+ group?: "primary" | "advanced" | undefined;
6946
+ visibleWhen?: unknown;
6947
+ clientOnly?: boolean | undefined;
6948
+ hint?: string | undefined;
6949
+ required?: boolean | undefined;
6950
+ } | {
6951
+ key: string;
6952
+ label: string;
6953
+ type: "boolean";
6954
+ default?: unknown;
6955
+ group?: "primary" | "advanced" | undefined;
6956
+ visibleWhen?: unknown;
6957
+ clientOnly?: boolean | undefined;
6958
+ hint?: string | undefined;
6959
+ required?: boolean | undefined;
6960
+ } | {
6961
+ key: string;
6962
+ label: string;
6963
+ type: "text";
6964
+ default?: unknown;
6965
+ group?: "primary" | "advanced" | undefined;
6966
+ visibleWhen?: unknown;
6967
+ clientOnly?: boolean | undefined;
6968
+ hint?: string | undefined;
6969
+ required?: boolean | undefined;
6970
+ multiline?: boolean | undefined;
6971
+ placeholder?: string | undefined;
6972
+ minLength?: number | undefined;
6973
+ maxLength?: number | undefined;
6974
+ } | {
6975
+ key: string;
6976
+ label: string;
6977
+ type: "slider";
6978
+ min: number;
6979
+ max: number;
6980
+ default?: unknown;
6981
+ group?: "primary" | "advanced" | undefined;
6982
+ visibleWhen?: unknown;
6983
+ clientOnly?: boolean | undefined;
6984
+ hint?: string | undefined;
6985
+ required?: boolean | undefined;
6986
+ step?: number | undefined;
6987
+ } | {
6988
+ key: string;
6989
+ label: string;
6990
+ type: "number";
6991
+ default?: unknown;
6992
+ group?: "primary" | "advanced" | undefined;
6993
+ visibleWhen?: unknown;
6994
+ clientOnly?: boolean | undefined;
6995
+ hint?: string | undefined;
6996
+ required?: boolean | undefined;
6997
+ min?: number | undefined;
6998
+ max?: number | undefined;
6999
+ step?: number | undefined;
7000
+ })[];
7001
+ })[];
4868
7002
  updatedAt?: string | undefined;
4869
7003
  };
4870
7004
  }>;
@@ -4873,7 +7007,7 @@ declare class AiClient {
4873
7007
  success: true;
4874
7008
  data: {
4875
7009
  category: string;
4876
- features: {
7010
+ features: ({
4877
7011
  id: string;
4878
7012
  displayName: string;
4879
7013
  description: string;
@@ -5008,7 +7142,122 @@ declare class AiClient {
5008
7142
  tags?: string[] | undefined;
5009
7143
  familyId?: string | undefined;
5010
7144
  }[];
5011
- }[];
7145
+ } | {
7146
+ id: string;
7147
+ displayName: string;
7148
+ description: string;
7149
+ endpoint: string;
7150
+ creditsPerCall: number;
7151
+ billingType: string;
7152
+ minMembershipLevel: string;
7153
+ executionMode: "sync";
7154
+ inputSlots: {
7155
+ role: string;
7156
+ accept: "text" | "file" | "image" | "audio" | "video";
7157
+ label: string;
7158
+ key?: string | undefined;
7159
+ required?: boolean | undefined;
7160
+ minCount?: number | undefined;
7161
+ maxCount?: number | undefined;
7162
+ placeholder?: string | undefined;
7163
+ multiline?: boolean | undefined;
7164
+ minLength?: number | undefined;
7165
+ maxLength?: number | undefined;
7166
+ maxFileSize?: number | undefined;
7167
+ acceptFormats?: string[] | undefined;
7168
+ minResolution?: number | undefined;
7169
+ maxResolution?: number | undefined;
7170
+ minDuration?: number | undefined;
7171
+ maxDuration?: number | undefined;
7172
+ hint?: string | undefined;
7173
+ sharedGroup?: string | undefined;
7174
+ sharedMaxCount?: number | undefined;
7175
+ }[];
7176
+ paramsSchema: ({
7177
+ key: string;
7178
+ label: string;
7179
+ type: "select";
7180
+ default?: unknown;
7181
+ group?: "primary" | "advanced" | undefined;
7182
+ visibleWhen?: unknown;
7183
+ clientOnly?: boolean | undefined;
7184
+ hint?: string | undefined;
7185
+ required?: boolean | undefined;
7186
+ options?: {
7187
+ value: string | number | boolean;
7188
+ label: string;
7189
+ thumbnail?: string | undefined;
7190
+ }[] | undefined;
7191
+ catalog?: string | undefined;
7192
+ display?: "dropdown" | "grid" | "pills" | undefined;
7193
+ searchable?: boolean | undefined;
7194
+ } | {
7195
+ key: string;
7196
+ label: string;
7197
+ type: "tab";
7198
+ options: {
7199
+ value: string | number | boolean;
7200
+ label: string;
7201
+ thumbnail?: string | undefined;
7202
+ }[];
7203
+ default?: unknown;
7204
+ group?: "primary" | "advanced" | undefined;
7205
+ visibleWhen?: unknown;
7206
+ clientOnly?: boolean | undefined;
7207
+ hint?: string | undefined;
7208
+ required?: boolean | undefined;
7209
+ } | {
7210
+ key: string;
7211
+ label: string;
7212
+ type: "boolean";
7213
+ default?: unknown;
7214
+ group?: "primary" | "advanced" | undefined;
7215
+ visibleWhen?: unknown;
7216
+ clientOnly?: boolean | undefined;
7217
+ hint?: string | undefined;
7218
+ required?: boolean | undefined;
7219
+ } | {
7220
+ key: string;
7221
+ label: string;
7222
+ type: "text";
7223
+ default?: unknown;
7224
+ group?: "primary" | "advanced" | undefined;
7225
+ visibleWhen?: unknown;
7226
+ clientOnly?: boolean | undefined;
7227
+ hint?: string | undefined;
7228
+ required?: boolean | undefined;
7229
+ multiline?: boolean | undefined;
7230
+ placeholder?: string | undefined;
7231
+ minLength?: number | undefined;
7232
+ maxLength?: number | undefined;
7233
+ } | {
7234
+ key: string;
7235
+ label: string;
7236
+ type: "slider";
7237
+ min: number;
7238
+ max: number;
7239
+ default?: unknown;
7240
+ group?: "primary" | "advanced" | undefined;
7241
+ visibleWhen?: unknown;
7242
+ clientOnly?: boolean | undefined;
7243
+ hint?: string | undefined;
7244
+ required?: boolean | undefined;
7245
+ step?: number | undefined;
7246
+ } | {
7247
+ key: string;
7248
+ label: string;
7249
+ type: "number";
7250
+ default?: unknown;
7251
+ group?: "primary" | "advanced" | undefined;
7252
+ visibleWhen?: unknown;
7253
+ clientOnly?: boolean | undefined;
7254
+ hint?: string | undefined;
7255
+ required?: boolean | undefined;
7256
+ min?: number | undefined;
7257
+ max?: number | undefined;
7258
+ step?: number | undefined;
7259
+ })[];
7260
+ })[];
5012
7261
  updatedAt?: string | undefined;
5013
7262
  };
5014
7263
  }>;
@@ -5017,7 +7266,7 @@ declare class AiClient {
5017
7266
  success: true;
5018
7267
  data: {
5019
7268
  category: string;
5020
- features: {
7269
+ features: ({
5021
7270
  id: string;
5022
7271
  displayName: string;
5023
7272
  description: string;
@@ -5152,7 +7401,122 @@ declare class AiClient {
5152
7401
  tags?: string[] | undefined;
5153
7402
  familyId?: string | undefined;
5154
7403
  }[];
5155
- }[];
7404
+ } | {
7405
+ id: string;
7406
+ displayName: string;
7407
+ description: string;
7408
+ endpoint: string;
7409
+ creditsPerCall: number;
7410
+ billingType: string;
7411
+ minMembershipLevel: string;
7412
+ executionMode: "sync";
7413
+ inputSlots: {
7414
+ role: string;
7415
+ accept: "text" | "file" | "image" | "audio" | "video";
7416
+ label: string;
7417
+ key?: string | undefined;
7418
+ required?: boolean | undefined;
7419
+ minCount?: number | undefined;
7420
+ maxCount?: number | undefined;
7421
+ placeholder?: string | undefined;
7422
+ multiline?: boolean | undefined;
7423
+ minLength?: number | undefined;
7424
+ maxLength?: number | undefined;
7425
+ maxFileSize?: number | undefined;
7426
+ acceptFormats?: string[] | undefined;
7427
+ minResolution?: number | undefined;
7428
+ maxResolution?: number | undefined;
7429
+ minDuration?: number | undefined;
7430
+ maxDuration?: number | undefined;
7431
+ hint?: string | undefined;
7432
+ sharedGroup?: string | undefined;
7433
+ sharedMaxCount?: number | undefined;
7434
+ }[];
7435
+ paramsSchema: ({
7436
+ key: string;
7437
+ label: string;
7438
+ type: "select";
7439
+ default?: unknown;
7440
+ group?: "primary" | "advanced" | undefined;
7441
+ visibleWhen?: unknown;
7442
+ clientOnly?: boolean | undefined;
7443
+ hint?: string | undefined;
7444
+ required?: boolean | undefined;
7445
+ options?: {
7446
+ value: string | number | boolean;
7447
+ label: string;
7448
+ thumbnail?: string | undefined;
7449
+ }[] | undefined;
7450
+ catalog?: string | undefined;
7451
+ display?: "dropdown" | "grid" | "pills" | undefined;
7452
+ searchable?: boolean | undefined;
7453
+ } | {
7454
+ key: string;
7455
+ label: string;
7456
+ type: "tab";
7457
+ options: {
7458
+ value: string | number | boolean;
7459
+ label: string;
7460
+ thumbnail?: string | undefined;
7461
+ }[];
7462
+ default?: unknown;
7463
+ group?: "primary" | "advanced" | undefined;
7464
+ visibleWhen?: unknown;
7465
+ clientOnly?: boolean | undefined;
7466
+ hint?: string | undefined;
7467
+ required?: boolean | undefined;
7468
+ } | {
7469
+ key: string;
7470
+ label: string;
7471
+ type: "boolean";
7472
+ default?: unknown;
7473
+ group?: "primary" | "advanced" | undefined;
7474
+ visibleWhen?: unknown;
7475
+ clientOnly?: boolean | undefined;
7476
+ hint?: string | undefined;
7477
+ required?: boolean | undefined;
7478
+ } | {
7479
+ key: string;
7480
+ label: string;
7481
+ type: "text";
7482
+ default?: unknown;
7483
+ group?: "primary" | "advanced" | undefined;
7484
+ visibleWhen?: unknown;
7485
+ clientOnly?: boolean | undefined;
7486
+ hint?: string | undefined;
7487
+ required?: boolean | undefined;
7488
+ multiline?: boolean | undefined;
7489
+ placeholder?: string | undefined;
7490
+ minLength?: number | undefined;
7491
+ maxLength?: number | undefined;
7492
+ } | {
7493
+ key: string;
7494
+ label: string;
7495
+ type: "slider";
7496
+ min: number;
7497
+ max: number;
7498
+ default?: unknown;
7499
+ group?: "primary" | "advanced" | undefined;
7500
+ visibleWhen?: unknown;
7501
+ clientOnly?: boolean | undefined;
7502
+ hint?: string | undefined;
7503
+ required?: boolean | undefined;
7504
+ step?: number | undefined;
7505
+ } | {
7506
+ key: string;
7507
+ label: string;
7508
+ type: "number";
7509
+ default?: unknown;
7510
+ group?: "primary" | "advanced" | undefined;
7511
+ visibleWhen?: unknown;
7512
+ clientOnly?: boolean | undefined;
7513
+ hint?: string | undefined;
7514
+ required?: boolean | undefined;
7515
+ min?: number | undefined;
7516
+ max?: number | undefined;
7517
+ step?: number | undefined;
7518
+ })[];
7519
+ })[];
5156
7520
  updatedAt?: string | undefined;
5157
7521
  };
5158
7522
  }>;
@@ -5161,7 +7525,7 @@ declare class AiClient {
5161
7525
  success: true;
5162
7526
  data: {
5163
7527
  category: string;
5164
- features: {
7528
+ features: ({
5165
7529
  id: string;
5166
7530
  displayName: string;
5167
7531
  description: string;
@@ -5296,7 +7660,122 @@ declare class AiClient {
5296
7660
  tags?: string[] | undefined;
5297
7661
  familyId?: string | undefined;
5298
7662
  }[];
5299
- }[];
7663
+ } | {
7664
+ id: string;
7665
+ displayName: string;
7666
+ description: string;
7667
+ endpoint: string;
7668
+ creditsPerCall: number;
7669
+ billingType: string;
7670
+ minMembershipLevel: string;
7671
+ executionMode: "sync";
7672
+ inputSlots: {
7673
+ role: string;
7674
+ accept: "text" | "file" | "image" | "audio" | "video";
7675
+ label: string;
7676
+ key?: string | undefined;
7677
+ required?: boolean | undefined;
7678
+ minCount?: number | undefined;
7679
+ maxCount?: number | undefined;
7680
+ placeholder?: string | undefined;
7681
+ multiline?: boolean | undefined;
7682
+ minLength?: number | undefined;
7683
+ maxLength?: number | undefined;
7684
+ maxFileSize?: number | undefined;
7685
+ acceptFormats?: string[] | undefined;
7686
+ minResolution?: number | undefined;
7687
+ maxResolution?: number | undefined;
7688
+ minDuration?: number | undefined;
7689
+ maxDuration?: number | undefined;
7690
+ hint?: string | undefined;
7691
+ sharedGroup?: string | undefined;
7692
+ sharedMaxCount?: number | undefined;
7693
+ }[];
7694
+ paramsSchema: ({
7695
+ key: string;
7696
+ label: string;
7697
+ type: "select";
7698
+ default?: unknown;
7699
+ group?: "primary" | "advanced" | undefined;
7700
+ visibleWhen?: unknown;
7701
+ clientOnly?: boolean | undefined;
7702
+ hint?: string | undefined;
7703
+ required?: boolean | undefined;
7704
+ options?: {
7705
+ value: string | number | boolean;
7706
+ label: string;
7707
+ thumbnail?: string | undefined;
7708
+ }[] | undefined;
7709
+ catalog?: string | undefined;
7710
+ display?: "dropdown" | "grid" | "pills" | undefined;
7711
+ searchable?: boolean | undefined;
7712
+ } | {
7713
+ key: string;
7714
+ label: string;
7715
+ type: "tab";
7716
+ options: {
7717
+ value: string | number | boolean;
7718
+ label: string;
7719
+ thumbnail?: string | undefined;
7720
+ }[];
7721
+ default?: unknown;
7722
+ group?: "primary" | "advanced" | undefined;
7723
+ visibleWhen?: unknown;
7724
+ clientOnly?: boolean | undefined;
7725
+ hint?: string | undefined;
7726
+ required?: boolean | undefined;
7727
+ } | {
7728
+ key: string;
7729
+ label: string;
7730
+ type: "boolean";
7731
+ default?: unknown;
7732
+ group?: "primary" | "advanced" | undefined;
7733
+ visibleWhen?: unknown;
7734
+ clientOnly?: boolean | undefined;
7735
+ hint?: string | undefined;
7736
+ required?: boolean | undefined;
7737
+ } | {
7738
+ key: string;
7739
+ label: string;
7740
+ type: "text";
7741
+ default?: unknown;
7742
+ group?: "primary" | "advanced" | undefined;
7743
+ visibleWhen?: unknown;
7744
+ clientOnly?: boolean | undefined;
7745
+ hint?: string | undefined;
7746
+ required?: boolean | undefined;
7747
+ multiline?: boolean | undefined;
7748
+ placeholder?: string | undefined;
7749
+ minLength?: number | undefined;
7750
+ maxLength?: number | undefined;
7751
+ } | {
7752
+ key: string;
7753
+ label: string;
7754
+ type: "slider";
7755
+ min: number;
7756
+ max: number;
7757
+ default?: unknown;
7758
+ group?: "primary" | "advanced" | undefined;
7759
+ visibleWhen?: unknown;
7760
+ clientOnly?: boolean | undefined;
7761
+ hint?: string | undefined;
7762
+ required?: boolean | undefined;
7763
+ step?: number | undefined;
7764
+ } | {
7765
+ key: string;
7766
+ label: string;
7767
+ type: "number";
7768
+ default?: unknown;
7769
+ group?: "primary" | "advanced" | undefined;
7770
+ visibleWhen?: unknown;
7771
+ clientOnly?: boolean | undefined;
7772
+ hint?: string | undefined;
7773
+ required?: boolean | undefined;
7774
+ min?: number | undefined;
7775
+ max?: number | undefined;
7776
+ step?: number | undefined;
7777
+ })[];
7778
+ })[];
5300
7779
  updatedAt?: string | undefined;
5301
7780
  };
5302
7781
  }>;
@@ -5604,16 +8083,31 @@ declare const MEDIA_FEATURES: {
5604
8083
  readonly webSearch: {
5605
8084
  readonly id: "webSearch";
5606
8085
  readonly label: {
5607
- readonly zh: "联网搜索";
5608
- readonly "zh-TW": "聯網搜尋";
8086
+ readonly zh: "网页搜索";
8087
+ readonly "zh-TW": "網頁搜尋";
5609
8088
  readonly en: "Web Search";
5610
8089
  readonly ja: "ウェブ検索";
5611
8090
  };
5612
8091
  readonly description: {
5613
- readonly zh: "联网搜索最新信息并整理回答";
5614
- readonly "zh-TW": "聯網搜尋最新資訊並整理回答";
5615
- readonly en: "Search the web for latest information and synthesize answers";
5616
- readonly ja: "ウェブ検索で最新情報を取得し回答をまとめる";
8092
+ readonly zh: "搜索互联网网页并返回结构化文字结果";
8093
+ readonly "zh-TW": "搜尋網頁並回傳結構化文字結果";
8094
+ readonly en: "Search web pages and return structured text results";
8095
+ readonly ja: "ウェブページを検索し構造化テキスト結果を返す";
8096
+ };
8097
+ };
8098
+ readonly webSearchImage: {
8099
+ readonly id: "webSearchImage";
8100
+ readonly label: {
8101
+ readonly zh: "图片搜索";
8102
+ readonly "zh-TW": "圖片搜尋";
8103
+ readonly en: "Image Search";
8104
+ readonly ja: "画像検索";
8105
+ };
8106
+ readonly description: {
8107
+ readonly zh: "搜索互联网图片并返回图片链接与缩略图";
8108
+ readonly "zh-TW": "搜尋網路圖片並回傳連結與縮圖";
8109
+ readonly en: "Search the web for images and return links with thumbnails";
8110
+ readonly ja: "ウェブ上の画像を検索し、リンクとサムネイルを返す";
5617
8111
  };
5618
8112
  };
5619
8113
  readonly speechToText: {
@@ -6176,6 +8670,9 @@ type index$9_MediaFeatureId = MediaFeatureId;
6176
8670
  type index$9_ModelProviderId = ModelProviderId;
6177
8671
  type index$9_V3BasicSuccess = V3BasicSuccess;
6178
8672
  type index$9_V3CapabilitiesData = V3CapabilitiesData;
8673
+ type index$9_V3CapabilitiesDetailResponse = V3CapabilitiesDetailResponse;
8674
+ type index$9_V3CapabilitiesOverviewRequest = V3CapabilitiesOverviewRequest;
8675
+ type index$9_V3CapabilitiesOverviewResponse = V3CapabilitiesOverviewResponse;
6179
8676
  type index$9_V3CapabilitiesResponse = V3CapabilitiesResponse;
6180
8677
  type index$9_V3CreditEstimate = V3CreditEstimate;
6181
8678
  type index$9_V3EstimatePriceRequest = V3EstimatePriceRequest;
@@ -6197,6 +8694,7 @@ type index$9_V3TextGenerateRequest = V3TextGenerateRequest;
6197
8694
  type index$9_V3TextGenerateResponse = V3TextGenerateResponse;
6198
8695
  type index$9_V3ToolExecuteRequest = V3ToolExecuteRequest;
6199
8696
  type index$9_V3ToolExecuteResponse = V3ToolExecuteResponse;
8697
+ type index$9_V3ToolFeature = V3ToolFeature;
6200
8698
  type index$9_V3UploadResponse = V3UploadResponse;
6201
8699
  type index$9_V3Variant = V3Variant;
6202
8700
  declare const index$9_aiChatCompletionsRequestSchema: typeof aiChatCompletionsRequestSchema;
@@ -6230,6 +8728,9 @@ declare const index$9_inputSlotSchema: typeof inputSlotSchema;
6230
8728
  declare const index$9_paramSchemaSchema: typeof paramSchemaSchema;
6231
8729
  declare const index$9_v3BasicSuccessSchema: typeof v3BasicSuccessSchema;
6232
8730
  declare const index$9_v3CapabilitiesDataSchema: typeof v3CapabilitiesDataSchema;
8731
+ declare const index$9_v3CapabilitiesDetailResponseSchema: typeof v3CapabilitiesDetailResponseSchema;
8732
+ declare const index$9_v3CapabilitiesOverviewRequestSchema: typeof v3CapabilitiesOverviewRequestSchema;
8733
+ declare const index$9_v3CapabilitiesOverviewResponseSchema: typeof v3CapabilitiesOverviewResponseSchema;
6233
8734
  declare const index$9_v3CapabilitiesResponseSchema: typeof v3CapabilitiesResponseSchema;
6234
8735
  declare const index$9_v3CreditEstimateSchema: typeof v3CreditEstimateSchema;
6235
8736
  declare const index$9_v3EstimatePriceRequestSchema: typeof v3EstimatePriceRequestSchema;
@@ -6249,10 +8750,11 @@ declare const index$9_v3TextGenerateRequestSchema: typeof v3TextGenerateRequestS
6249
8750
  declare const index$9_v3TextGenerateResponseSchema: typeof v3TextGenerateResponseSchema;
6250
8751
  declare const index$9_v3ToolExecuteRequestSchema: typeof v3ToolExecuteRequestSchema;
6251
8752
  declare const index$9_v3ToolExecuteResponseSchema: typeof v3ToolExecuteResponseSchema;
8753
+ declare const index$9_v3ToolFeatureSchema: typeof v3ToolFeatureSchema;
6252
8754
  declare const index$9_v3UploadResponseSchema: typeof v3UploadResponseSchema;
6253
8755
  declare const index$9_v3VariantSchema: typeof v3VariantSchema;
6254
8756
  declare namespace index$9 {
6255
- export { index$9_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$9_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$9_AI_MODEL_TAGS as AI_MODEL_TAGS, index$9_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$9_AiChatCompletionsRequest as AiChatCompletionsRequest, type index$9_AiChatModel as AiChatModel, type index$9_AiChatModelsResponse as AiChatModelsResponse, type index$9_AiChatSessionMetadata as AiChatSessionMetadata, index$9_AiClient as AiClient, type index$9_AiClientMetadata as AiClientMetadata, type index$9_AiFileUploadOptions as AiFileUploadOptions, type index$9_AiFileUploadResponse as AiFileUploadResponse, type index$9_AiModel as AiModel, type index$9_AiModelCapabilities as AiModelCapabilities, type index$9_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$9_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$9_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$9_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$9_AiModelTag as AiModelTag, type index$9_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$9_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$9_AiProviderTemplate as AiProviderTemplate, type index$9_AiProviderTemplateModel as AiProviderTemplateModel, type index$9_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$9_AiResponsesRequest as AiResponsesRequest, index$9_MEDIA_FEATURES as MEDIA_FEATURES, index$9_MODEL_PROVIDERS as MODEL_PROVIDERS, type index$9_MediaFeatureId as MediaFeatureId, type index$9_ModelProviderId as ModelProviderId, type index$9_V3BasicSuccess as V3BasicSuccess, type index$9_V3CapabilitiesData as V3CapabilitiesData, type index$9_V3CapabilitiesResponse as V3CapabilitiesResponse, type index$9_V3CreditEstimate as V3CreditEstimate, type index$9_V3EstimatePriceRequest as V3EstimatePriceRequest, type index$9_V3EstimatePriceResponse as V3EstimatePriceResponse, type index$9_V3Feature as V3Feature, type index$9_V3GenerateRequest as V3GenerateRequest, type index$9_V3InputSlot as V3InputSlot, type index$9_V3ParamSchema as V3ParamSchema, type index$9_V3QueueRequest as V3QueueRequest, type index$9_V3QueueResponse as V3QueueResponse, type index$9_V3QueueTicket as V3QueueTicket, type index$9_V3TaskCreated as V3TaskCreated, type index$9_V3TaskGroupResponse as V3TaskGroupResponse, type index$9_V3TaskItem as V3TaskItem, type index$9_V3TaskResponse as V3TaskResponse, type index$9_V3TaskSSEEvent as V3TaskSSEEvent, type index$9_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_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 };
8757
+ 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_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_v3UploadResponseSchema as v3UploadResponseSchema, index$9_v3VariantSchema as v3VariantSchema };
6256
8758
  }
6257
8759
 
6258
8760
  declare const aiToolsEndpoints: {
@@ -8436,4 +10938,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
8436
10938
  transformer: false;
8437
10939
  }, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
8438
10940
 
8439
- 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 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, v3CapabilitiesResponseSchema, v3CreditEstimateSchema, v3EstimatePriceRequestSchema, v3EstimatePriceResponseSchema, v3FeatureSchema, v3GenerateRequestSchema, v3QueueRequestSchema, v3QueueResponseSchema, v3QueueTicketSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3TaskSSEEventSchema, v3TextChatRequestSchema, v3TextGenerateRequestSchema, v3TextGenerateResponseSchema, v3ToolExecuteRequestSchema, v3ToolExecuteResponseSchema, v3UploadResponseSchema, v3VariantSchema };
10941
+ 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 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, v3UploadResponseSchema, v3VariantSchema };