@openloaf-saas/sdk 0.1.40 → 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 +2440 -146
- package/dist/index.js +1 -1
- package/package.json +1 -1
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,38 +819,153 @@ 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
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
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;
|
|
624
969
|
paramsSchema: ({
|
|
625
970
|
key: string;
|
|
626
971
|
label: string;
|
|
@@ -732,7 +1077,122 @@ declare class SaaSContract {
|
|
|
732
1077
|
tags?: string[] | undefined;
|
|
733
1078
|
familyId?: string | undefined;
|
|
734
1079
|
}[];
|
|
735
|
-
}
|
|
1080
|
+
} | {
|
|
1081
|
+
id: string;
|
|
1082
|
+
displayName: string;
|
|
1083
|
+
description: string;
|
|
1084
|
+
endpoint: string;
|
|
1085
|
+
creditsPerCall: number;
|
|
1086
|
+
billingType: string;
|
|
1087
|
+
minMembershipLevel: string;
|
|
1088
|
+
executionMode: "sync";
|
|
1089
|
+
inputSlots: {
|
|
1090
|
+
role: string;
|
|
1091
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
1092
|
+
label: string;
|
|
1093
|
+
key?: string | undefined;
|
|
1094
|
+
required?: boolean | undefined;
|
|
1095
|
+
minCount?: number | undefined;
|
|
1096
|
+
maxCount?: number | undefined;
|
|
1097
|
+
placeholder?: string | undefined;
|
|
1098
|
+
multiline?: boolean | undefined;
|
|
1099
|
+
minLength?: number | undefined;
|
|
1100
|
+
maxLength?: number | undefined;
|
|
1101
|
+
maxFileSize?: number | undefined;
|
|
1102
|
+
acceptFormats?: string[] | undefined;
|
|
1103
|
+
minResolution?: number | undefined;
|
|
1104
|
+
maxResolution?: number | undefined;
|
|
1105
|
+
minDuration?: number | undefined;
|
|
1106
|
+
maxDuration?: number | undefined;
|
|
1107
|
+
hint?: string | undefined;
|
|
1108
|
+
sharedGroup?: string | undefined;
|
|
1109
|
+
sharedMaxCount?: number | undefined;
|
|
1110
|
+
}[];
|
|
1111
|
+
paramsSchema: ({
|
|
1112
|
+
key: string;
|
|
1113
|
+
label: string;
|
|
1114
|
+
type: "select";
|
|
1115
|
+
default?: unknown;
|
|
1116
|
+
group?: "primary" | "advanced" | undefined;
|
|
1117
|
+
visibleWhen?: unknown;
|
|
1118
|
+
clientOnly?: boolean | undefined;
|
|
1119
|
+
hint?: string | undefined;
|
|
1120
|
+
required?: boolean | undefined;
|
|
1121
|
+
options?: {
|
|
1122
|
+
value: string | number | boolean;
|
|
1123
|
+
label: string;
|
|
1124
|
+
thumbnail?: string | undefined;
|
|
1125
|
+
}[] | undefined;
|
|
1126
|
+
catalog?: string | undefined;
|
|
1127
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
1128
|
+
searchable?: boolean | undefined;
|
|
1129
|
+
} | {
|
|
1130
|
+
key: string;
|
|
1131
|
+
label: string;
|
|
1132
|
+
type: "tab";
|
|
1133
|
+
options: {
|
|
1134
|
+
value: string | number | boolean;
|
|
1135
|
+
label: string;
|
|
1136
|
+
thumbnail?: string | undefined;
|
|
1137
|
+
}[];
|
|
1138
|
+
default?: unknown;
|
|
1139
|
+
group?: "primary" | "advanced" | undefined;
|
|
1140
|
+
visibleWhen?: unknown;
|
|
1141
|
+
clientOnly?: boolean | undefined;
|
|
1142
|
+
hint?: string | undefined;
|
|
1143
|
+
required?: boolean | undefined;
|
|
1144
|
+
} | {
|
|
1145
|
+
key: string;
|
|
1146
|
+
label: string;
|
|
1147
|
+
type: "boolean";
|
|
1148
|
+
default?: unknown;
|
|
1149
|
+
group?: "primary" | "advanced" | undefined;
|
|
1150
|
+
visibleWhen?: unknown;
|
|
1151
|
+
clientOnly?: boolean | undefined;
|
|
1152
|
+
hint?: string | undefined;
|
|
1153
|
+
required?: boolean | undefined;
|
|
1154
|
+
} | {
|
|
1155
|
+
key: string;
|
|
1156
|
+
label: string;
|
|
1157
|
+
type: "text";
|
|
1158
|
+
default?: unknown;
|
|
1159
|
+
group?: "primary" | "advanced" | undefined;
|
|
1160
|
+
visibleWhen?: unknown;
|
|
1161
|
+
clientOnly?: boolean | undefined;
|
|
1162
|
+
hint?: string | undefined;
|
|
1163
|
+
required?: boolean | undefined;
|
|
1164
|
+
multiline?: boolean | undefined;
|
|
1165
|
+
placeholder?: string | undefined;
|
|
1166
|
+
minLength?: number | undefined;
|
|
1167
|
+
maxLength?: number | undefined;
|
|
1168
|
+
} | {
|
|
1169
|
+
key: string;
|
|
1170
|
+
label: string;
|
|
1171
|
+
type: "slider";
|
|
1172
|
+
min: number;
|
|
1173
|
+
max: number;
|
|
1174
|
+
default?: unknown;
|
|
1175
|
+
group?: "primary" | "advanced" | undefined;
|
|
1176
|
+
visibleWhen?: unknown;
|
|
1177
|
+
clientOnly?: boolean | undefined;
|
|
1178
|
+
hint?: string | undefined;
|
|
1179
|
+
required?: boolean | undefined;
|
|
1180
|
+
step?: number | undefined;
|
|
1181
|
+
} | {
|
|
1182
|
+
key: string;
|
|
1183
|
+
label: string;
|
|
1184
|
+
type: "number";
|
|
1185
|
+
default?: unknown;
|
|
1186
|
+
group?: "primary" | "advanced" | undefined;
|
|
1187
|
+
visibleWhen?: unknown;
|
|
1188
|
+
clientOnly?: boolean | undefined;
|
|
1189
|
+
hint?: string | undefined;
|
|
1190
|
+
required?: boolean | undefined;
|
|
1191
|
+
min?: number | undefined;
|
|
1192
|
+
max?: number | undefined;
|
|
1193
|
+
step?: number | undefined;
|
|
1194
|
+
})[];
|
|
1195
|
+
})[];
|
|
736
1196
|
updatedAt?: string | undefined;
|
|
737
1197
|
};
|
|
738
1198
|
}>;
|
|
@@ -740,7 +1200,7 @@ declare class SaaSContract {
|
|
|
740
1200
|
success: true;
|
|
741
1201
|
data: {
|
|
742
1202
|
category: string;
|
|
743
|
-
features: {
|
|
1203
|
+
features: ({
|
|
744
1204
|
id: string;
|
|
745
1205
|
displayName: string;
|
|
746
1206
|
description: string;
|
|
@@ -875,7 +1335,122 @@ declare class SaaSContract {
|
|
|
875
1335
|
tags?: string[] | undefined;
|
|
876
1336
|
familyId?: string | undefined;
|
|
877
1337
|
}[];
|
|
878
|
-
}
|
|
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;
|
|
1393
|
+
label: string;
|
|
1394
|
+
thumbnail?: string | undefined;
|
|
1395
|
+
}[];
|
|
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;
|
|
@@ -995,30 +1570,145 @@ declare class SaaSContract {
|
|
|
995
1570
|
role: string;
|
|
996
1571
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
997
1572
|
label: string;
|
|
998
|
-
key?: string | undefined;
|
|
999
|
-
required?: boolean | undefined;
|
|
1000
|
-
minCount?: number | undefined;
|
|
1001
|
-
maxCount?: number | undefined;
|
|
1002
|
-
placeholder?: string | undefined;
|
|
1003
|
-
multiline?: boolean | undefined;
|
|
1004
|
-
minLength?: number | undefined;
|
|
1005
|
-
maxLength?: number | undefined;
|
|
1006
|
-
maxFileSize?: number | undefined;
|
|
1007
|
-
acceptFormats?: string[] | undefined;
|
|
1008
|
-
minResolution?: number | undefined;
|
|
1009
|
-
maxResolution?: number | undefined;
|
|
1010
|
-
minDuration?: number | undefined;
|
|
1011
|
-
maxDuration?: number | undefined;
|
|
1012
|
-
hint?: string | undefined;
|
|
1013
|
-
sharedGroup?: string | undefined;
|
|
1014
|
-
sharedMaxCount?: number | undefined;
|
|
1573
|
+
key?: string | undefined;
|
|
1574
|
+
required?: boolean | undefined;
|
|
1575
|
+
minCount?: number | undefined;
|
|
1576
|
+
maxCount?: number | undefined;
|
|
1577
|
+
placeholder?: string | undefined;
|
|
1578
|
+
multiline?: boolean | undefined;
|
|
1579
|
+
minLength?: number | undefined;
|
|
1580
|
+
maxLength?: number | undefined;
|
|
1581
|
+
maxFileSize?: number | undefined;
|
|
1582
|
+
acceptFormats?: string[] | undefined;
|
|
1583
|
+
minResolution?: number | undefined;
|
|
1584
|
+
maxResolution?: number | undefined;
|
|
1585
|
+
minDuration?: number | undefined;
|
|
1586
|
+
maxDuration?: number | undefined;
|
|
1587
|
+
hint?: string | undefined;
|
|
1588
|
+
sharedGroup?: string | undefined;
|
|
1589
|
+
sharedMaxCount?: number | undefined;
|
|
1590
|
+
}[];
|
|
1591
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
1592
|
+
endpoint?: string | undefined;
|
|
1593
|
+
tags?: string[] | undefined;
|
|
1594
|
+
familyId?: string | undefined;
|
|
1595
|
+
}[];
|
|
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;
|
|
1015
1653
|
}[];
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
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
|
}>;
|
|
@@ -1192,7 +1882,7 @@ declare class SaaSContract {
|
|
|
1192
1882
|
}>;
|
|
1193
1883
|
readonly v3ToolExecute: Endpoint<{
|
|
1194
1884
|
feature: string;
|
|
1195
|
-
variant
|
|
1885
|
+
variant?: string | undefined;
|
|
1196
1886
|
inputs?: Record<string, unknown> | undefined;
|
|
1197
1887
|
params?: Record<string, unknown> | undefined;
|
|
1198
1888
|
}, {
|
|
@@ -1821,7 +2511,7 @@ declare const aiEndpoints: {
|
|
|
1821
2511
|
success: true;
|
|
1822
2512
|
data: {
|
|
1823
2513
|
category: string;
|
|
1824
|
-
features: {
|
|
2514
|
+
features: ({
|
|
1825
2515
|
id: string;
|
|
1826
2516
|
displayName: string;
|
|
1827
2517
|
description: string;
|
|
@@ -1956,7 +2646,122 @@ declare const aiEndpoints: {
|
|
|
1956
2646
|
tags?: string[] | undefined;
|
|
1957
2647
|
familyId?: string | undefined;
|
|
1958
2648
|
}[];
|
|
1959
|
-
}
|
|
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
|
+
})[];
|
|
1960
2765
|
updatedAt?: string | undefined;
|
|
1961
2766
|
};
|
|
1962
2767
|
}>;
|
|
@@ -1965,7 +2770,7 @@ declare const aiEndpoints: {
|
|
|
1965
2770
|
success: true;
|
|
1966
2771
|
data: {
|
|
1967
2772
|
category: string;
|
|
1968
|
-
features: {
|
|
2773
|
+
features: ({
|
|
1969
2774
|
id: string;
|
|
1970
2775
|
displayName: string;
|
|
1971
2776
|
description: string;
|
|
@@ -2100,7 +2905,122 @@ declare const aiEndpoints: {
|
|
|
2100
2905
|
tags?: string[] | undefined;
|
|
2101
2906
|
familyId?: string | undefined;
|
|
2102
2907
|
}[];
|
|
2103
|
-
}
|
|
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
|
+
})[];
|
|
2104
3024
|
updatedAt?: string | undefined;
|
|
2105
3025
|
};
|
|
2106
3026
|
}>;
|
|
@@ -2109,7 +3029,7 @@ declare const aiEndpoints: {
|
|
|
2109
3029
|
success: true;
|
|
2110
3030
|
data: {
|
|
2111
3031
|
category: string;
|
|
2112
|
-
features: {
|
|
3032
|
+
features: ({
|
|
2113
3033
|
id: string;
|
|
2114
3034
|
displayName: string;
|
|
2115
3035
|
description: string;
|
|
@@ -2244,7 +3164,122 @@ declare const aiEndpoints: {
|
|
|
2244
3164
|
tags?: string[] | undefined;
|
|
2245
3165
|
familyId?: string | undefined;
|
|
2246
3166
|
}[];
|
|
2247
|
-
}
|
|
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
|
+
})[];
|
|
2248
3283
|
updatedAt?: string | undefined;
|
|
2249
3284
|
};
|
|
2250
3285
|
}>;
|
|
@@ -2253,7 +3288,7 @@ declare const aiEndpoints: {
|
|
|
2253
3288
|
success: true;
|
|
2254
3289
|
data: {
|
|
2255
3290
|
category: string;
|
|
2256
|
-
features: {
|
|
3291
|
+
features: ({
|
|
2257
3292
|
id: string;
|
|
2258
3293
|
displayName: string;
|
|
2259
3294
|
description: string;
|
|
@@ -2365,30 +3400,145 @@ declare const aiEndpoints: {
|
|
|
2365
3400
|
role: string;
|
|
2366
3401
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
2367
3402
|
label: string;
|
|
2368
|
-
key?: string | undefined;
|
|
2369
|
-
required?: boolean | undefined;
|
|
2370
|
-
minCount?: number | undefined;
|
|
2371
|
-
maxCount?: number | undefined;
|
|
2372
|
-
placeholder?: string | undefined;
|
|
2373
|
-
multiline?: boolean | undefined;
|
|
2374
|
-
minLength?: number | undefined;
|
|
2375
|
-
maxLength?: number | undefined;
|
|
2376
|
-
maxFileSize?: number | undefined;
|
|
2377
|
-
acceptFormats?: string[] | undefined;
|
|
2378
|
-
minResolution?: number | undefined;
|
|
2379
|
-
maxResolution?: number | undefined;
|
|
2380
|
-
minDuration?: number | undefined;
|
|
2381
|
-
maxDuration?: number | undefined;
|
|
2382
|
-
hint?: string | undefined;
|
|
2383
|
-
sharedGroup?: string | undefined;
|
|
2384
|
-
sharedMaxCount?: number | undefined;
|
|
3403
|
+
key?: string | undefined;
|
|
3404
|
+
required?: boolean | undefined;
|
|
3405
|
+
minCount?: number | undefined;
|
|
3406
|
+
maxCount?: number | undefined;
|
|
3407
|
+
placeholder?: string | undefined;
|
|
3408
|
+
multiline?: boolean | undefined;
|
|
3409
|
+
minLength?: number | undefined;
|
|
3410
|
+
maxLength?: number | undefined;
|
|
3411
|
+
maxFileSize?: number | undefined;
|
|
3412
|
+
acceptFormats?: string[] | undefined;
|
|
3413
|
+
minResolution?: number | undefined;
|
|
3414
|
+
maxResolution?: number | undefined;
|
|
3415
|
+
minDuration?: number | undefined;
|
|
3416
|
+
maxDuration?: number | undefined;
|
|
3417
|
+
hint?: string | undefined;
|
|
3418
|
+
sharedGroup?: string | undefined;
|
|
3419
|
+
sharedMaxCount?: number | undefined;
|
|
3420
|
+
}[];
|
|
3421
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
3422
|
+
endpoint?: string | undefined;
|
|
3423
|
+
tags?: string[] | undefined;
|
|
3424
|
+
familyId?: string | undefined;
|
|
3425
|
+
}[];
|
|
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;
|
|
2385
3483
|
}[];
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
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
|
+
})[];
|
|
2392
3542
|
updatedAt?: string | undefined;
|
|
2393
3543
|
};
|
|
2394
3544
|
}>;
|
|
@@ -2397,7 +3547,7 @@ declare const aiEndpoints: {
|
|
|
2397
3547
|
success: true;
|
|
2398
3548
|
data: {
|
|
2399
3549
|
category: string;
|
|
2400
|
-
features: {
|
|
3550
|
+
features: ({
|
|
2401
3551
|
id: string;
|
|
2402
3552
|
displayName: string;
|
|
2403
3553
|
description: string;
|
|
@@ -2532,7 +3682,122 @@ declare const aiEndpoints: {
|
|
|
2532
3682
|
tags?: string[] | undefined;
|
|
2533
3683
|
familyId?: string | undefined;
|
|
2534
3684
|
}[];
|
|
2535
|
-
}
|
|
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
|
+
})[];
|
|
2536
3801
|
updatedAt?: string | undefined;
|
|
2537
3802
|
};
|
|
2538
3803
|
}>;
|
|
@@ -2541,7 +3806,7 @@ declare const aiEndpoints: {
|
|
|
2541
3806
|
success: true;
|
|
2542
3807
|
data: {
|
|
2543
3808
|
category: string;
|
|
2544
|
-
features: {
|
|
3809
|
+
features: ({
|
|
2545
3810
|
id: string;
|
|
2546
3811
|
displayName: string;
|
|
2547
3812
|
description: string;
|
|
@@ -2676,7 +3941,122 @@ declare const aiEndpoints: {
|
|
|
2676
3941
|
tags?: string[] | undefined;
|
|
2677
3942
|
familyId?: string | undefined;
|
|
2678
3943
|
}[];
|
|
2679
|
-
}
|
|
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
|
+
})[];
|
|
2680
4060
|
updatedAt?: string | undefined;
|
|
2681
4061
|
};
|
|
2682
4062
|
}>;
|
|
@@ -2863,7 +4243,7 @@ declare const aiEndpoints: {
|
|
|
2863
4243
|
/** Execute a tool (e.g. webSearch). Returns sync JSON result. */
|
|
2864
4244
|
readonly v3ToolExecute: Endpoint<{
|
|
2865
4245
|
feature: string;
|
|
2866
|
-
variant
|
|
4246
|
+
variant?: string | undefined;
|
|
2867
4247
|
inputs?: Record<string, unknown> | undefined;
|
|
2868
4248
|
params?: Record<string, unknown> | undefined;
|
|
2869
4249
|
}, {
|
|
@@ -4073,15 +5453,164 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
4073
5453
|
streaming: "streaming";
|
|
4074
5454
|
sync: "sync";
|
|
4075
5455
|
}>>;
|
|
4076
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
4077
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4078
|
-
familyId: z.ZodOptional<z.ZodString>;
|
|
4079
|
-
}, 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">>;
|
|
4080
5609
|
}, z.core.$strip>;
|
|
4081
5610
|
/** Capabilities data payload for a single media category. */
|
|
4082
5611
|
declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
4083
5612
|
category: z.ZodString;
|
|
4084
|
-
features: z.ZodArray<z.ZodObject<{
|
|
5613
|
+
features: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4085
5614
|
id: z.ZodString;
|
|
4086
5615
|
displayName: z.ZodString;
|
|
4087
5616
|
description: z.ZodString;
|
|
@@ -4253,7 +5782,150 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
4253
5782
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4254
5783
|
familyId: z.ZodOptional<z.ZodString>;
|
|
4255
5784
|
}, z.core.$strip>>;
|
|
4256
|
-
}, 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>]>>;
|
|
4257
5929
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4258
5930
|
}, z.core.$strip>;
|
|
4259
5931
|
/** Successful capabilities response. */
|
|
@@ -4261,7 +5933,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
4261
5933
|
success: z.ZodLiteral<true>;
|
|
4262
5934
|
data: z.ZodObject<{
|
|
4263
5935
|
category: z.ZodString;
|
|
4264
|
-
features: z.ZodArray<z.ZodObject<{
|
|
5936
|
+
features: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4265
5937
|
id: z.ZodString;
|
|
4266
5938
|
displayName: z.ZodString;
|
|
4267
5939
|
description: z.ZodString;
|
|
@@ -4407,33 +6079,176 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
4407
6079
|
video: "video";
|
|
4408
6080
|
}>;
|
|
4409
6081
|
label: z.ZodString;
|
|
4410
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
4411
|
-
minCount: z.ZodOptional<z.ZodNumber>;
|
|
4412
|
-
maxCount: z.ZodOptional<z.ZodNumber>;
|
|
4413
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
4414
|
-
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
4415
|
-
minLength: z.ZodOptional<z.ZodNumber>;
|
|
4416
|
-
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4417
|
-
maxFileSize: z.ZodOptional<z.ZodNumber>;
|
|
4418
|
-
acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4419
|
-
minResolution: z.ZodOptional<z.ZodNumber>;
|
|
4420
|
-
maxResolution: z.ZodOptional<z.ZodNumber>;
|
|
4421
|
-
minDuration: z.ZodOptional<z.ZodNumber>;
|
|
4422
|
-
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
4423
|
-
hint: z.ZodOptional<z.ZodString>;
|
|
4424
|
-
sharedGroup: z.ZodOptional<z.ZodString>;
|
|
4425
|
-
sharedMaxCount: z.ZodOptional<z.ZodNumber>;
|
|
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]>;
|
|
6185
|
+
label: z.ZodString;
|
|
6186
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
4426
6187
|
}, z.core.$strip>>;
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
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";
|
|
4431
6195
|
}>>;
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
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>]>>;
|
|
4437
6252
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4438
6253
|
}, z.core.$strip>;
|
|
4439
6254
|
}, z.core.$strip>;
|
|
@@ -4630,7 +6445,7 @@ declare const v3TextChatRequestSchema: z.ZodObject<{
|
|
|
4630
6445
|
/** v3 tool execute request body. */
|
|
4631
6446
|
declare const v3ToolExecuteRequestSchema: z.ZodObject<{
|
|
4632
6447
|
feature: z.ZodString;
|
|
4633
|
-
variant: z.ZodString
|
|
6448
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
4634
6449
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4635
6450
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4636
6451
|
}, z.core.$strip>;
|
|
@@ -4715,6 +6530,8 @@ type V3InputSlot = z.infer<typeof inputSlotSchema>;
|
|
|
4715
6530
|
type V3Variant = z.infer<typeof v3VariantSchema>;
|
|
4716
6531
|
/** Feature entry within a capabilities response. */
|
|
4717
6532
|
type V3Feature = z.infer<typeof v3FeatureSchema>;
|
|
6533
|
+
/** Tool feature entry within a capabilities response (category = "tools"). */
|
|
6534
|
+
type V3ToolFeature = z.infer<typeof v3ToolFeatureSchema>;
|
|
4718
6535
|
/** Capabilities data payload. */
|
|
4719
6536
|
type V3CapabilitiesData = z.infer<typeof v3CapabilitiesDataSchema>;
|
|
4720
6537
|
/** Full capabilities response. */
|
|
@@ -4931,7 +6748,7 @@ declare class AiClient {
|
|
|
4931
6748
|
success: true;
|
|
4932
6749
|
data: {
|
|
4933
6750
|
category: string;
|
|
4934
|
-
features: {
|
|
6751
|
+
features: ({
|
|
4935
6752
|
id: string;
|
|
4936
6753
|
displayName: string;
|
|
4937
6754
|
description: string;
|
|
@@ -5066,7 +6883,122 @@ declare class AiClient {
|
|
|
5066
6883
|
tags?: string[] | undefined;
|
|
5067
6884
|
familyId?: string | undefined;
|
|
5068
6885
|
}[];
|
|
5069
|
-
}
|
|
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
|
+
})[];
|
|
5070
7002
|
updatedAt?: string | undefined;
|
|
5071
7003
|
};
|
|
5072
7004
|
}>;
|
|
@@ -5075,7 +7007,7 @@ declare class AiClient {
|
|
|
5075
7007
|
success: true;
|
|
5076
7008
|
data: {
|
|
5077
7009
|
category: string;
|
|
5078
|
-
features: {
|
|
7010
|
+
features: ({
|
|
5079
7011
|
id: string;
|
|
5080
7012
|
displayName: string;
|
|
5081
7013
|
description: string;
|
|
@@ -5210,7 +7142,122 @@ declare class AiClient {
|
|
|
5210
7142
|
tags?: string[] | undefined;
|
|
5211
7143
|
familyId?: string | undefined;
|
|
5212
7144
|
}[];
|
|
5213
|
-
}
|
|
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
|
+
})[];
|
|
5214
7261
|
updatedAt?: string | undefined;
|
|
5215
7262
|
};
|
|
5216
7263
|
}>;
|
|
@@ -5219,7 +7266,7 @@ declare class AiClient {
|
|
|
5219
7266
|
success: true;
|
|
5220
7267
|
data: {
|
|
5221
7268
|
category: string;
|
|
5222
|
-
features: {
|
|
7269
|
+
features: ({
|
|
5223
7270
|
id: string;
|
|
5224
7271
|
displayName: string;
|
|
5225
7272
|
description: string;
|
|
@@ -5354,7 +7401,122 @@ declare class AiClient {
|
|
|
5354
7401
|
tags?: string[] | undefined;
|
|
5355
7402
|
familyId?: string | undefined;
|
|
5356
7403
|
}[];
|
|
5357
|
-
}
|
|
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
|
+
})[];
|
|
5358
7520
|
updatedAt?: string | undefined;
|
|
5359
7521
|
};
|
|
5360
7522
|
}>;
|
|
@@ -5363,7 +7525,7 @@ declare class AiClient {
|
|
|
5363
7525
|
success: true;
|
|
5364
7526
|
data: {
|
|
5365
7527
|
category: string;
|
|
5366
|
-
features: {
|
|
7528
|
+
features: ({
|
|
5367
7529
|
id: string;
|
|
5368
7530
|
displayName: string;
|
|
5369
7531
|
description: string;
|
|
@@ -5498,7 +7660,122 @@ declare class AiClient {
|
|
|
5498
7660
|
tags?: string[] | undefined;
|
|
5499
7661
|
familyId?: string | undefined;
|
|
5500
7662
|
}[];
|
|
5501
|
-
}
|
|
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
|
+
})[];
|
|
5502
7779
|
updatedAt?: string | undefined;
|
|
5503
7780
|
};
|
|
5504
7781
|
}>;
|
|
@@ -5806,16 +8083,31 @@ declare const MEDIA_FEATURES: {
|
|
|
5806
8083
|
readonly webSearch: {
|
|
5807
8084
|
readonly id: "webSearch";
|
|
5808
8085
|
readonly label: {
|
|
5809
|
-
readonly zh: "
|
|
5810
|
-
readonly "zh-TW": "
|
|
8086
|
+
readonly zh: "网页搜索";
|
|
8087
|
+
readonly "zh-TW": "網頁搜尋";
|
|
5811
8088
|
readonly en: "Web Search";
|
|
5812
8089
|
readonly ja: "ウェブ検索";
|
|
5813
8090
|
};
|
|
5814
8091
|
readonly description: {
|
|
5815
|
-
readonly zh: "
|
|
5816
|
-
readonly "zh-TW": "
|
|
5817
|
-
readonly en: "Search
|
|
5818
|
-
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: "ウェブ上の画像を検索し、リンクとサムネイルを返す";
|
|
5819
8111
|
};
|
|
5820
8112
|
};
|
|
5821
8113
|
readonly speechToText: {
|
|
@@ -6402,6 +8694,7 @@ type index$9_V3TextGenerateRequest = V3TextGenerateRequest;
|
|
|
6402
8694
|
type index$9_V3TextGenerateResponse = V3TextGenerateResponse;
|
|
6403
8695
|
type index$9_V3ToolExecuteRequest = V3ToolExecuteRequest;
|
|
6404
8696
|
type index$9_V3ToolExecuteResponse = V3ToolExecuteResponse;
|
|
8697
|
+
type index$9_V3ToolFeature = V3ToolFeature;
|
|
6405
8698
|
type index$9_V3UploadResponse = V3UploadResponse;
|
|
6406
8699
|
type index$9_V3Variant = V3Variant;
|
|
6407
8700
|
declare const index$9_aiChatCompletionsRequestSchema: typeof aiChatCompletionsRequestSchema;
|
|
@@ -6457,10 +8750,11 @@ declare const index$9_v3TextGenerateRequestSchema: typeof v3TextGenerateRequestS
|
|
|
6457
8750
|
declare const index$9_v3TextGenerateResponseSchema: typeof v3TextGenerateResponseSchema;
|
|
6458
8751
|
declare const index$9_v3ToolExecuteRequestSchema: typeof v3ToolExecuteRequestSchema;
|
|
6459
8752
|
declare const index$9_v3ToolExecuteResponseSchema: typeof v3ToolExecuteResponseSchema;
|
|
8753
|
+
declare const index$9_v3ToolFeatureSchema: typeof v3ToolFeatureSchema;
|
|
6460
8754
|
declare const index$9_v3UploadResponseSchema: typeof v3UploadResponseSchema;
|
|
6461
8755
|
declare const index$9_v3VariantSchema: typeof v3VariantSchema;
|
|
6462
8756
|
declare namespace index$9 {
|
|
6463
|
-
export { index$9_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$9_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$9_AI_MODEL_TAGS as AI_MODEL_TAGS, index$9_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$9_AiChatCompletionsRequest as AiChatCompletionsRequest, type index$9_AiChatModel as AiChatModel, type index$9_AiChatModelsResponse as AiChatModelsResponse, type index$9_AiChatSessionMetadata as AiChatSessionMetadata, index$9_AiClient as AiClient, type index$9_AiClientMetadata as AiClientMetadata, type index$9_AiFileUploadOptions as AiFileUploadOptions, type index$9_AiFileUploadResponse as AiFileUploadResponse, type index$9_AiModel as AiModel, type index$9_AiModelCapabilities as AiModelCapabilities, type index$9_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$9_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$9_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$9_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$9_AiModelTag as AiModelTag, type index$9_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$9_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$9_AiProviderTemplate as AiProviderTemplate, type index$9_AiProviderTemplateModel as AiProviderTemplateModel, type index$9_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$9_AiResponsesRequest as AiResponsesRequest, index$9_MEDIA_FEATURES as MEDIA_FEATURES, index$9_MODEL_PROVIDERS as MODEL_PROVIDERS, type index$9_MediaFeatureId as MediaFeatureId, type index$9_ModelProviderId as ModelProviderId, type index$9_V3BasicSuccess as V3BasicSuccess, type index$9_V3CapabilitiesData as V3CapabilitiesData, type index$9_V3CapabilitiesDetailResponse as V3CapabilitiesDetailResponse, type index$9_V3CapabilitiesOverviewRequest as V3CapabilitiesOverviewRequest, type index$9_V3CapabilitiesOverviewResponse as V3CapabilitiesOverviewResponse, type index$9_V3CapabilitiesResponse as V3CapabilitiesResponse, type index$9_V3CreditEstimate as V3CreditEstimate, type index$9_V3EstimatePriceRequest as V3EstimatePriceRequest, type index$9_V3EstimatePriceResponse as V3EstimatePriceResponse, type index$9_V3Feature as V3Feature, type index$9_V3GenerateRequest as V3GenerateRequest, type index$9_V3InputSlot as V3InputSlot, type index$9_V3ParamSchema as V3ParamSchema, type index$9_V3QueueRequest as V3QueueRequest, type index$9_V3QueueResponse as V3QueueResponse, type index$9_V3QueueTicket as V3QueueTicket, type index$9_V3TaskCreated as V3TaskCreated, type index$9_V3TaskGroupResponse as V3TaskGroupResponse, type index$9_V3TaskItem as V3TaskItem, type index$9_V3TaskResponse as V3TaskResponse, type index$9_V3TaskSSEEvent as V3TaskSSEEvent, type index$9_V3TextChatRequest as V3TextChatRequest, type index$9_V3TextGenerateRequest as V3TextGenerateRequest, type index$9_V3TextGenerateResponse as V3TextGenerateResponse, type index$9_V3ToolExecuteRequest as V3ToolExecuteRequest, type index$9_V3ToolExecuteResponse as V3ToolExecuteResponse, type index$9_V3UploadResponse as V3UploadResponse, type index$9_V3Variant as V3Variant, index$9_aiChatCompletionsRequestSchema as aiChatCompletionsRequestSchema, index$9_aiChatModelSchema as aiChatModelSchema, index$9_aiChatModelsPayloadSchema as aiChatModelsPayloadSchema, index$9_aiChatModelsResponseSchema as aiChatModelsResponseSchema, index$9_aiChatModelsSuccessSchema as aiChatModelsSuccessSchema, index$9_aiChatSessionMetadataSchema as aiChatSessionMetadataSchema, index$9_aiClientMetadataSchema as aiClientMetadataSchema, index$9_aiEndpoints as aiEndpoints, index$9_aiErrorResponseSchema as aiErrorResponseSchema, index$9_aiModelCapabilitiesInputSchema as aiModelCapabilitiesInputSchema, index$9_aiModelCapabilitiesOutputSchema as aiModelCapabilitiesOutputSchema, index$9_aiModelCapabilitiesSchema as aiModelCapabilitiesSchema, index$9_aiModelCapabilityCommonSchema as aiModelCapabilityCommonSchema, index$9_aiModelParameterFieldSchema as aiModelParameterFieldSchema, index$9_aiModelParamsSchema as aiModelParamsSchema, index$9_aiModelSchema as aiModelSchema, index$9_aiModelsRequestSchema as aiModelsRequestSchema, index$9_aiModelsUpdatedAtDataSchema as aiModelsUpdatedAtDataSchema, index$9_aiModelsUpdatedAtResponseSchema as aiModelsUpdatedAtResponseSchema, index$9_aiModelsUpdatedAtSuccessSchema as aiModelsUpdatedAtSuccessSchema, index$9_aiProviderTemplateModelSchema as aiProviderTemplateModelSchema, index$9_aiProviderTemplateSchema as aiProviderTemplateSchema, index$9_aiProviderTemplatesPayloadSchema as aiProviderTemplatesPayloadSchema, index$9_aiProviderTemplatesRequestSchema as aiProviderTemplatesRequestSchema, index$9_aiProviderTemplatesResponseSchema as aiProviderTemplatesResponseSchema, index$9_aiProviderTemplatesSuccessSchema as aiProviderTemplatesSuccessSchema, index$9_aiResponsesRequestSchema as aiResponsesRequestSchema, index$9_inputSlotSchema as inputSlotSchema, index$9_paramSchemaSchema as paramSchemaSchema, index$9_v3BasicSuccessSchema as v3BasicSuccessSchema, index$9_v3CapabilitiesDataSchema as v3CapabilitiesDataSchema, index$9_v3CapabilitiesDetailResponseSchema as v3CapabilitiesDetailResponseSchema, index$9_v3CapabilitiesOverviewRequestSchema as v3CapabilitiesOverviewRequestSchema, index$9_v3CapabilitiesOverviewResponseSchema as v3CapabilitiesOverviewResponseSchema, index$9_v3CapabilitiesResponseSchema as v3CapabilitiesResponseSchema, index$9_v3CreditEstimateSchema as v3CreditEstimateSchema, index$9_v3EstimatePriceRequestSchema as v3EstimatePriceRequestSchema, index$9_v3EstimatePriceResponseSchema as v3EstimatePriceResponseSchema, index$9_v3FeatureSchema as v3FeatureSchema, index$9_v3GenerateRequestSchema as v3GenerateRequestSchema, index$9_v3QueueRequestSchema as v3QueueRequestSchema, index$9_v3QueueResponseSchema as v3QueueResponseSchema, index$9_v3QueueTicketSchema as v3QueueTicketSchema, index$9_v3TaskCreatedSchema as v3TaskCreatedSchema, index$9_v3TaskGroupResponseSchema as v3TaskGroupResponseSchema, index$9_v3TaskItemSchema as v3TaskItemSchema, index$9_v3TaskResponseSchema as v3TaskResponseSchema, index$9_v3TaskSSEEventSchema as v3TaskSSEEventSchema, index$9_v3TextChatRequestSchema as v3TextChatRequestSchema, index$9_v3TextGenerateRequestSchema as v3TextGenerateRequestSchema, index$9_v3TextGenerateResponseSchema as v3TextGenerateResponseSchema, index$9_v3ToolExecuteRequestSchema as v3ToolExecuteRequestSchema, index$9_v3ToolExecuteResponseSchema as v3ToolExecuteResponseSchema, index$9_v3UploadResponseSchema as v3UploadResponseSchema, index$9_v3VariantSchema as v3VariantSchema };
|
|
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 };
|
|
6464
8758
|
}
|
|
6465
8759
|
|
|
6466
8760
|
declare const aiToolsEndpoints: {
|
|
@@ -8644,4 +10938,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
|
|
|
8644
10938
|
transformer: false;
|
|
8645
10939
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
|
|
8646
10940
|
|
|
8647
|
-
export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatCompletionsRequest, type AiChatModel, type AiChatModelsResponse, type AiChatSessionMetadata, AiClient, type AiClientMetadata, type AiFileUploadOptions, type AiFileUploadResponse, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiResponsesRequest, AiToolsClient, type AnalyzeSkillsRequest, type AnalyzeSkillsResponse, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, type CreateEmbedOptions, type EmbedEventMap, type EmbedInstance, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, MEDIA_FEATURES, MODEL_PROVIDERS, type MarketSkillEntry, type MediaFeatureId, type ModelProviderId, type OrderStatusRequest, type OrderStatusResponse, PaymentClient, type RechargeRequest, type RechargeResponse, type RecommendActionsRequest, type RecommendActionsResponse, RedeemCodeClient, type RedeemCodeRecordItem, type RedeemCodeRecordsRequest, type RedeemCodeRecordsResponse, type RedeemCodeRedeemRequest, type RedeemCodeRedeemResponse, type RedeemCodeSummary, type RefundRequest, type RefundResponse, type ResponseType, SaaSClient, type SaaSClientOptions, SaaSContract, SaaSHttpError, SaaSNetworkError, SaaSSchemaError, type SkillArchiveFormat, type SkillListItem, type SkillMarketCheckUpdatesRequest, type SkillMarketCheckUpdatesResponse, SkillMarketClient, type SkillMarketDetailResponse, type SkillMarketListRequest, type SkillMarketListResponse, type SkillMarketRateRequest, type SkillMarketRateResponse, type SkillOwnerSummary, type SkillSource, type SkillStatus, type SkillType, type SkillVersionSummary, type SkillVisibility, SkillsClient, type SkillsDetailResponse, type SkillsDownloadResponse, type SkillsListRequest, type SkillsListResponse, type SubscribeRequest, type SubscribeResponse, type SummarizeRequest, type SummarizeResponse, type TrpcClientOptions, type UpgradeRequest, type UpgradeResponse, UserClient, type UserMembershipLevel, type UserSelf, type UserSelfRequest, type UserSelfResponse, type V3BasicSuccess, type V3CapabilitiesData, type V3CapabilitiesDetailResponse, type V3CapabilitiesOverviewRequest, type V3CapabilitiesOverviewResponse, type V3CapabilitiesResponse, type V3CreditEstimate, type V3EstimatePriceRequest, type V3EstimatePriceResponse, type V3Feature, type V3GenerateRequest, type V3InputSlot, type V3ParamSchema, type V3QueueRequest, type V3QueueResponse, type V3QueueTicket, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3TaskSSEEvent, type V3TextChatRequest, type V3TextGenerateRequest, type V3TextGenerateResponse, type V3ToolExecuteRequest, type V3ToolExecuteResponse, type V3UploadResponse, type V3Variant, aiChatCompletionsRequestSchema, aiChatModelSchema, aiChatModelsPayloadSchema, aiChatModelsResponseSchema, aiChatModelsSuccessSchema, aiChatSessionMetadataSchema, aiClientMetadataSchema, aiEndpoints, aiErrorResponseSchema, aiModelCapabilitiesInputSchema, aiModelCapabilitiesOutputSchema, aiModelCapabilitiesSchema, aiModelCapabilityCommonSchema, aiModelParameterFieldSchema, aiModelParamsSchema, aiModelSchema, aiModelsRequestSchema, aiModelsUpdatedAtDataSchema, aiModelsUpdatedAtResponseSchema, aiModelsUpdatedAtSuccessSchema, index$9 as aiModule, aiProviderTemplateModelSchema, aiProviderTemplateSchema, aiProviderTemplatesPayloadSchema, aiProviderTemplatesRequestSchema, aiProviderTemplatesResponseSchema, aiProviderTemplatesSuccessSchema, aiResponsesRequestSchema, aiToolsEndpoints, index$8 as aiToolsModule, analyzeSkillsRequestSchema, analyzeSkillsResponseSchema, authEndpoints, authExchangeRequestSchema, authExchangeResponseSchema, authLogoutRequestSchema, authLogoutResponseSchema, index$7 as authModule, authRefreshErrorSchema, authRefreshRequestSchema, authRefreshResponseSchema, authRefreshSuccessSchema, authRefreshUserSchema, auxiliaryEndpoints, auxiliaryInferRequestSchema, auxiliaryInferResponseSchema, index$6 as auxiliaryModule, auxiliaryQuotaResponseSchema, contract, createEmbed, createPricingEmbed, createRechargeEmbed, createTrpcClient, feedbackDetailPayloadSchema, feedbackDetailRequestSchema, feedbackDetailResponseSchema, feedbackEndpoints, feedbackItemSchema, feedbackListPayloadSchema, feedbackListRequestSchema, feedbackListResponseSchema, index$5 as feedbackModule, feedbackSaasStatusSchema, feedbackSourceSchema, feedbackSubmitErrorSchema, feedbackSubmitRequestSchema, feedbackSubmitResponseSchema, feedbackTypeSchema, inputSlotSchema, marketSkillEntrySchema, mergeHeaders, normalizeHeaders, orderStatusRequestSchema, orderStatusResponseSchema, paramSchemaSchema, paymentEndpoints, index$4 as paymentModule, rechargeRequestSchema, rechargeResponseSchema, recommendActionsRequestSchema, recommendActionsResponseSchema, redeemCodeEndpoints, redeemCodeMembershipLevelSchema, index$3 as redeemCodeModule, redeemCodeRecordItemSchema, redeemCodeRecordsRequestSchema, redeemCodeRecordsResponseSchema, redeemCodeRedeemRequestSchema, redeemCodeRedeemResponseSchema, redeemCodeSummarySchema, refundRequestSchema, refundResponseSchema, request, skillArchiveFormatSchema, skillListItemSchema, skillMarketCheckUpdatesRequestSchema, skillMarketCheckUpdatesResponseSchema, skillMarketDetailResponseSchema, skillMarketEndpoints, skillMarketListRequestSchema, skillMarketListResponseSchema, index$2 as skillMarketModule, skillMarketRateRequestSchema, skillMarketRateResponseSchema, skillOwnerSummarySchema, skillSourceSchema, skillStatusSchema, skillTypeSchema, skillVersionSummarySchema, skillVisibilitySchema, skillsDetailRequestSchema, skillsDetailResponseSchema, skillsDownloadResponseSchema, skillsEndpoints, skillsListRequestSchema, skillsListResponseSchema, index$1 as skillsModule, subscribeRequestSchema, subscribeResponseSchema, summarizeRequestSchema, summarizeResponseSchema, upgradeRequestSchema, upgradeResponseSchema, userEndpoints, userMembershipLevelSchema, index as userModule, userSelfRequestSchema, userSelfResponseSchema, userSelfSchema, v3BasicSuccessSchema, v3CapabilitiesDataSchema, v3CapabilitiesDetailResponseSchema, v3CapabilitiesOverviewRequestSchema, v3CapabilitiesOverviewResponseSchema, v3CapabilitiesResponseSchema, v3CreditEstimateSchema, v3EstimatePriceRequestSchema, v3EstimatePriceResponseSchema, v3FeatureSchema, v3GenerateRequestSchema, v3QueueRequestSchema, v3QueueResponseSchema, v3QueueTicketSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3TaskSSEEventSchema, v3TextChatRequestSchema, v3TextGenerateRequestSchema, v3TextGenerateResponseSchema, v3ToolExecuteRequestSchema, v3ToolExecuteResponseSchema, v3UploadResponseSchema, v3VariantSchema };
|
|
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 };
|