@openloaf-saas/sdk 0.1.28 → 0.1.32
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 +1473 -277
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ declare class SaaSContract {
|
|
|
15
15
|
name?: string | undefined;
|
|
16
16
|
email?: string | undefined;
|
|
17
17
|
avatarUrl?: string | undefined;
|
|
18
|
+
isAdmin?: boolean | undefined;
|
|
18
19
|
};
|
|
19
20
|
}>;
|
|
20
21
|
readonly refresh: Endpoint<{
|
|
@@ -26,6 +27,7 @@ declare class SaaSContract {
|
|
|
26
27
|
name?: string | undefined;
|
|
27
28
|
email?: string | undefined;
|
|
28
29
|
avatarUrl?: string | undefined;
|
|
30
|
+
isAdmin?: boolean | undefined;
|
|
29
31
|
};
|
|
30
32
|
} | {
|
|
31
33
|
message: string;
|
|
@@ -169,6 +171,7 @@ declare class SaaSContract {
|
|
|
169
171
|
features: {
|
|
170
172
|
id: string;
|
|
171
173
|
displayName: string;
|
|
174
|
+
description: string;
|
|
172
175
|
variants: {
|
|
173
176
|
id: string;
|
|
174
177
|
featureTabName: string;
|
|
@@ -187,7 +190,7 @@ declare class SaaSContract {
|
|
|
187
190
|
description: string;
|
|
188
191
|
} | undefined;
|
|
189
192
|
} | null;
|
|
190
|
-
resultType: "image" | "audio" | "video";
|
|
193
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
191
194
|
isAsync: boolean;
|
|
192
195
|
paramsSchema: ({
|
|
193
196
|
key: string;
|
|
@@ -198,6 +201,7 @@ declare class SaaSContract {
|
|
|
198
201
|
visibleWhen?: unknown;
|
|
199
202
|
clientOnly?: boolean | undefined;
|
|
200
203
|
hint?: string | undefined;
|
|
204
|
+
required?: boolean | undefined;
|
|
201
205
|
options?: {
|
|
202
206
|
value: string | number | boolean;
|
|
203
207
|
label: string;
|
|
@@ -220,6 +224,7 @@ declare class SaaSContract {
|
|
|
220
224
|
visibleWhen?: unknown;
|
|
221
225
|
clientOnly?: boolean | undefined;
|
|
222
226
|
hint?: string | undefined;
|
|
227
|
+
required?: boolean | undefined;
|
|
223
228
|
} | {
|
|
224
229
|
key: string;
|
|
225
230
|
label: string;
|
|
@@ -229,6 +234,7 @@ declare class SaaSContract {
|
|
|
229
234
|
visibleWhen?: unknown;
|
|
230
235
|
clientOnly?: boolean | undefined;
|
|
231
236
|
hint?: string | undefined;
|
|
237
|
+
required?: boolean | undefined;
|
|
232
238
|
} | {
|
|
233
239
|
key: string;
|
|
234
240
|
label: string;
|
|
@@ -238,8 +244,11 @@ declare class SaaSContract {
|
|
|
238
244
|
visibleWhen?: unknown;
|
|
239
245
|
clientOnly?: boolean | undefined;
|
|
240
246
|
hint?: string | undefined;
|
|
247
|
+
required?: boolean | undefined;
|
|
241
248
|
multiline?: boolean | undefined;
|
|
242
249
|
placeholder?: string | undefined;
|
|
250
|
+
minLength?: number | undefined;
|
|
251
|
+
maxLength?: number | undefined;
|
|
243
252
|
} | {
|
|
244
253
|
key: string;
|
|
245
254
|
label: string;
|
|
@@ -251,6 +260,7 @@ declare class SaaSContract {
|
|
|
251
260
|
visibleWhen?: unknown;
|
|
252
261
|
clientOnly?: boolean | undefined;
|
|
253
262
|
hint?: string | undefined;
|
|
263
|
+
required?: boolean | undefined;
|
|
254
264
|
step?: number | undefined;
|
|
255
265
|
} | {
|
|
256
266
|
key: string;
|
|
@@ -261,6 +271,7 @@ declare class SaaSContract {
|
|
|
261
271
|
visibleWhen?: unknown;
|
|
262
272
|
clientOnly?: boolean | undefined;
|
|
263
273
|
hint?: string | undefined;
|
|
274
|
+
required?: boolean | undefined;
|
|
264
275
|
min?: number | undefined;
|
|
265
276
|
max?: number | undefined;
|
|
266
277
|
step?: number | undefined;
|
|
@@ -269,6 +280,7 @@ declare class SaaSContract {
|
|
|
269
280
|
role: string;
|
|
270
281
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
271
282
|
label: string;
|
|
283
|
+
key?: string | undefined;
|
|
272
284
|
required?: boolean | undefined;
|
|
273
285
|
minCount?: number | undefined;
|
|
274
286
|
maxCount?: number | undefined;
|
|
@@ -286,6 +298,10 @@ declare class SaaSContract {
|
|
|
286
298
|
sharedGroup?: string | undefined;
|
|
287
299
|
sharedMaxCount?: number | undefined;
|
|
288
300
|
}[];
|
|
301
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
302
|
+
endpoint?: string | undefined;
|
|
303
|
+
tags?: string[] | undefined;
|
|
304
|
+
familyId?: string | undefined;
|
|
289
305
|
}[];
|
|
290
306
|
}[];
|
|
291
307
|
updatedAt?: string | undefined;
|
|
@@ -298,6 +314,7 @@ declare class SaaSContract {
|
|
|
298
314
|
features: {
|
|
299
315
|
id: string;
|
|
300
316
|
displayName: string;
|
|
317
|
+
description: string;
|
|
301
318
|
variants: {
|
|
302
319
|
id: string;
|
|
303
320
|
featureTabName: string;
|
|
@@ -316,7 +333,7 @@ declare class SaaSContract {
|
|
|
316
333
|
description: string;
|
|
317
334
|
} | undefined;
|
|
318
335
|
} | null;
|
|
319
|
-
resultType: "image" | "audio" | "video";
|
|
336
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
320
337
|
isAsync: boolean;
|
|
321
338
|
paramsSchema: ({
|
|
322
339
|
key: string;
|
|
@@ -327,6 +344,7 @@ declare class SaaSContract {
|
|
|
327
344
|
visibleWhen?: unknown;
|
|
328
345
|
clientOnly?: boolean | undefined;
|
|
329
346
|
hint?: string | undefined;
|
|
347
|
+
required?: boolean | undefined;
|
|
330
348
|
options?: {
|
|
331
349
|
value: string | number | boolean;
|
|
332
350
|
label: string;
|
|
@@ -349,6 +367,7 @@ declare class SaaSContract {
|
|
|
349
367
|
visibleWhen?: unknown;
|
|
350
368
|
clientOnly?: boolean | undefined;
|
|
351
369
|
hint?: string | undefined;
|
|
370
|
+
required?: boolean | undefined;
|
|
352
371
|
} | {
|
|
353
372
|
key: string;
|
|
354
373
|
label: string;
|
|
@@ -358,6 +377,7 @@ declare class SaaSContract {
|
|
|
358
377
|
visibleWhen?: unknown;
|
|
359
378
|
clientOnly?: boolean | undefined;
|
|
360
379
|
hint?: string | undefined;
|
|
380
|
+
required?: boolean | undefined;
|
|
361
381
|
} | {
|
|
362
382
|
key: string;
|
|
363
383
|
label: string;
|
|
@@ -367,8 +387,11 @@ declare class SaaSContract {
|
|
|
367
387
|
visibleWhen?: unknown;
|
|
368
388
|
clientOnly?: boolean | undefined;
|
|
369
389
|
hint?: string | undefined;
|
|
390
|
+
required?: boolean | undefined;
|
|
370
391
|
multiline?: boolean | undefined;
|
|
371
392
|
placeholder?: string | undefined;
|
|
393
|
+
minLength?: number | undefined;
|
|
394
|
+
maxLength?: number | undefined;
|
|
372
395
|
} | {
|
|
373
396
|
key: string;
|
|
374
397
|
label: string;
|
|
@@ -380,6 +403,7 @@ declare class SaaSContract {
|
|
|
380
403
|
visibleWhen?: unknown;
|
|
381
404
|
clientOnly?: boolean | undefined;
|
|
382
405
|
hint?: string | undefined;
|
|
406
|
+
required?: boolean | undefined;
|
|
383
407
|
step?: number | undefined;
|
|
384
408
|
} | {
|
|
385
409
|
key: string;
|
|
@@ -390,6 +414,7 @@ declare class SaaSContract {
|
|
|
390
414
|
visibleWhen?: unknown;
|
|
391
415
|
clientOnly?: boolean | undefined;
|
|
392
416
|
hint?: string | undefined;
|
|
417
|
+
required?: boolean | undefined;
|
|
393
418
|
min?: number | undefined;
|
|
394
419
|
max?: number | undefined;
|
|
395
420
|
step?: number | undefined;
|
|
@@ -398,6 +423,7 @@ declare class SaaSContract {
|
|
|
398
423
|
role: string;
|
|
399
424
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
400
425
|
label: string;
|
|
426
|
+
key?: string | undefined;
|
|
401
427
|
required?: boolean | undefined;
|
|
402
428
|
minCount?: number | undefined;
|
|
403
429
|
maxCount?: number | undefined;
|
|
@@ -415,6 +441,10 @@ declare class SaaSContract {
|
|
|
415
441
|
sharedGroup?: string | undefined;
|
|
416
442
|
sharedMaxCount?: number | undefined;
|
|
417
443
|
}[];
|
|
444
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
445
|
+
endpoint?: string | undefined;
|
|
446
|
+
tags?: string[] | undefined;
|
|
447
|
+
familyId?: string | undefined;
|
|
418
448
|
}[];
|
|
419
449
|
}[];
|
|
420
450
|
updatedAt?: string | undefined;
|
|
@@ -427,6 +457,7 @@ declare class SaaSContract {
|
|
|
427
457
|
features: {
|
|
428
458
|
id: string;
|
|
429
459
|
displayName: string;
|
|
460
|
+
description: string;
|
|
430
461
|
variants: {
|
|
431
462
|
id: string;
|
|
432
463
|
featureTabName: string;
|
|
@@ -445,7 +476,7 @@ declare class SaaSContract {
|
|
|
445
476
|
description: string;
|
|
446
477
|
} | undefined;
|
|
447
478
|
} | null;
|
|
448
|
-
resultType: "image" | "audio" | "video";
|
|
479
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
449
480
|
isAsync: boolean;
|
|
450
481
|
paramsSchema: ({
|
|
451
482
|
key: string;
|
|
@@ -456,6 +487,7 @@ declare class SaaSContract {
|
|
|
456
487
|
visibleWhen?: unknown;
|
|
457
488
|
clientOnly?: boolean | undefined;
|
|
458
489
|
hint?: string | undefined;
|
|
490
|
+
required?: boolean | undefined;
|
|
459
491
|
options?: {
|
|
460
492
|
value: string | number | boolean;
|
|
461
493
|
label: string;
|
|
@@ -478,6 +510,7 @@ declare class SaaSContract {
|
|
|
478
510
|
visibleWhen?: unknown;
|
|
479
511
|
clientOnly?: boolean | undefined;
|
|
480
512
|
hint?: string | undefined;
|
|
513
|
+
required?: boolean | undefined;
|
|
481
514
|
} | {
|
|
482
515
|
key: string;
|
|
483
516
|
label: string;
|
|
@@ -487,6 +520,7 @@ declare class SaaSContract {
|
|
|
487
520
|
visibleWhen?: unknown;
|
|
488
521
|
clientOnly?: boolean | undefined;
|
|
489
522
|
hint?: string | undefined;
|
|
523
|
+
required?: boolean | undefined;
|
|
490
524
|
} | {
|
|
491
525
|
key: string;
|
|
492
526
|
label: string;
|
|
@@ -496,8 +530,11 @@ declare class SaaSContract {
|
|
|
496
530
|
visibleWhen?: unknown;
|
|
497
531
|
clientOnly?: boolean | undefined;
|
|
498
532
|
hint?: string | undefined;
|
|
533
|
+
required?: boolean | undefined;
|
|
499
534
|
multiline?: boolean | undefined;
|
|
500
535
|
placeholder?: string | undefined;
|
|
536
|
+
minLength?: number | undefined;
|
|
537
|
+
maxLength?: number | undefined;
|
|
501
538
|
} | {
|
|
502
539
|
key: string;
|
|
503
540
|
label: string;
|
|
@@ -509,6 +546,150 @@ declare class SaaSContract {
|
|
|
509
546
|
visibleWhen?: unknown;
|
|
510
547
|
clientOnly?: boolean | undefined;
|
|
511
548
|
hint?: string | undefined;
|
|
549
|
+
required?: boolean | undefined;
|
|
550
|
+
step?: number | undefined;
|
|
551
|
+
} | {
|
|
552
|
+
key: string;
|
|
553
|
+
label: string;
|
|
554
|
+
type: "number";
|
|
555
|
+
default?: unknown;
|
|
556
|
+
group?: "primary" | "advanced" | undefined;
|
|
557
|
+
visibleWhen?: unknown;
|
|
558
|
+
clientOnly?: boolean | undefined;
|
|
559
|
+
hint?: string | undefined;
|
|
560
|
+
required?: boolean | undefined;
|
|
561
|
+
min?: number | undefined;
|
|
562
|
+
max?: number | undefined;
|
|
563
|
+
step?: number | undefined;
|
|
564
|
+
})[];
|
|
565
|
+
inputSlots: {
|
|
566
|
+
role: string;
|
|
567
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
568
|
+
label: string;
|
|
569
|
+
key?: string | undefined;
|
|
570
|
+
required?: boolean | undefined;
|
|
571
|
+
minCount?: number | undefined;
|
|
572
|
+
maxCount?: number | undefined;
|
|
573
|
+
placeholder?: string | undefined;
|
|
574
|
+
multiline?: boolean | undefined;
|
|
575
|
+
minLength?: number | undefined;
|
|
576
|
+
maxLength?: number | undefined;
|
|
577
|
+
maxFileSize?: number | undefined;
|
|
578
|
+
acceptFormats?: string[] | undefined;
|
|
579
|
+
minResolution?: number | undefined;
|
|
580
|
+
maxResolution?: number | undefined;
|
|
581
|
+
minDuration?: number | undefined;
|
|
582
|
+
maxDuration?: number | undefined;
|
|
583
|
+
hint?: string | undefined;
|
|
584
|
+
sharedGroup?: string | undefined;
|
|
585
|
+
sharedMaxCount?: number | undefined;
|
|
586
|
+
}[];
|
|
587
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
588
|
+
endpoint?: string | undefined;
|
|
589
|
+
tags?: string[] | undefined;
|
|
590
|
+
familyId?: string | undefined;
|
|
591
|
+
}[];
|
|
592
|
+
}[];
|
|
593
|
+
updatedAt?: string | undefined;
|
|
594
|
+
};
|
|
595
|
+
}>;
|
|
596
|
+
readonly v3TextCapabilities: Endpoint<void, {
|
|
597
|
+
success: true;
|
|
598
|
+
data: {
|
|
599
|
+
category: string;
|
|
600
|
+
features: {
|
|
601
|
+
id: string;
|
|
602
|
+
displayName: string;
|
|
603
|
+
description: string;
|
|
604
|
+
variants: {
|
|
605
|
+
id: string;
|
|
606
|
+
featureTabName: string;
|
|
607
|
+
creditsPerCall: number;
|
|
608
|
+
billingType: string;
|
|
609
|
+
minMembershipLevel: string;
|
|
610
|
+
maxBatchSize: number;
|
|
611
|
+
resourceConstraints: {
|
|
612
|
+
maxFileSize: number;
|
|
613
|
+
maxFiles: number;
|
|
614
|
+
acceptedFormats: string[];
|
|
615
|
+
requiresUpload: boolean;
|
|
616
|
+
maxResolution?: number | undefined;
|
|
617
|
+
precheck?: {
|
|
618
|
+
type: string;
|
|
619
|
+
description: string;
|
|
620
|
+
} | undefined;
|
|
621
|
+
} | null;
|
|
622
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
623
|
+
isAsync: boolean;
|
|
624
|
+
paramsSchema: ({
|
|
625
|
+
key: string;
|
|
626
|
+
label: string;
|
|
627
|
+
type: "select";
|
|
628
|
+
default?: unknown;
|
|
629
|
+
group?: "primary" | "advanced" | undefined;
|
|
630
|
+
visibleWhen?: unknown;
|
|
631
|
+
clientOnly?: boolean | undefined;
|
|
632
|
+
hint?: string | undefined;
|
|
633
|
+
required?: boolean | undefined;
|
|
634
|
+
options?: {
|
|
635
|
+
value: string | number | boolean;
|
|
636
|
+
label: string;
|
|
637
|
+
thumbnail?: string | undefined;
|
|
638
|
+
}[] | undefined;
|
|
639
|
+
catalog?: string | undefined;
|
|
640
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
641
|
+
searchable?: boolean | undefined;
|
|
642
|
+
} | {
|
|
643
|
+
key: string;
|
|
644
|
+
label: string;
|
|
645
|
+
type: "tab";
|
|
646
|
+
options: {
|
|
647
|
+
value: string | number | boolean;
|
|
648
|
+
label: string;
|
|
649
|
+
thumbnail?: string | undefined;
|
|
650
|
+
}[];
|
|
651
|
+
default?: unknown;
|
|
652
|
+
group?: "primary" | "advanced" | undefined;
|
|
653
|
+
visibleWhen?: unknown;
|
|
654
|
+
clientOnly?: boolean | undefined;
|
|
655
|
+
hint?: string | undefined;
|
|
656
|
+
required?: boolean | undefined;
|
|
657
|
+
} | {
|
|
658
|
+
key: string;
|
|
659
|
+
label: string;
|
|
660
|
+
type: "boolean";
|
|
661
|
+
default?: unknown;
|
|
662
|
+
group?: "primary" | "advanced" | undefined;
|
|
663
|
+
visibleWhen?: unknown;
|
|
664
|
+
clientOnly?: boolean | undefined;
|
|
665
|
+
hint?: string | undefined;
|
|
666
|
+
required?: boolean | undefined;
|
|
667
|
+
} | {
|
|
668
|
+
key: string;
|
|
669
|
+
label: string;
|
|
670
|
+
type: "text";
|
|
671
|
+
default?: unknown;
|
|
672
|
+
group?: "primary" | "advanced" | undefined;
|
|
673
|
+
visibleWhen?: unknown;
|
|
674
|
+
clientOnly?: boolean | undefined;
|
|
675
|
+
hint?: string | undefined;
|
|
676
|
+
required?: boolean | undefined;
|
|
677
|
+
multiline?: boolean | undefined;
|
|
678
|
+
placeholder?: string | undefined;
|
|
679
|
+
minLength?: number | undefined;
|
|
680
|
+
maxLength?: number | undefined;
|
|
681
|
+
} | {
|
|
682
|
+
key: string;
|
|
683
|
+
label: string;
|
|
684
|
+
type: "slider";
|
|
685
|
+
min: number;
|
|
686
|
+
max: number;
|
|
687
|
+
default?: unknown;
|
|
688
|
+
group?: "primary" | "advanced" | undefined;
|
|
689
|
+
visibleWhen?: unknown;
|
|
690
|
+
clientOnly?: boolean | undefined;
|
|
691
|
+
hint?: string | undefined;
|
|
692
|
+
required?: boolean | undefined;
|
|
512
693
|
step?: number | undefined;
|
|
513
694
|
} | {
|
|
514
695
|
key: string;
|
|
@@ -519,6 +700,7 @@ declare class SaaSContract {
|
|
|
519
700
|
visibleWhen?: unknown;
|
|
520
701
|
clientOnly?: boolean | undefined;
|
|
521
702
|
hint?: string | undefined;
|
|
703
|
+
required?: boolean | undefined;
|
|
522
704
|
min?: number | undefined;
|
|
523
705
|
max?: number | undefined;
|
|
524
706
|
step?: number | undefined;
|
|
@@ -527,6 +709,7 @@ declare class SaaSContract {
|
|
|
527
709
|
role: string;
|
|
528
710
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
529
711
|
label: string;
|
|
712
|
+
key?: string | undefined;
|
|
530
713
|
required?: boolean | undefined;
|
|
531
714
|
minCount?: number | undefined;
|
|
532
715
|
maxCount?: number | undefined;
|
|
@@ -544,11 +727,27 @@ declare class SaaSContract {
|
|
|
544
727
|
sharedGroup?: string | undefined;
|
|
545
728
|
sharedMaxCount?: number | undefined;
|
|
546
729
|
}[];
|
|
730
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
731
|
+
endpoint?: string | undefined;
|
|
732
|
+
tags?: string[] | undefined;
|
|
733
|
+
familyId?: string | undefined;
|
|
547
734
|
}[];
|
|
548
735
|
}[];
|
|
549
736
|
updatedAt?: string | undefined;
|
|
550
737
|
};
|
|
551
738
|
}>;
|
|
739
|
+
readonly v3TextGenerate: Endpoint<{
|
|
740
|
+
feature: string;
|
|
741
|
+
variant: string;
|
|
742
|
+
inputs?: Record<string, unknown> | undefined;
|
|
743
|
+
params?: Record<string, unknown> | undefined;
|
|
744
|
+
}, {
|
|
745
|
+
success: true;
|
|
746
|
+
data: {
|
|
747
|
+
text: string;
|
|
748
|
+
creditsConsumed?: number | undefined;
|
|
749
|
+
};
|
|
750
|
+
}>;
|
|
552
751
|
readonly v3Generate: Endpoint<{
|
|
553
752
|
feature: string;
|
|
554
753
|
variant: string;
|
|
@@ -556,7 +755,6 @@ declare class SaaSContract {
|
|
|
556
755
|
inputs?: Record<string, unknown> | undefined;
|
|
557
756
|
params?: Record<string, unknown> | undefined;
|
|
558
757
|
count?: number | undefined;
|
|
559
|
-
seed?: number | undefined;
|
|
560
758
|
}, {
|
|
561
759
|
success: true;
|
|
562
760
|
data: {
|
|
@@ -822,6 +1020,47 @@ declare class SaaSContract {
|
|
|
822
1020
|
};
|
|
823
1021
|
}>;
|
|
824
1022
|
};
|
|
1023
|
+
/** Redeem code endpoints. */
|
|
1024
|
+
readonly redeemCode: {
|
|
1025
|
+
readonly redeem: Endpoint<{
|
|
1026
|
+
code: string;
|
|
1027
|
+
}, {
|
|
1028
|
+
id: string;
|
|
1029
|
+
code: string;
|
|
1030
|
+
title: string;
|
|
1031
|
+
creditsAmount: number;
|
|
1032
|
+
grantMembershipLevel: "lite" | "pro" | "premium" | null;
|
|
1033
|
+
grantMembershipDays: number | null;
|
|
1034
|
+
membershipLevelAfterRedeem: "lite" | "pro" | "premium" | "free";
|
|
1035
|
+
membershipStartAt: string | null;
|
|
1036
|
+
membershipEndAt: string | null;
|
|
1037
|
+
newBalance: number;
|
|
1038
|
+
createdAt: string;
|
|
1039
|
+
}>;
|
|
1040
|
+
readonly records: Endpoint<{
|
|
1041
|
+
page: number;
|
|
1042
|
+
pageSize: number;
|
|
1043
|
+
}, {
|
|
1044
|
+
items: {
|
|
1045
|
+
id: string;
|
|
1046
|
+
creditsAmount: number;
|
|
1047
|
+
grantMembershipLevel: "lite" | "pro" | "premium" | null;
|
|
1048
|
+
grantMembershipDays: number | null;
|
|
1049
|
+
membershipStartAt: string | null;
|
|
1050
|
+
membershipEndAt: string | null;
|
|
1051
|
+
createdAt: string;
|
|
1052
|
+
redeemCode: {
|
|
1053
|
+
id: string;
|
|
1054
|
+
code: string;
|
|
1055
|
+
title: string;
|
|
1056
|
+
};
|
|
1057
|
+
}[];
|
|
1058
|
+
total: number;
|
|
1059
|
+
page: number;
|
|
1060
|
+
pageSize: number;
|
|
1061
|
+
pageCount: number;
|
|
1062
|
+
}>;
|
|
1063
|
+
};
|
|
825
1064
|
/** Skill market endpoints. */
|
|
826
1065
|
readonly skills: {
|
|
827
1066
|
readonly list: Endpoint<{
|
|
@@ -912,8 +1151,9 @@ declare class SaaSContract {
|
|
|
912
1151
|
user: {
|
|
913
1152
|
id: string;
|
|
914
1153
|
provider: string;
|
|
915
|
-
membershipLevel: "
|
|
1154
|
+
membershipLevel: "lite" | "pro" | "premium" | "free";
|
|
916
1155
|
creditsBalance: number;
|
|
1156
|
+
isAdmin: boolean;
|
|
917
1157
|
createdAt: string;
|
|
918
1158
|
updatedAt: string;
|
|
919
1159
|
email?: string | undefined;
|
|
@@ -1136,6 +1376,151 @@ declare const aiEndpoints: {
|
|
|
1136
1376
|
features: {
|
|
1137
1377
|
id: string;
|
|
1138
1378
|
displayName: string;
|
|
1379
|
+
description: string;
|
|
1380
|
+
variants: {
|
|
1381
|
+
id: string;
|
|
1382
|
+
featureTabName: string;
|
|
1383
|
+
creditsPerCall: number;
|
|
1384
|
+
billingType: string;
|
|
1385
|
+
minMembershipLevel: string;
|
|
1386
|
+
maxBatchSize: number;
|
|
1387
|
+
resourceConstraints: {
|
|
1388
|
+
maxFileSize: number;
|
|
1389
|
+
maxFiles: number;
|
|
1390
|
+
acceptedFormats: string[];
|
|
1391
|
+
requiresUpload: boolean;
|
|
1392
|
+
maxResolution?: number | undefined;
|
|
1393
|
+
precheck?: {
|
|
1394
|
+
type: string;
|
|
1395
|
+
description: string;
|
|
1396
|
+
} | undefined;
|
|
1397
|
+
} | null;
|
|
1398
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
1399
|
+
isAsync: boolean;
|
|
1400
|
+
paramsSchema: ({
|
|
1401
|
+
key: string;
|
|
1402
|
+
label: string;
|
|
1403
|
+
type: "select";
|
|
1404
|
+
default?: unknown;
|
|
1405
|
+
group?: "primary" | "advanced" | undefined;
|
|
1406
|
+
visibleWhen?: unknown;
|
|
1407
|
+
clientOnly?: boolean | undefined;
|
|
1408
|
+
hint?: string | undefined;
|
|
1409
|
+
required?: boolean | undefined;
|
|
1410
|
+
options?: {
|
|
1411
|
+
value: string | number | boolean;
|
|
1412
|
+
label: string;
|
|
1413
|
+
thumbnail?: string | undefined;
|
|
1414
|
+
}[] | undefined;
|
|
1415
|
+
catalog?: string | undefined;
|
|
1416
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
1417
|
+
searchable?: boolean | undefined;
|
|
1418
|
+
} | {
|
|
1419
|
+
key: string;
|
|
1420
|
+
label: string;
|
|
1421
|
+
type: "tab";
|
|
1422
|
+
options: {
|
|
1423
|
+
value: string | number | boolean;
|
|
1424
|
+
label: string;
|
|
1425
|
+
thumbnail?: string | undefined;
|
|
1426
|
+
}[];
|
|
1427
|
+
default?: unknown;
|
|
1428
|
+
group?: "primary" | "advanced" | undefined;
|
|
1429
|
+
visibleWhen?: unknown;
|
|
1430
|
+
clientOnly?: boolean | undefined;
|
|
1431
|
+
hint?: string | undefined;
|
|
1432
|
+
required?: boolean | undefined;
|
|
1433
|
+
} | {
|
|
1434
|
+
key: string;
|
|
1435
|
+
label: string;
|
|
1436
|
+
type: "boolean";
|
|
1437
|
+
default?: unknown;
|
|
1438
|
+
group?: "primary" | "advanced" | undefined;
|
|
1439
|
+
visibleWhen?: unknown;
|
|
1440
|
+
clientOnly?: boolean | undefined;
|
|
1441
|
+
hint?: string | undefined;
|
|
1442
|
+
required?: boolean | undefined;
|
|
1443
|
+
} | {
|
|
1444
|
+
key: string;
|
|
1445
|
+
label: string;
|
|
1446
|
+
type: "text";
|
|
1447
|
+
default?: unknown;
|
|
1448
|
+
group?: "primary" | "advanced" | undefined;
|
|
1449
|
+
visibleWhen?: unknown;
|
|
1450
|
+
clientOnly?: boolean | undefined;
|
|
1451
|
+
hint?: string | undefined;
|
|
1452
|
+
required?: boolean | undefined;
|
|
1453
|
+
multiline?: boolean | undefined;
|
|
1454
|
+
placeholder?: string | undefined;
|
|
1455
|
+
minLength?: number | undefined;
|
|
1456
|
+
maxLength?: number | undefined;
|
|
1457
|
+
} | {
|
|
1458
|
+
key: string;
|
|
1459
|
+
label: string;
|
|
1460
|
+
type: "slider";
|
|
1461
|
+
min: number;
|
|
1462
|
+
max: number;
|
|
1463
|
+
default?: unknown;
|
|
1464
|
+
group?: "primary" | "advanced" | undefined;
|
|
1465
|
+
visibleWhen?: unknown;
|
|
1466
|
+
clientOnly?: boolean | undefined;
|
|
1467
|
+
hint?: string | undefined;
|
|
1468
|
+
required?: boolean | undefined;
|
|
1469
|
+
step?: number | undefined;
|
|
1470
|
+
} | {
|
|
1471
|
+
key: string;
|
|
1472
|
+
label: string;
|
|
1473
|
+
type: "number";
|
|
1474
|
+
default?: unknown;
|
|
1475
|
+
group?: "primary" | "advanced" | undefined;
|
|
1476
|
+
visibleWhen?: unknown;
|
|
1477
|
+
clientOnly?: boolean | undefined;
|
|
1478
|
+
hint?: string | undefined;
|
|
1479
|
+
required?: boolean | undefined;
|
|
1480
|
+
min?: number | undefined;
|
|
1481
|
+
max?: number | undefined;
|
|
1482
|
+
step?: number | undefined;
|
|
1483
|
+
})[];
|
|
1484
|
+
inputSlots: {
|
|
1485
|
+
role: string;
|
|
1486
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
1487
|
+
label: string;
|
|
1488
|
+
key?: string | undefined;
|
|
1489
|
+
required?: boolean | undefined;
|
|
1490
|
+
minCount?: number | undefined;
|
|
1491
|
+
maxCount?: number | undefined;
|
|
1492
|
+
placeholder?: string | undefined;
|
|
1493
|
+
multiline?: boolean | undefined;
|
|
1494
|
+
minLength?: number | undefined;
|
|
1495
|
+
maxLength?: number | undefined;
|
|
1496
|
+
maxFileSize?: number | undefined;
|
|
1497
|
+
acceptFormats?: string[] | undefined;
|
|
1498
|
+
minResolution?: number | undefined;
|
|
1499
|
+
maxResolution?: number | undefined;
|
|
1500
|
+
minDuration?: number | undefined;
|
|
1501
|
+
maxDuration?: number | undefined;
|
|
1502
|
+
hint?: string | undefined;
|
|
1503
|
+
sharedGroup?: string | undefined;
|
|
1504
|
+
sharedMaxCount?: number | undefined;
|
|
1505
|
+
}[];
|
|
1506
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
1507
|
+
endpoint?: string | undefined;
|
|
1508
|
+
tags?: string[] | undefined;
|
|
1509
|
+
familyId?: string | undefined;
|
|
1510
|
+
}[];
|
|
1511
|
+
}[];
|
|
1512
|
+
updatedAt?: string | undefined;
|
|
1513
|
+
};
|
|
1514
|
+
}>;
|
|
1515
|
+
/** Get video capabilities (features + variants). */
|
|
1516
|
+
readonly v3VideoCapabilities: Endpoint<void, {
|
|
1517
|
+
success: true;
|
|
1518
|
+
data: {
|
|
1519
|
+
category: string;
|
|
1520
|
+
features: {
|
|
1521
|
+
id: string;
|
|
1522
|
+
displayName: string;
|
|
1523
|
+
description: string;
|
|
1139
1524
|
variants: {
|
|
1140
1525
|
id: string;
|
|
1141
1526
|
featureTabName: string;
|
|
@@ -1154,7 +1539,7 @@ declare const aiEndpoints: {
|
|
|
1154
1539
|
description: string;
|
|
1155
1540
|
} | undefined;
|
|
1156
1541
|
} | null;
|
|
1157
|
-
resultType: "image" | "audio" | "video";
|
|
1542
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
1158
1543
|
isAsync: boolean;
|
|
1159
1544
|
paramsSchema: ({
|
|
1160
1545
|
key: string;
|
|
@@ -1165,6 +1550,7 @@ declare const aiEndpoints: {
|
|
|
1165
1550
|
visibleWhen?: unknown;
|
|
1166
1551
|
clientOnly?: boolean | undefined;
|
|
1167
1552
|
hint?: string | undefined;
|
|
1553
|
+
required?: boolean | undefined;
|
|
1168
1554
|
options?: {
|
|
1169
1555
|
value: string | number | boolean;
|
|
1170
1556
|
label: string;
|
|
@@ -1187,6 +1573,7 @@ declare const aiEndpoints: {
|
|
|
1187
1573
|
visibleWhen?: unknown;
|
|
1188
1574
|
clientOnly?: boolean | undefined;
|
|
1189
1575
|
hint?: string | undefined;
|
|
1576
|
+
required?: boolean | undefined;
|
|
1190
1577
|
} | {
|
|
1191
1578
|
key: string;
|
|
1192
1579
|
label: string;
|
|
@@ -1196,6 +1583,7 @@ declare const aiEndpoints: {
|
|
|
1196
1583
|
visibleWhen?: unknown;
|
|
1197
1584
|
clientOnly?: boolean | undefined;
|
|
1198
1585
|
hint?: string | undefined;
|
|
1586
|
+
required?: boolean | undefined;
|
|
1199
1587
|
} | {
|
|
1200
1588
|
key: string;
|
|
1201
1589
|
label: string;
|
|
@@ -1205,8 +1593,11 @@ declare const aiEndpoints: {
|
|
|
1205
1593
|
visibleWhen?: unknown;
|
|
1206
1594
|
clientOnly?: boolean | undefined;
|
|
1207
1595
|
hint?: string | undefined;
|
|
1596
|
+
required?: boolean | undefined;
|
|
1208
1597
|
multiline?: boolean | undefined;
|
|
1209
1598
|
placeholder?: string | undefined;
|
|
1599
|
+
minLength?: number | undefined;
|
|
1600
|
+
maxLength?: number | undefined;
|
|
1210
1601
|
} | {
|
|
1211
1602
|
key: string;
|
|
1212
1603
|
label: string;
|
|
@@ -1218,6 +1609,7 @@ declare const aiEndpoints: {
|
|
|
1218
1609
|
visibleWhen?: unknown;
|
|
1219
1610
|
clientOnly?: boolean | undefined;
|
|
1220
1611
|
hint?: string | undefined;
|
|
1612
|
+
required?: boolean | undefined;
|
|
1221
1613
|
step?: number | undefined;
|
|
1222
1614
|
} | {
|
|
1223
1615
|
key: string;
|
|
@@ -1228,6 +1620,7 @@ declare const aiEndpoints: {
|
|
|
1228
1620
|
visibleWhen?: unknown;
|
|
1229
1621
|
clientOnly?: boolean | undefined;
|
|
1230
1622
|
hint?: string | undefined;
|
|
1623
|
+
required?: boolean | undefined;
|
|
1231
1624
|
min?: number | undefined;
|
|
1232
1625
|
max?: number | undefined;
|
|
1233
1626
|
step?: number | undefined;
|
|
@@ -1236,6 +1629,7 @@ declare const aiEndpoints: {
|
|
|
1236
1629
|
role: string;
|
|
1237
1630
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
1238
1631
|
label: string;
|
|
1632
|
+
key?: string | undefined;
|
|
1239
1633
|
required?: boolean | undefined;
|
|
1240
1634
|
minCount?: number | undefined;
|
|
1241
1635
|
maxCount?: number | undefined;
|
|
@@ -1253,19 +1647,24 @@ declare const aiEndpoints: {
|
|
|
1253
1647
|
sharedGroup?: string | undefined;
|
|
1254
1648
|
sharedMaxCount?: number | undefined;
|
|
1255
1649
|
}[];
|
|
1650
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
1651
|
+
endpoint?: string | undefined;
|
|
1652
|
+
tags?: string[] | undefined;
|
|
1653
|
+
familyId?: string | undefined;
|
|
1256
1654
|
}[];
|
|
1257
1655
|
}[];
|
|
1258
1656
|
updatedAt?: string | undefined;
|
|
1259
1657
|
};
|
|
1260
1658
|
}>;
|
|
1261
|
-
/** Get
|
|
1262
|
-
readonly
|
|
1659
|
+
/** Get audio capabilities (features + variants). */
|
|
1660
|
+
readonly v3AudioCapabilities: Endpoint<void, {
|
|
1263
1661
|
success: true;
|
|
1264
1662
|
data: {
|
|
1265
1663
|
category: string;
|
|
1266
1664
|
features: {
|
|
1267
1665
|
id: string;
|
|
1268
1666
|
displayName: string;
|
|
1667
|
+
description: string;
|
|
1269
1668
|
variants: {
|
|
1270
1669
|
id: string;
|
|
1271
1670
|
featureTabName: string;
|
|
@@ -1284,7 +1683,7 @@ declare const aiEndpoints: {
|
|
|
1284
1683
|
description: string;
|
|
1285
1684
|
} | undefined;
|
|
1286
1685
|
} | null;
|
|
1287
|
-
resultType: "image" | "audio" | "video";
|
|
1686
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
1288
1687
|
isAsync: boolean;
|
|
1289
1688
|
paramsSchema: ({
|
|
1290
1689
|
key: string;
|
|
@@ -1295,6 +1694,7 @@ declare const aiEndpoints: {
|
|
|
1295
1694
|
visibleWhen?: unknown;
|
|
1296
1695
|
clientOnly?: boolean | undefined;
|
|
1297
1696
|
hint?: string | undefined;
|
|
1697
|
+
required?: boolean | undefined;
|
|
1298
1698
|
options?: {
|
|
1299
1699
|
value: string | number | boolean;
|
|
1300
1700
|
label: string;
|
|
@@ -1317,6 +1717,7 @@ declare const aiEndpoints: {
|
|
|
1317
1717
|
visibleWhen?: unknown;
|
|
1318
1718
|
clientOnly?: boolean | undefined;
|
|
1319
1719
|
hint?: string | undefined;
|
|
1720
|
+
required?: boolean | undefined;
|
|
1320
1721
|
} | {
|
|
1321
1722
|
key: string;
|
|
1322
1723
|
label: string;
|
|
@@ -1326,6 +1727,7 @@ declare const aiEndpoints: {
|
|
|
1326
1727
|
visibleWhen?: unknown;
|
|
1327
1728
|
clientOnly?: boolean | undefined;
|
|
1328
1729
|
hint?: string | undefined;
|
|
1730
|
+
required?: boolean | undefined;
|
|
1329
1731
|
} | {
|
|
1330
1732
|
key: string;
|
|
1331
1733
|
label: string;
|
|
@@ -1335,8 +1737,11 @@ declare const aiEndpoints: {
|
|
|
1335
1737
|
visibleWhen?: unknown;
|
|
1336
1738
|
clientOnly?: boolean | undefined;
|
|
1337
1739
|
hint?: string | undefined;
|
|
1740
|
+
required?: boolean | undefined;
|
|
1338
1741
|
multiline?: boolean | undefined;
|
|
1339
1742
|
placeholder?: string | undefined;
|
|
1743
|
+
minLength?: number | undefined;
|
|
1744
|
+
maxLength?: number | undefined;
|
|
1340
1745
|
} | {
|
|
1341
1746
|
key: string;
|
|
1342
1747
|
label: string;
|
|
@@ -1348,6 +1753,7 @@ declare const aiEndpoints: {
|
|
|
1348
1753
|
visibleWhen?: unknown;
|
|
1349
1754
|
clientOnly?: boolean | undefined;
|
|
1350
1755
|
hint?: string | undefined;
|
|
1756
|
+
required?: boolean | undefined;
|
|
1351
1757
|
step?: number | undefined;
|
|
1352
1758
|
} | {
|
|
1353
1759
|
key: string;
|
|
@@ -1358,6 +1764,7 @@ declare const aiEndpoints: {
|
|
|
1358
1764
|
visibleWhen?: unknown;
|
|
1359
1765
|
clientOnly?: boolean | undefined;
|
|
1360
1766
|
hint?: string | undefined;
|
|
1767
|
+
required?: boolean | undefined;
|
|
1361
1768
|
min?: number | undefined;
|
|
1362
1769
|
max?: number | undefined;
|
|
1363
1770
|
step?: number | undefined;
|
|
@@ -1366,6 +1773,7 @@ declare const aiEndpoints: {
|
|
|
1366
1773
|
role: string;
|
|
1367
1774
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
1368
1775
|
label: string;
|
|
1776
|
+
key?: string | undefined;
|
|
1369
1777
|
required?: boolean | undefined;
|
|
1370
1778
|
minCount?: number | undefined;
|
|
1371
1779
|
maxCount?: number | undefined;
|
|
@@ -1383,19 +1791,24 @@ declare const aiEndpoints: {
|
|
|
1383
1791
|
sharedGroup?: string | undefined;
|
|
1384
1792
|
sharedMaxCount?: number | undefined;
|
|
1385
1793
|
}[];
|
|
1794
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
1795
|
+
endpoint?: string | undefined;
|
|
1796
|
+
tags?: string[] | undefined;
|
|
1797
|
+
familyId?: string | undefined;
|
|
1386
1798
|
}[];
|
|
1387
1799
|
}[];
|
|
1388
1800
|
updatedAt?: string | undefined;
|
|
1389
1801
|
};
|
|
1390
1802
|
}>;
|
|
1391
|
-
/** Get
|
|
1392
|
-
readonly
|
|
1803
|
+
/** Get text capabilities (features + variants). */
|
|
1804
|
+
readonly v3TextCapabilities: Endpoint<void, {
|
|
1393
1805
|
success: true;
|
|
1394
1806
|
data: {
|
|
1395
1807
|
category: string;
|
|
1396
1808
|
features: {
|
|
1397
1809
|
id: string;
|
|
1398
1810
|
displayName: string;
|
|
1811
|
+
description: string;
|
|
1399
1812
|
variants: {
|
|
1400
1813
|
id: string;
|
|
1401
1814
|
featureTabName: string;
|
|
@@ -1414,7 +1827,7 @@ declare const aiEndpoints: {
|
|
|
1414
1827
|
description: string;
|
|
1415
1828
|
} | undefined;
|
|
1416
1829
|
} | null;
|
|
1417
|
-
resultType: "image" | "audio" | "video";
|
|
1830
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
1418
1831
|
isAsync: boolean;
|
|
1419
1832
|
paramsSchema: ({
|
|
1420
1833
|
key: string;
|
|
@@ -1425,6 +1838,7 @@ declare const aiEndpoints: {
|
|
|
1425
1838
|
visibleWhen?: unknown;
|
|
1426
1839
|
clientOnly?: boolean | undefined;
|
|
1427
1840
|
hint?: string | undefined;
|
|
1841
|
+
required?: boolean | undefined;
|
|
1428
1842
|
options?: {
|
|
1429
1843
|
value: string | number | boolean;
|
|
1430
1844
|
label: string;
|
|
@@ -1447,6 +1861,7 @@ declare const aiEndpoints: {
|
|
|
1447
1861
|
visibleWhen?: unknown;
|
|
1448
1862
|
clientOnly?: boolean | undefined;
|
|
1449
1863
|
hint?: string | undefined;
|
|
1864
|
+
required?: boolean | undefined;
|
|
1450
1865
|
} | {
|
|
1451
1866
|
key: string;
|
|
1452
1867
|
label: string;
|
|
@@ -1456,6 +1871,7 @@ declare const aiEndpoints: {
|
|
|
1456
1871
|
visibleWhen?: unknown;
|
|
1457
1872
|
clientOnly?: boolean | undefined;
|
|
1458
1873
|
hint?: string | undefined;
|
|
1874
|
+
required?: boolean | undefined;
|
|
1459
1875
|
} | {
|
|
1460
1876
|
key: string;
|
|
1461
1877
|
label: string;
|
|
@@ -1465,8 +1881,11 @@ declare const aiEndpoints: {
|
|
|
1465
1881
|
visibleWhen?: unknown;
|
|
1466
1882
|
clientOnly?: boolean | undefined;
|
|
1467
1883
|
hint?: string | undefined;
|
|
1884
|
+
required?: boolean | undefined;
|
|
1468
1885
|
multiline?: boolean | undefined;
|
|
1469
1886
|
placeholder?: string | undefined;
|
|
1887
|
+
minLength?: number | undefined;
|
|
1888
|
+
maxLength?: number | undefined;
|
|
1470
1889
|
} | {
|
|
1471
1890
|
key: string;
|
|
1472
1891
|
label: string;
|
|
@@ -1478,6 +1897,7 @@ declare const aiEndpoints: {
|
|
|
1478
1897
|
visibleWhen?: unknown;
|
|
1479
1898
|
clientOnly?: boolean | undefined;
|
|
1480
1899
|
hint?: string | undefined;
|
|
1900
|
+
required?: boolean | undefined;
|
|
1481
1901
|
step?: number | undefined;
|
|
1482
1902
|
} | {
|
|
1483
1903
|
key: string;
|
|
@@ -1488,6 +1908,7 @@ declare const aiEndpoints: {
|
|
|
1488
1908
|
visibleWhen?: unknown;
|
|
1489
1909
|
clientOnly?: boolean | undefined;
|
|
1490
1910
|
hint?: string | undefined;
|
|
1911
|
+
required?: boolean | undefined;
|
|
1491
1912
|
min?: number | undefined;
|
|
1492
1913
|
max?: number | undefined;
|
|
1493
1914
|
step?: number | undefined;
|
|
@@ -1496,6 +1917,7 @@ declare const aiEndpoints: {
|
|
|
1496
1917
|
role: string;
|
|
1497
1918
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
1498
1919
|
label: string;
|
|
1920
|
+
key?: string | undefined;
|
|
1499
1921
|
required?: boolean | undefined;
|
|
1500
1922
|
minCount?: number | undefined;
|
|
1501
1923
|
maxCount?: number | undefined;
|
|
@@ -1513,11 +1935,28 @@ declare const aiEndpoints: {
|
|
|
1513
1935
|
sharedGroup?: string | undefined;
|
|
1514
1936
|
sharedMaxCount?: number | undefined;
|
|
1515
1937
|
}[];
|
|
1938
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
1939
|
+
endpoint?: string | undefined;
|
|
1940
|
+
tags?: string[] | undefined;
|
|
1941
|
+
familyId?: string | undefined;
|
|
1516
1942
|
}[];
|
|
1517
1943
|
}[];
|
|
1518
1944
|
updatedAt?: string | undefined;
|
|
1519
1945
|
};
|
|
1520
1946
|
}>;
|
|
1947
|
+
/** Submit a v3 text generate request (sync, for translate/OCR/caption). */
|
|
1948
|
+
readonly v3TextGenerate: Endpoint<{
|
|
1949
|
+
feature: string;
|
|
1950
|
+
variant: string;
|
|
1951
|
+
inputs?: Record<string, unknown> | undefined;
|
|
1952
|
+
params?: Record<string, unknown> | undefined;
|
|
1953
|
+
}, {
|
|
1954
|
+
success: true;
|
|
1955
|
+
data: {
|
|
1956
|
+
text: string;
|
|
1957
|
+
creditsConsumed?: number | undefined;
|
|
1958
|
+
};
|
|
1959
|
+
}>;
|
|
1521
1960
|
/** Submit a v3 generate request. */
|
|
1522
1961
|
readonly v3Generate: Endpoint<{
|
|
1523
1962
|
feature: string;
|
|
@@ -1526,7 +1965,6 @@ declare const aiEndpoints: {
|
|
|
1526
1965
|
inputs?: Record<string, unknown> | undefined;
|
|
1527
1966
|
params?: Record<string, unknown> | undefined;
|
|
1528
1967
|
count?: number | undefined;
|
|
1529
|
-
seed?: number | undefined;
|
|
1530
1968
|
}, {
|
|
1531
1969
|
success: true;
|
|
1532
1970
|
data: {
|
|
@@ -1536,7 +1974,7 @@ declare const aiEndpoints: {
|
|
|
1536
1974
|
taskIds: string[];
|
|
1537
1975
|
};
|
|
1538
1976
|
}>;
|
|
1539
|
-
/** Get v3 task
|
|
1977
|
+
/** Get v3 task details by ID. */
|
|
1540
1978
|
readonly v3Task: (taskId: string) => Endpoint<void, {
|
|
1541
1979
|
success: true;
|
|
1542
1980
|
data: {
|
|
@@ -2357,6 +2795,7 @@ declare const paramSchemaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2357
2795
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2358
2796
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2359
2797
|
hint: z.ZodOptional<z.ZodString>;
|
|
2798
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2360
2799
|
type: z.ZodLiteral<"select">;
|
|
2361
2800
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2362
2801
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -2381,6 +2820,7 @@ declare const paramSchemaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2381
2820
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2382
2821
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2383
2822
|
hint: z.ZodOptional<z.ZodString>;
|
|
2823
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2384
2824
|
type: z.ZodLiteral<"tab">;
|
|
2385
2825
|
options: z.ZodArray<z.ZodObject<{
|
|
2386
2826
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -2398,6 +2838,7 @@ declare const paramSchemaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2398
2838
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2399
2839
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2400
2840
|
hint: z.ZodOptional<z.ZodString>;
|
|
2841
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2401
2842
|
type: z.ZodLiteral<"boolean">;
|
|
2402
2843
|
}, z.core.$strip>, z.ZodObject<{
|
|
2403
2844
|
key: z.ZodString;
|
|
@@ -2410,9 +2851,12 @@ declare const paramSchemaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2410
2851
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2411
2852
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2412
2853
|
hint: z.ZodOptional<z.ZodString>;
|
|
2854
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2413
2855
|
type: z.ZodLiteral<"text">;
|
|
2414
2856
|
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
2415
2857
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2858
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2859
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2416
2860
|
}, z.core.$strip>, z.ZodObject<{
|
|
2417
2861
|
key: z.ZodString;
|
|
2418
2862
|
label: z.ZodString;
|
|
@@ -2424,6 +2868,7 @@ declare const paramSchemaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2424
2868
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2425
2869
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2426
2870
|
hint: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2427
2872
|
type: z.ZodLiteral<"slider">;
|
|
2428
2873
|
min: z.ZodNumber;
|
|
2429
2874
|
max: z.ZodNumber;
|
|
@@ -2439,6 +2884,7 @@ declare const paramSchemaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2439
2884
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2440
2885
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2441
2886
|
hint: z.ZodOptional<z.ZodString>;
|
|
2887
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2442
2888
|
type: z.ZodLiteral<"number">;
|
|
2443
2889
|
min: z.ZodOptional<z.ZodNumber>;
|
|
2444
2890
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2446,6 +2892,7 @@ declare const paramSchemaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2446
2892
|
}, z.core.$strip>], "type">;
|
|
2447
2893
|
/** Input slot declaration for a handler variant. */
|
|
2448
2894
|
declare const inputSlotSchema: z.ZodObject<{
|
|
2895
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2449
2896
|
role: z.ZodString;
|
|
2450
2897
|
accept: z.ZodEnum<{
|
|
2451
2898
|
text: "text";
|
|
@@ -2492,6 +2939,7 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
2492
2939
|
}, z.core.$strip>>;
|
|
2493
2940
|
}, z.core.$strip>>;
|
|
2494
2941
|
resultType: z.ZodEnum<{
|
|
2942
|
+
text: "text";
|
|
2495
2943
|
image: "image";
|
|
2496
2944
|
audio: "audio";
|
|
2497
2945
|
video: "video";
|
|
@@ -2508,6 +2956,7 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
2508
2956
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2509
2957
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2510
2958
|
hint: z.ZodOptional<z.ZodString>;
|
|
2959
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2511
2960
|
type: z.ZodLiteral<"select">;
|
|
2512
2961
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2513
2962
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -2532,6 +2981,7 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
2532
2981
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2533
2982
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2534
2983
|
hint: z.ZodOptional<z.ZodString>;
|
|
2984
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2535
2985
|
type: z.ZodLiteral<"tab">;
|
|
2536
2986
|
options: z.ZodArray<z.ZodObject<{
|
|
2537
2987
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -2549,6 +2999,7 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
2549
2999
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2550
3000
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2551
3001
|
hint: z.ZodOptional<z.ZodString>;
|
|
3002
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2552
3003
|
type: z.ZodLiteral<"boolean">;
|
|
2553
3004
|
}, z.core.$strip>, z.ZodObject<{
|
|
2554
3005
|
key: z.ZodString;
|
|
@@ -2561,9 +3012,12 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
2561
3012
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2562
3013
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2563
3014
|
hint: z.ZodOptional<z.ZodString>;
|
|
3015
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2564
3016
|
type: z.ZodLiteral<"text">;
|
|
2565
3017
|
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
2566
3018
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
3019
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3020
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2567
3021
|
}, z.core.$strip>, z.ZodObject<{
|
|
2568
3022
|
key: z.ZodString;
|
|
2569
3023
|
label: z.ZodString;
|
|
@@ -2575,6 +3029,7 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
2575
3029
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2576
3030
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2577
3031
|
hint: z.ZodOptional<z.ZodString>;
|
|
3032
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2578
3033
|
type: z.ZodLiteral<"slider">;
|
|
2579
3034
|
min: z.ZodNumber;
|
|
2580
3035
|
max: z.ZodNumber;
|
|
@@ -2590,12 +3045,14 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
2590
3045
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2591
3046
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2592
3047
|
hint: z.ZodOptional<z.ZodString>;
|
|
3048
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2593
3049
|
type: z.ZodLiteral<"number">;
|
|
2594
3050
|
min: z.ZodOptional<z.ZodNumber>;
|
|
2595
3051
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2596
3052
|
step: z.ZodOptional<z.ZodNumber>;
|
|
2597
3053
|
}, z.core.$strip>], "type">>;
|
|
2598
3054
|
inputSlots: z.ZodArray<z.ZodObject<{
|
|
3055
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2599
3056
|
role: z.ZodString;
|
|
2600
3057
|
accept: z.ZodEnum<{
|
|
2601
3058
|
text: "text";
|
|
@@ -2622,11 +3079,20 @@ declare const v3VariantSchema: z.ZodObject<{
|
|
|
2622
3079
|
sharedGroup: z.ZodOptional<z.ZodString>;
|
|
2623
3080
|
sharedMaxCount: z.ZodOptional<z.ZodNumber>;
|
|
2624
3081
|
}, z.core.$strip>>;
|
|
3082
|
+
executionMode: z.ZodOptional<z.ZodEnum<{
|
|
3083
|
+
task: "task";
|
|
3084
|
+
streaming: "streaming";
|
|
3085
|
+
sync: "sync";
|
|
3086
|
+
}>>;
|
|
3087
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
3088
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3089
|
+
familyId: z.ZodOptional<z.ZodString>;
|
|
2625
3090
|
}, z.core.$strip>;
|
|
2626
3091
|
/** Feature entry within a capabilities response. */
|
|
2627
3092
|
declare const v3FeatureSchema: z.ZodObject<{
|
|
2628
3093
|
id: z.ZodString;
|
|
2629
3094
|
displayName: z.ZodString;
|
|
3095
|
+
description: z.ZodString;
|
|
2630
3096
|
variants: z.ZodArray<z.ZodObject<{
|
|
2631
3097
|
id: z.ZodString;
|
|
2632
3098
|
featureTabName: z.ZodString;
|
|
@@ -2646,6 +3112,7 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
2646
3112
|
}, z.core.$strip>>;
|
|
2647
3113
|
}, z.core.$strip>>;
|
|
2648
3114
|
resultType: z.ZodEnum<{
|
|
3115
|
+
text: "text";
|
|
2649
3116
|
image: "image";
|
|
2650
3117
|
audio: "audio";
|
|
2651
3118
|
video: "video";
|
|
@@ -2662,6 +3129,7 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
2662
3129
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2663
3130
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2664
3131
|
hint: z.ZodOptional<z.ZodString>;
|
|
3132
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2665
3133
|
type: z.ZodLiteral<"select">;
|
|
2666
3134
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2667
3135
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -2686,6 +3154,7 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
2686
3154
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2687
3155
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2688
3156
|
hint: z.ZodOptional<z.ZodString>;
|
|
3157
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2689
3158
|
type: z.ZodLiteral<"tab">;
|
|
2690
3159
|
options: z.ZodArray<z.ZodObject<{
|
|
2691
3160
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -2703,6 +3172,7 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
2703
3172
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2704
3173
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2705
3174
|
hint: z.ZodOptional<z.ZodString>;
|
|
3175
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2706
3176
|
type: z.ZodLiteral<"boolean">;
|
|
2707
3177
|
}, z.core.$strip>, z.ZodObject<{
|
|
2708
3178
|
key: z.ZodString;
|
|
@@ -2715,9 +3185,12 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
2715
3185
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2716
3186
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2717
3187
|
hint: z.ZodOptional<z.ZodString>;
|
|
3188
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2718
3189
|
type: z.ZodLiteral<"text">;
|
|
2719
3190
|
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
2720
3191
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
3192
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3193
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2721
3194
|
}, z.core.$strip>, z.ZodObject<{
|
|
2722
3195
|
key: z.ZodString;
|
|
2723
3196
|
label: z.ZodString;
|
|
@@ -2729,6 +3202,7 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
2729
3202
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2730
3203
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2731
3204
|
hint: z.ZodOptional<z.ZodString>;
|
|
3205
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2732
3206
|
type: z.ZodLiteral<"slider">;
|
|
2733
3207
|
min: z.ZodNumber;
|
|
2734
3208
|
max: z.ZodNumber;
|
|
@@ -2744,12 +3218,14 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
2744
3218
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2745
3219
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2746
3220
|
hint: z.ZodOptional<z.ZodString>;
|
|
3221
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2747
3222
|
type: z.ZodLiteral<"number">;
|
|
2748
3223
|
min: z.ZodOptional<z.ZodNumber>;
|
|
2749
3224
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2750
3225
|
step: z.ZodOptional<z.ZodNumber>;
|
|
2751
3226
|
}, z.core.$strip>], "type">>;
|
|
2752
3227
|
inputSlots: z.ZodArray<z.ZodObject<{
|
|
3228
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2753
3229
|
role: z.ZodString;
|
|
2754
3230
|
accept: z.ZodEnum<{
|
|
2755
3231
|
text: "text";
|
|
@@ -2776,6 +3252,14 @@ declare const v3FeatureSchema: z.ZodObject<{
|
|
|
2776
3252
|
sharedGroup: z.ZodOptional<z.ZodString>;
|
|
2777
3253
|
sharedMaxCount: z.ZodOptional<z.ZodNumber>;
|
|
2778
3254
|
}, z.core.$strip>>;
|
|
3255
|
+
executionMode: z.ZodOptional<z.ZodEnum<{
|
|
3256
|
+
task: "task";
|
|
3257
|
+
streaming: "streaming";
|
|
3258
|
+
sync: "sync";
|
|
3259
|
+
}>>;
|
|
3260
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
3261
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3262
|
+
familyId: z.ZodOptional<z.ZodString>;
|
|
2779
3263
|
}, z.core.$strip>>;
|
|
2780
3264
|
}, z.core.$strip>;
|
|
2781
3265
|
/** Capabilities data payload for a single media category. */
|
|
@@ -2784,6 +3268,7 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
2784
3268
|
features: z.ZodArray<z.ZodObject<{
|
|
2785
3269
|
id: z.ZodString;
|
|
2786
3270
|
displayName: z.ZodString;
|
|
3271
|
+
description: z.ZodString;
|
|
2787
3272
|
variants: z.ZodArray<z.ZodObject<{
|
|
2788
3273
|
id: z.ZodString;
|
|
2789
3274
|
featureTabName: z.ZodString;
|
|
@@ -2803,6 +3288,7 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
2803
3288
|
}, z.core.$strip>>;
|
|
2804
3289
|
}, z.core.$strip>>;
|
|
2805
3290
|
resultType: z.ZodEnum<{
|
|
3291
|
+
text: "text";
|
|
2806
3292
|
image: "image";
|
|
2807
3293
|
audio: "audio";
|
|
2808
3294
|
video: "video";
|
|
@@ -2819,6 +3305,7 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
2819
3305
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2820
3306
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2821
3307
|
hint: z.ZodOptional<z.ZodString>;
|
|
3308
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2822
3309
|
type: z.ZodLiteral<"select">;
|
|
2823
3310
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2824
3311
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -2843,6 +3330,7 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
2843
3330
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2844
3331
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2845
3332
|
hint: z.ZodOptional<z.ZodString>;
|
|
3333
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2846
3334
|
type: z.ZodLiteral<"tab">;
|
|
2847
3335
|
options: z.ZodArray<z.ZodObject<{
|
|
2848
3336
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -2860,6 +3348,7 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
2860
3348
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2861
3349
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2862
3350
|
hint: z.ZodOptional<z.ZodString>;
|
|
3351
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2863
3352
|
type: z.ZodLiteral<"boolean">;
|
|
2864
3353
|
}, z.core.$strip>, z.ZodObject<{
|
|
2865
3354
|
key: z.ZodString;
|
|
@@ -2872,9 +3361,12 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
2872
3361
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2873
3362
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2874
3363
|
hint: z.ZodOptional<z.ZodString>;
|
|
3364
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2875
3365
|
type: z.ZodLiteral<"text">;
|
|
2876
3366
|
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
2877
3367
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
3368
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3369
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2878
3370
|
}, z.core.$strip>, z.ZodObject<{
|
|
2879
3371
|
key: z.ZodString;
|
|
2880
3372
|
label: z.ZodString;
|
|
@@ -2886,6 +3378,7 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
2886
3378
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2887
3379
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2888
3380
|
hint: z.ZodOptional<z.ZodString>;
|
|
3381
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2889
3382
|
type: z.ZodLiteral<"slider">;
|
|
2890
3383
|
min: z.ZodNumber;
|
|
2891
3384
|
max: z.ZodNumber;
|
|
@@ -2901,12 +3394,14 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
2901
3394
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2902
3395
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2903
3396
|
hint: z.ZodOptional<z.ZodString>;
|
|
3397
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2904
3398
|
type: z.ZodLiteral<"number">;
|
|
2905
3399
|
min: z.ZodOptional<z.ZodNumber>;
|
|
2906
3400
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2907
3401
|
step: z.ZodOptional<z.ZodNumber>;
|
|
2908
3402
|
}, z.core.$strip>], "type">>;
|
|
2909
3403
|
inputSlots: z.ZodArray<z.ZodObject<{
|
|
3404
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2910
3405
|
role: z.ZodString;
|
|
2911
3406
|
accept: z.ZodEnum<{
|
|
2912
3407
|
text: "text";
|
|
@@ -2933,6 +3428,14 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
|
|
|
2933
3428
|
sharedGroup: z.ZodOptional<z.ZodString>;
|
|
2934
3429
|
sharedMaxCount: z.ZodOptional<z.ZodNumber>;
|
|
2935
3430
|
}, z.core.$strip>>;
|
|
3431
|
+
executionMode: z.ZodOptional<z.ZodEnum<{
|
|
3432
|
+
task: "task";
|
|
3433
|
+
streaming: "streaming";
|
|
3434
|
+
sync: "sync";
|
|
3435
|
+
}>>;
|
|
3436
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
3437
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3438
|
+
familyId: z.ZodOptional<z.ZodString>;
|
|
2936
3439
|
}, z.core.$strip>>;
|
|
2937
3440
|
}, z.core.$strip>>;
|
|
2938
3441
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2945,6 +3448,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
2945
3448
|
features: z.ZodArray<z.ZodObject<{
|
|
2946
3449
|
id: z.ZodString;
|
|
2947
3450
|
displayName: z.ZodString;
|
|
3451
|
+
description: z.ZodString;
|
|
2948
3452
|
variants: z.ZodArray<z.ZodObject<{
|
|
2949
3453
|
id: z.ZodString;
|
|
2950
3454
|
featureTabName: z.ZodString;
|
|
@@ -2964,6 +3468,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
2964
3468
|
}, z.core.$strip>>;
|
|
2965
3469
|
}, z.core.$strip>>;
|
|
2966
3470
|
resultType: z.ZodEnum<{
|
|
3471
|
+
text: "text";
|
|
2967
3472
|
image: "image";
|
|
2968
3473
|
audio: "audio";
|
|
2969
3474
|
video: "video";
|
|
@@ -2980,6 +3485,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
2980
3485
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2981
3486
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2982
3487
|
hint: z.ZodOptional<z.ZodString>;
|
|
3488
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2983
3489
|
type: z.ZodLiteral<"select">;
|
|
2984
3490
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2985
3491
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -3004,6 +3510,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
3004
3510
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3005
3511
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3006
3512
|
hint: z.ZodOptional<z.ZodString>;
|
|
3513
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3007
3514
|
type: z.ZodLiteral<"tab">;
|
|
3008
3515
|
options: z.ZodArray<z.ZodObject<{
|
|
3009
3516
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -3021,6 +3528,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
3021
3528
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3022
3529
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3023
3530
|
hint: z.ZodOptional<z.ZodString>;
|
|
3531
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3024
3532
|
type: z.ZodLiteral<"boolean">;
|
|
3025
3533
|
}, z.core.$strip>, z.ZodObject<{
|
|
3026
3534
|
key: z.ZodString;
|
|
@@ -3033,9 +3541,12 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
3033
3541
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3034
3542
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3035
3543
|
hint: z.ZodOptional<z.ZodString>;
|
|
3544
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3036
3545
|
type: z.ZodLiteral<"text">;
|
|
3037
3546
|
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
3038
3547
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
3548
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3549
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3039
3550
|
}, z.core.$strip>, z.ZodObject<{
|
|
3040
3551
|
key: z.ZodString;
|
|
3041
3552
|
label: z.ZodString;
|
|
@@ -3047,6 +3558,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
3047
3558
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3048
3559
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3049
3560
|
hint: z.ZodOptional<z.ZodString>;
|
|
3561
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3050
3562
|
type: z.ZodLiteral<"slider">;
|
|
3051
3563
|
min: z.ZodNumber;
|
|
3052
3564
|
max: z.ZodNumber;
|
|
@@ -3062,12 +3574,14 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
3062
3574
|
visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3063
3575
|
clientOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3064
3576
|
hint: z.ZodOptional<z.ZodString>;
|
|
3577
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3065
3578
|
type: z.ZodLiteral<"number">;
|
|
3066
3579
|
min: z.ZodOptional<z.ZodNumber>;
|
|
3067
3580
|
max: z.ZodOptional<z.ZodNumber>;
|
|
3068
3581
|
step: z.ZodOptional<z.ZodNumber>;
|
|
3069
3582
|
}, z.core.$strip>], "type">>;
|
|
3070
3583
|
inputSlots: z.ZodArray<z.ZodObject<{
|
|
3584
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3071
3585
|
role: z.ZodString;
|
|
3072
3586
|
accept: z.ZodEnum<{
|
|
3073
3587
|
text: "text";
|
|
@@ -3094,6 +3608,14 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
|
|
|
3094
3608
|
sharedGroup: z.ZodOptional<z.ZodString>;
|
|
3095
3609
|
sharedMaxCount: z.ZodOptional<z.ZodNumber>;
|
|
3096
3610
|
}, z.core.$strip>>;
|
|
3611
|
+
executionMode: z.ZodOptional<z.ZodEnum<{
|
|
3612
|
+
task: "task";
|
|
3613
|
+
streaming: "streaming";
|
|
3614
|
+
sync: "sync";
|
|
3615
|
+
}>>;
|
|
3616
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
3617
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3618
|
+
familyId: z.ZodOptional<z.ZodString>;
|
|
3097
3619
|
}, z.core.$strip>>;
|
|
3098
3620
|
}, z.core.$strip>>;
|
|
3099
3621
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3107,7 +3629,21 @@ declare const v3GenerateRequestSchema: z.ZodObject<{
|
|
|
3107
3629
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3108
3630
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3109
3631
|
count: z.ZodOptional<z.ZodNumber>;
|
|
3110
|
-
|
|
3632
|
+
}, z.core.$strip>;
|
|
3633
|
+
/** v3 text generate request body. */
|
|
3634
|
+
declare const v3TextGenerateRequestSchema: z.ZodObject<{
|
|
3635
|
+
feature: z.ZodString;
|
|
3636
|
+
variant: z.ZodString;
|
|
3637
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3638
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3639
|
+
}, z.core.$strip>;
|
|
3640
|
+
/** v3 text generate response. */
|
|
3641
|
+
declare const v3TextGenerateResponseSchema: z.ZodObject<{
|
|
3642
|
+
success: z.ZodLiteral<true>;
|
|
3643
|
+
data: z.ZodObject<{
|
|
3644
|
+
text: z.ZodString;
|
|
3645
|
+
creditsConsumed: z.ZodOptional<z.ZodNumber>;
|
|
3646
|
+
}, z.core.$strip>;
|
|
3111
3647
|
}, z.core.$strip>;
|
|
3112
3648
|
/** Individual task item within a v3 response. */
|
|
3113
3649
|
declare const v3TaskItemSchema: z.ZodObject<{
|
|
@@ -3280,6 +3816,10 @@ type V3CapabilitiesData = z.infer<typeof v3CapabilitiesDataSchema>;
|
|
|
3280
3816
|
type V3CapabilitiesResponse = z.infer<typeof v3CapabilitiesResponseSchema>;
|
|
3281
3817
|
/** v3 generate request body. */
|
|
3282
3818
|
type V3GenerateRequest = z.infer<typeof v3GenerateRequestSchema>;
|
|
3819
|
+
/** v3 text generate request body. */
|
|
3820
|
+
type V3TextGenerateRequest = z.infer<typeof v3TextGenerateRequestSchema>;
|
|
3821
|
+
/** v3 text generate response. */
|
|
3822
|
+
type V3TextGenerateResponse = z.infer<typeof v3TextGenerateResponseSchema>;
|
|
3283
3823
|
/** Individual task item. */
|
|
3284
3824
|
type V3TaskItem = z.infer<typeof v3TaskItemSchema>;
|
|
3285
3825
|
/** Single-task query response. */
|
|
@@ -3304,6 +3844,19 @@ type V3QueueTicket = z.infer<typeof v3QueueTicketSchema>;
|
|
|
3304
3844
|
type V3QueueResponse = z.infer<typeof v3QueueResponseSchema>;
|
|
3305
3845
|
/** Upload response. */
|
|
3306
3846
|
type V3UploadResponse = z.infer<typeof v3UploadResponseSchema>;
|
|
3847
|
+
/** Schema for task status SSE event data (lightweight, only taskId + status). */
|
|
3848
|
+
declare const v3TaskSSEEventSchema: z.ZodObject<{
|
|
3849
|
+
taskId: z.ZodString;
|
|
3850
|
+
status: z.ZodEnum<{
|
|
3851
|
+
queued: "queued";
|
|
3852
|
+
running: "running";
|
|
3853
|
+
succeeded: "succeeded";
|
|
3854
|
+
failed: "failed";
|
|
3855
|
+
canceled: "canceled";
|
|
3856
|
+
}>;
|
|
3857
|
+
}, z.core.$strip>;
|
|
3858
|
+
/** Task SSE event data type. */
|
|
3859
|
+
type V3TaskSSEEvent = z.infer<typeof v3TaskSSEEventSchema>;
|
|
3307
3860
|
|
|
3308
3861
|
type AiSdkHost = SdkHost<{
|
|
3309
3862
|
ai: typeof aiEndpoints;
|
|
@@ -3404,56 +3957,201 @@ declare class AiClient {
|
|
|
3404
3957
|
displayName?: string | null | undefined;
|
|
3405
3958
|
description?: string | null | undefined;
|
|
3406
3959
|
familyId?: string | undefined;
|
|
3407
|
-
capabilities?: {
|
|
3408
|
-
common?: {
|
|
3409
|
-
maxContextK?: number | undefined;
|
|
3410
|
-
supportsStructuredOutput?: boolean | undefined;
|
|
3411
|
-
supportsWebSearch?: boolean | undefined;
|
|
3412
|
-
} | undefined;
|
|
3413
|
-
params?: {
|
|
3414
|
-
features?: string[] | undefined;
|
|
3415
|
-
fields?: {
|
|
3416
|
-
key: string;
|
|
3417
|
-
title: string;
|
|
3418
|
-
type: "number" | "boolean" | "text" | "select";
|
|
3419
|
-
request: boolean;
|
|
3420
|
-
description?: string | undefined;
|
|
3421
|
-
unit?: string | undefined;
|
|
3422
|
-
values?: (string | number | boolean)[] | undefined;
|
|
3423
|
-
min?: number | undefined;
|
|
3424
|
-
max?: number | undefined;
|
|
3425
|
-
step?: number | undefined;
|
|
3426
|
-
default?: string | number | boolean | undefined;
|
|
3427
|
-
}[] | undefined;
|
|
3428
|
-
} | undefined;
|
|
3429
|
-
input?: {
|
|
3430
|
-
maxImages?: number | undefined;
|
|
3431
|
-
supportsMask?: boolean | undefined;
|
|
3432
|
-
supportsReferenceVideo?: boolean | undefined;
|
|
3433
|
-
supportsStartEnd?: boolean | undefined;
|
|
3434
|
-
} | undefined;
|
|
3435
|
-
output?: {
|
|
3436
|
-
supportsMulti?: boolean | undefined;
|
|
3437
|
-
supportsAudio?: boolean | undefined;
|
|
3438
|
-
} | undefined;
|
|
3439
|
-
} | undefined;
|
|
3960
|
+
capabilities?: {
|
|
3961
|
+
common?: {
|
|
3962
|
+
maxContextK?: number | undefined;
|
|
3963
|
+
supportsStructuredOutput?: boolean | undefined;
|
|
3964
|
+
supportsWebSearch?: boolean | undefined;
|
|
3965
|
+
} | undefined;
|
|
3966
|
+
params?: {
|
|
3967
|
+
features?: string[] | undefined;
|
|
3968
|
+
fields?: {
|
|
3969
|
+
key: string;
|
|
3970
|
+
title: string;
|
|
3971
|
+
type: "number" | "boolean" | "text" | "select";
|
|
3972
|
+
request: boolean;
|
|
3973
|
+
description?: string | undefined;
|
|
3974
|
+
unit?: string | undefined;
|
|
3975
|
+
values?: (string | number | boolean)[] | undefined;
|
|
3976
|
+
min?: number | undefined;
|
|
3977
|
+
max?: number | undefined;
|
|
3978
|
+
step?: number | undefined;
|
|
3979
|
+
default?: string | number | boolean | undefined;
|
|
3980
|
+
}[] | undefined;
|
|
3981
|
+
} | undefined;
|
|
3982
|
+
input?: {
|
|
3983
|
+
maxImages?: number | undefined;
|
|
3984
|
+
supportsMask?: boolean | undefined;
|
|
3985
|
+
supportsReferenceVideo?: boolean | undefined;
|
|
3986
|
+
supportsStartEnd?: boolean | undefined;
|
|
3987
|
+
} | undefined;
|
|
3988
|
+
output?: {
|
|
3989
|
+
supportsMulti?: boolean | undefined;
|
|
3990
|
+
supportsAudio?: boolean | undefined;
|
|
3991
|
+
} | undefined;
|
|
3992
|
+
} | undefined;
|
|
3993
|
+
}[];
|
|
3994
|
+
apiUrl?: string | undefined;
|
|
3995
|
+
authType?: string | undefined;
|
|
3996
|
+
websiteUrl?: string | null | undefined;
|
|
3997
|
+
docUrl?: string | null | undefined;
|
|
3998
|
+
}[];
|
|
3999
|
+
updatedAt?: string | undefined;
|
|
4000
|
+
};
|
|
4001
|
+
}>;
|
|
4002
|
+
/** Fetch image capabilities (features + variants) via v3 API. */
|
|
4003
|
+
imageCapabilities(): Promise<{
|
|
4004
|
+
success: true;
|
|
4005
|
+
data: {
|
|
4006
|
+
category: string;
|
|
4007
|
+
features: {
|
|
4008
|
+
id: string;
|
|
4009
|
+
displayName: string;
|
|
4010
|
+
description: string;
|
|
4011
|
+
variants: {
|
|
4012
|
+
id: string;
|
|
4013
|
+
featureTabName: string;
|
|
4014
|
+
creditsPerCall: number;
|
|
4015
|
+
billingType: string;
|
|
4016
|
+
minMembershipLevel: string;
|
|
4017
|
+
maxBatchSize: number;
|
|
4018
|
+
resourceConstraints: {
|
|
4019
|
+
maxFileSize: number;
|
|
4020
|
+
maxFiles: number;
|
|
4021
|
+
acceptedFormats: string[];
|
|
4022
|
+
requiresUpload: boolean;
|
|
4023
|
+
maxResolution?: number | undefined;
|
|
4024
|
+
precheck?: {
|
|
4025
|
+
type: string;
|
|
4026
|
+
description: string;
|
|
4027
|
+
} | undefined;
|
|
4028
|
+
} | null;
|
|
4029
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
4030
|
+
isAsync: boolean;
|
|
4031
|
+
paramsSchema: ({
|
|
4032
|
+
key: string;
|
|
4033
|
+
label: string;
|
|
4034
|
+
type: "select";
|
|
4035
|
+
default?: unknown;
|
|
4036
|
+
group?: "primary" | "advanced" | undefined;
|
|
4037
|
+
visibleWhen?: unknown;
|
|
4038
|
+
clientOnly?: boolean | undefined;
|
|
4039
|
+
hint?: string | undefined;
|
|
4040
|
+
required?: boolean | undefined;
|
|
4041
|
+
options?: {
|
|
4042
|
+
value: string | number | boolean;
|
|
4043
|
+
label: string;
|
|
4044
|
+
thumbnail?: string | undefined;
|
|
4045
|
+
}[] | undefined;
|
|
4046
|
+
catalog?: string | undefined;
|
|
4047
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
4048
|
+
searchable?: boolean | undefined;
|
|
4049
|
+
} | {
|
|
4050
|
+
key: string;
|
|
4051
|
+
label: string;
|
|
4052
|
+
type: "tab";
|
|
4053
|
+
options: {
|
|
4054
|
+
value: string | number | boolean;
|
|
4055
|
+
label: string;
|
|
4056
|
+
thumbnail?: string | undefined;
|
|
4057
|
+
}[];
|
|
4058
|
+
default?: unknown;
|
|
4059
|
+
group?: "primary" | "advanced" | undefined;
|
|
4060
|
+
visibleWhen?: unknown;
|
|
4061
|
+
clientOnly?: boolean | undefined;
|
|
4062
|
+
hint?: string | undefined;
|
|
4063
|
+
required?: boolean | undefined;
|
|
4064
|
+
} | {
|
|
4065
|
+
key: string;
|
|
4066
|
+
label: string;
|
|
4067
|
+
type: "boolean";
|
|
4068
|
+
default?: unknown;
|
|
4069
|
+
group?: "primary" | "advanced" | undefined;
|
|
4070
|
+
visibleWhen?: unknown;
|
|
4071
|
+
clientOnly?: boolean | undefined;
|
|
4072
|
+
hint?: string | undefined;
|
|
4073
|
+
required?: boolean | undefined;
|
|
4074
|
+
} | {
|
|
4075
|
+
key: string;
|
|
4076
|
+
label: string;
|
|
4077
|
+
type: "text";
|
|
4078
|
+
default?: unknown;
|
|
4079
|
+
group?: "primary" | "advanced" | undefined;
|
|
4080
|
+
visibleWhen?: unknown;
|
|
4081
|
+
clientOnly?: boolean | undefined;
|
|
4082
|
+
hint?: string | undefined;
|
|
4083
|
+
required?: boolean | undefined;
|
|
4084
|
+
multiline?: boolean | undefined;
|
|
4085
|
+
placeholder?: string | undefined;
|
|
4086
|
+
minLength?: number | undefined;
|
|
4087
|
+
maxLength?: number | undefined;
|
|
4088
|
+
} | {
|
|
4089
|
+
key: string;
|
|
4090
|
+
label: string;
|
|
4091
|
+
type: "slider";
|
|
4092
|
+
min: number;
|
|
4093
|
+
max: number;
|
|
4094
|
+
default?: unknown;
|
|
4095
|
+
group?: "primary" | "advanced" | undefined;
|
|
4096
|
+
visibleWhen?: unknown;
|
|
4097
|
+
clientOnly?: boolean | undefined;
|
|
4098
|
+
hint?: string | undefined;
|
|
4099
|
+
required?: boolean | undefined;
|
|
4100
|
+
step?: number | undefined;
|
|
4101
|
+
} | {
|
|
4102
|
+
key: string;
|
|
4103
|
+
label: string;
|
|
4104
|
+
type: "number";
|
|
4105
|
+
default?: unknown;
|
|
4106
|
+
group?: "primary" | "advanced" | undefined;
|
|
4107
|
+
visibleWhen?: unknown;
|
|
4108
|
+
clientOnly?: boolean | undefined;
|
|
4109
|
+
hint?: string | undefined;
|
|
4110
|
+
required?: boolean | undefined;
|
|
4111
|
+
min?: number | undefined;
|
|
4112
|
+
max?: number | undefined;
|
|
4113
|
+
step?: number | undefined;
|
|
4114
|
+
})[];
|
|
4115
|
+
inputSlots: {
|
|
4116
|
+
role: string;
|
|
4117
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
4118
|
+
label: string;
|
|
4119
|
+
key?: string | undefined;
|
|
4120
|
+
required?: boolean | undefined;
|
|
4121
|
+
minCount?: number | undefined;
|
|
4122
|
+
maxCount?: number | undefined;
|
|
4123
|
+
placeholder?: string | undefined;
|
|
4124
|
+
multiline?: boolean | undefined;
|
|
4125
|
+
minLength?: number | undefined;
|
|
4126
|
+
maxLength?: number | undefined;
|
|
4127
|
+
maxFileSize?: number | undefined;
|
|
4128
|
+
acceptFormats?: string[] | undefined;
|
|
4129
|
+
minResolution?: number | undefined;
|
|
4130
|
+
maxResolution?: number | undefined;
|
|
4131
|
+
minDuration?: number | undefined;
|
|
4132
|
+
maxDuration?: number | undefined;
|
|
4133
|
+
hint?: string | undefined;
|
|
4134
|
+
sharedGroup?: string | undefined;
|
|
4135
|
+
sharedMaxCount?: number | undefined;
|
|
4136
|
+
}[];
|
|
4137
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
4138
|
+
endpoint?: string | undefined;
|
|
4139
|
+
tags?: string[] | undefined;
|
|
4140
|
+
familyId?: string | undefined;
|
|
3440
4141
|
}[];
|
|
3441
|
-
apiUrl?: string | undefined;
|
|
3442
|
-
authType?: string | undefined;
|
|
3443
|
-
websiteUrl?: string | null | undefined;
|
|
3444
|
-
docUrl?: string | null | undefined;
|
|
3445
4142
|
}[];
|
|
3446
4143
|
updatedAt?: string | undefined;
|
|
3447
4144
|
};
|
|
3448
4145
|
}>;
|
|
3449
|
-
/** Fetch
|
|
3450
|
-
|
|
4146
|
+
/** Fetch video capabilities (features + variants) via v3 API. */
|
|
4147
|
+
videoCapabilities(): Promise<{
|
|
3451
4148
|
success: true;
|
|
3452
4149
|
data: {
|
|
3453
4150
|
category: string;
|
|
3454
4151
|
features: {
|
|
3455
4152
|
id: string;
|
|
3456
4153
|
displayName: string;
|
|
4154
|
+
description: string;
|
|
3457
4155
|
variants: {
|
|
3458
4156
|
id: string;
|
|
3459
4157
|
featureTabName: string;
|
|
@@ -3472,7 +4170,7 @@ declare class AiClient {
|
|
|
3472
4170
|
description: string;
|
|
3473
4171
|
} | undefined;
|
|
3474
4172
|
} | null;
|
|
3475
|
-
resultType: "image" | "audio" | "video";
|
|
4173
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
3476
4174
|
isAsync: boolean;
|
|
3477
4175
|
paramsSchema: ({
|
|
3478
4176
|
key: string;
|
|
@@ -3483,6 +4181,7 @@ declare class AiClient {
|
|
|
3483
4181
|
visibleWhen?: unknown;
|
|
3484
4182
|
clientOnly?: boolean | undefined;
|
|
3485
4183
|
hint?: string | undefined;
|
|
4184
|
+
required?: boolean | undefined;
|
|
3486
4185
|
options?: {
|
|
3487
4186
|
value: string | number | boolean;
|
|
3488
4187
|
label: string;
|
|
@@ -3505,6 +4204,7 @@ declare class AiClient {
|
|
|
3505
4204
|
visibleWhen?: unknown;
|
|
3506
4205
|
clientOnly?: boolean | undefined;
|
|
3507
4206
|
hint?: string | undefined;
|
|
4207
|
+
required?: boolean | undefined;
|
|
3508
4208
|
} | {
|
|
3509
4209
|
key: string;
|
|
3510
4210
|
label: string;
|
|
@@ -3514,6 +4214,7 @@ declare class AiClient {
|
|
|
3514
4214
|
visibleWhen?: unknown;
|
|
3515
4215
|
clientOnly?: boolean | undefined;
|
|
3516
4216
|
hint?: string | undefined;
|
|
4217
|
+
required?: boolean | undefined;
|
|
3517
4218
|
} | {
|
|
3518
4219
|
key: string;
|
|
3519
4220
|
label: string;
|
|
@@ -3523,8 +4224,11 @@ declare class AiClient {
|
|
|
3523
4224
|
visibleWhen?: unknown;
|
|
3524
4225
|
clientOnly?: boolean | undefined;
|
|
3525
4226
|
hint?: string | undefined;
|
|
4227
|
+
required?: boolean | undefined;
|
|
3526
4228
|
multiline?: boolean | undefined;
|
|
3527
4229
|
placeholder?: string | undefined;
|
|
4230
|
+
minLength?: number | undefined;
|
|
4231
|
+
maxLength?: number | undefined;
|
|
3528
4232
|
} | {
|
|
3529
4233
|
key: string;
|
|
3530
4234
|
label: string;
|
|
@@ -3536,6 +4240,7 @@ declare class AiClient {
|
|
|
3536
4240
|
visibleWhen?: unknown;
|
|
3537
4241
|
clientOnly?: boolean | undefined;
|
|
3538
4242
|
hint?: string | undefined;
|
|
4243
|
+
required?: boolean | undefined;
|
|
3539
4244
|
step?: number | undefined;
|
|
3540
4245
|
} | {
|
|
3541
4246
|
key: string;
|
|
@@ -3546,6 +4251,7 @@ declare class AiClient {
|
|
|
3546
4251
|
visibleWhen?: unknown;
|
|
3547
4252
|
clientOnly?: boolean | undefined;
|
|
3548
4253
|
hint?: string | undefined;
|
|
4254
|
+
required?: boolean | undefined;
|
|
3549
4255
|
min?: number | undefined;
|
|
3550
4256
|
max?: number | undefined;
|
|
3551
4257
|
step?: number | undefined;
|
|
@@ -3554,6 +4260,7 @@ declare class AiClient {
|
|
|
3554
4260
|
role: string;
|
|
3555
4261
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
3556
4262
|
label: string;
|
|
4263
|
+
key?: string | undefined;
|
|
3557
4264
|
required?: boolean | undefined;
|
|
3558
4265
|
minCount?: number | undefined;
|
|
3559
4266
|
maxCount?: number | undefined;
|
|
@@ -3571,19 +4278,24 @@ declare class AiClient {
|
|
|
3571
4278
|
sharedGroup?: string | undefined;
|
|
3572
4279
|
sharedMaxCount?: number | undefined;
|
|
3573
4280
|
}[];
|
|
4281
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
4282
|
+
endpoint?: string | undefined;
|
|
4283
|
+
tags?: string[] | undefined;
|
|
4284
|
+
familyId?: string | undefined;
|
|
3574
4285
|
}[];
|
|
3575
4286
|
}[];
|
|
3576
4287
|
updatedAt?: string | undefined;
|
|
3577
4288
|
};
|
|
3578
4289
|
}>;
|
|
3579
|
-
/** Fetch
|
|
3580
|
-
|
|
4290
|
+
/** Fetch audio capabilities (features + variants) via v3 API. */
|
|
4291
|
+
audioCapabilities(): Promise<{
|
|
3581
4292
|
success: true;
|
|
3582
4293
|
data: {
|
|
3583
4294
|
category: string;
|
|
3584
4295
|
features: {
|
|
3585
4296
|
id: string;
|
|
3586
4297
|
displayName: string;
|
|
4298
|
+
description: string;
|
|
3587
4299
|
variants: {
|
|
3588
4300
|
id: string;
|
|
3589
4301
|
featureTabName: string;
|
|
@@ -3602,7 +4314,7 @@ declare class AiClient {
|
|
|
3602
4314
|
description: string;
|
|
3603
4315
|
} | undefined;
|
|
3604
4316
|
} | null;
|
|
3605
|
-
resultType: "image" | "audio" | "video";
|
|
4317
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
3606
4318
|
isAsync: boolean;
|
|
3607
4319
|
paramsSchema: ({
|
|
3608
4320
|
key: string;
|
|
@@ -3613,6 +4325,7 @@ declare class AiClient {
|
|
|
3613
4325
|
visibleWhen?: unknown;
|
|
3614
4326
|
clientOnly?: boolean | undefined;
|
|
3615
4327
|
hint?: string | undefined;
|
|
4328
|
+
required?: boolean | undefined;
|
|
3616
4329
|
options?: {
|
|
3617
4330
|
value: string | number | boolean;
|
|
3618
4331
|
label: string;
|
|
@@ -3635,6 +4348,7 @@ declare class AiClient {
|
|
|
3635
4348
|
visibleWhen?: unknown;
|
|
3636
4349
|
clientOnly?: boolean | undefined;
|
|
3637
4350
|
hint?: string | undefined;
|
|
4351
|
+
required?: boolean | undefined;
|
|
3638
4352
|
} | {
|
|
3639
4353
|
key: string;
|
|
3640
4354
|
label: string;
|
|
@@ -3644,6 +4358,7 @@ declare class AiClient {
|
|
|
3644
4358
|
visibleWhen?: unknown;
|
|
3645
4359
|
clientOnly?: boolean | undefined;
|
|
3646
4360
|
hint?: string | undefined;
|
|
4361
|
+
required?: boolean | undefined;
|
|
3647
4362
|
} | {
|
|
3648
4363
|
key: string;
|
|
3649
4364
|
label: string;
|
|
@@ -3653,8 +4368,11 @@ declare class AiClient {
|
|
|
3653
4368
|
visibleWhen?: unknown;
|
|
3654
4369
|
clientOnly?: boolean | undefined;
|
|
3655
4370
|
hint?: string | undefined;
|
|
4371
|
+
required?: boolean | undefined;
|
|
3656
4372
|
multiline?: boolean | undefined;
|
|
3657
4373
|
placeholder?: string | undefined;
|
|
4374
|
+
minLength?: number | undefined;
|
|
4375
|
+
maxLength?: number | undefined;
|
|
3658
4376
|
} | {
|
|
3659
4377
|
key: string;
|
|
3660
4378
|
label: string;
|
|
@@ -3666,6 +4384,7 @@ declare class AiClient {
|
|
|
3666
4384
|
visibleWhen?: unknown;
|
|
3667
4385
|
clientOnly?: boolean | undefined;
|
|
3668
4386
|
hint?: string | undefined;
|
|
4387
|
+
required?: boolean | undefined;
|
|
3669
4388
|
step?: number | undefined;
|
|
3670
4389
|
} | {
|
|
3671
4390
|
key: string;
|
|
@@ -3676,6 +4395,7 @@ declare class AiClient {
|
|
|
3676
4395
|
visibleWhen?: unknown;
|
|
3677
4396
|
clientOnly?: boolean | undefined;
|
|
3678
4397
|
hint?: string | undefined;
|
|
4398
|
+
required?: boolean | undefined;
|
|
3679
4399
|
min?: number | undefined;
|
|
3680
4400
|
max?: number | undefined;
|
|
3681
4401
|
step?: number | undefined;
|
|
@@ -3684,6 +4404,7 @@ declare class AiClient {
|
|
|
3684
4404
|
role: string;
|
|
3685
4405
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
3686
4406
|
label: string;
|
|
4407
|
+
key?: string | undefined;
|
|
3687
4408
|
required?: boolean | undefined;
|
|
3688
4409
|
minCount?: number | undefined;
|
|
3689
4410
|
maxCount?: number | undefined;
|
|
@@ -3701,19 +4422,24 @@ declare class AiClient {
|
|
|
3701
4422
|
sharedGroup?: string | undefined;
|
|
3702
4423
|
sharedMaxCount?: number | undefined;
|
|
3703
4424
|
}[];
|
|
4425
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
4426
|
+
endpoint?: string | undefined;
|
|
4427
|
+
tags?: string[] | undefined;
|
|
4428
|
+
familyId?: string | undefined;
|
|
3704
4429
|
}[];
|
|
3705
4430
|
}[];
|
|
3706
4431
|
updatedAt?: string | undefined;
|
|
3707
4432
|
};
|
|
3708
4433
|
}>;
|
|
3709
|
-
/** Fetch
|
|
3710
|
-
|
|
4434
|
+
/** Fetch text capabilities (features + variants) via v3 API. */
|
|
4435
|
+
textCapabilities(): Promise<{
|
|
3711
4436
|
success: true;
|
|
3712
4437
|
data: {
|
|
3713
4438
|
category: string;
|
|
3714
4439
|
features: {
|
|
3715
4440
|
id: string;
|
|
3716
4441
|
displayName: string;
|
|
4442
|
+
description: string;
|
|
3717
4443
|
variants: {
|
|
3718
4444
|
id: string;
|
|
3719
4445
|
featureTabName: string;
|
|
@@ -3732,7 +4458,7 @@ declare class AiClient {
|
|
|
3732
4458
|
description: string;
|
|
3733
4459
|
} | undefined;
|
|
3734
4460
|
} | null;
|
|
3735
|
-
resultType: "image" | "audio" | "video";
|
|
4461
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
3736
4462
|
isAsync: boolean;
|
|
3737
4463
|
paramsSchema: ({
|
|
3738
4464
|
key: string;
|
|
@@ -3743,6 +4469,7 @@ declare class AiClient {
|
|
|
3743
4469
|
visibleWhen?: unknown;
|
|
3744
4470
|
clientOnly?: boolean | undefined;
|
|
3745
4471
|
hint?: string | undefined;
|
|
4472
|
+
required?: boolean | undefined;
|
|
3746
4473
|
options?: {
|
|
3747
4474
|
value: string | number | boolean;
|
|
3748
4475
|
label: string;
|
|
@@ -3765,6 +4492,7 @@ declare class AiClient {
|
|
|
3765
4492
|
visibleWhen?: unknown;
|
|
3766
4493
|
clientOnly?: boolean | undefined;
|
|
3767
4494
|
hint?: string | undefined;
|
|
4495
|
+
required?: boolean | undefined;
|
|
3768
4496
|
} | {
|
|
3769
4497
|
key: string;
|
|
3770
4498
|
label: string;
|
|
@@ -3774,6 +4502,7 @@ declare class AiClient {
|
|
|
3774
4502
|
visibleWhen?: unknown;
|
|
3775
4503
|
clientOnly?: boolean | undefined;
|
|
3776
4504
|
hint?: string | undefined;
|
|
4505
|
+
required?: boolean | undefined;
|
|
3777
4506
|
} | {
|
|
3778
4507
|
key: string;
|
|
3779
4508
|
label: string;
|
|
@@ -3783,8 +4512,11 @@ declare class AiClient {
|
|
|
3783
4512
|
visibleWhen?: unknown;
|
|
3784
4513
|
clientOnly?: boolean | undefined;
|
|
3785
4514
|
hint?: string | undefined;
|
|
4515
|
+
required?: boolean | undefined;
|
|
3786
4516
|
multiline?: boolean | undefined;
|
|
3787
4517
|
placeholder?: string | undefined;
|
|
4518
|
+
minLength?: number | undefined;
|
|
4519
|
+
maxLength?: number | undefined;
|
|
3788
4520
|
} | {
|
|
3789
4521
|
key: string;
|
|
3790
4522
|
label: string;
|
|
@@ -3796,6 +4528,7 @@ declare class AiClient {
|
|
|
3796
4528
|
visibleWhen?: unknown;
|
|
3797
4529
|
clientOnly?: boolean | undefined;
|
|
3798
4530
|
hint?: string | undefined;
|
|
4531
|
+
required?: boolean | undefined;
|
|
3799
4532
|
step?: number | undefined;
|
|
3800
4533
|
} | {
|
|
3801
4534
|
key: string;
|
|
@@ -3806,6 +4539,7 @@ declare class AiClient {
|
|
|
3806
4539
|
visibleWhen?: unknown;
|
|
3807
4540
|
clientOnly?: boolean | undefined;
|
|
3808
4541
|
hint?: string | undefined;
|
|
4542
|
+
required?: boolean | undefined;
|
|
3809
4543
|
min?: number | undefined;
|
|
3810
4544
|
max?: number | undefined;
|
|
3811
4545
|
step?: number | undefined;
|
|
@@ -3814,6 +4548,7 @@ declare class AiClient {
|
|
|
3814
4548
|
role: string;
|
|
3815
4549
|
accept: "text" | "file" | "image" | "audio" | "video";
|
|
3816
4550
|
label: string;
|
|
4551
|
+
key?: string | undefined;
|
|
3817
4552
|
required?: boolean | undefined;
|
|
3818
4553
|
minCount?: number | undefined;
|
|
3819
4554
|
maxCount?: number | undefined;
|
|
@@ -3831,11 +4566,17 @@ declare class AiClient {
|
|
|
3831
4566
|
sharedGroup?: string | undefined;
|
|
3832
4567
|
sharedMaxCount?: number | undefined;
|
|
3833
4568
|
}[];
|
|
4569
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
4570
|
+
endpoint?: string | undefined;
|
|
4571
|
+
tags?: string[] | undefined;
|
|
4572
|
+
familyId?: string | undefined;
|
|
3834
4573
|
}[];
|
|
3835
4574
|
}[];
|
|
3836
4575
|
updatedAt?: string | undefined;
|
|
3837
4576
|
};
|
|
3838
4577
|
}>;
|
|
4578
|
+
/** Submit a v3 text generate request (sync, for translate/OCR/caption). */
|
|
4579
|
+
v3TextGenerate(payload: V3TextGenerateRequest): Promise<V3TextGenerateResponse>;
|
|
3839
4580
|
/** Submit a v3 generate request (unified for all media types). */
|
|
3840
4581
|
v3Generate(payload: V3GenerateRequest): Promise<{
|
|
3841
4582
|
success: true;
|
|
@@ -3846,7 +4587,7 @@ declare class AiClient {
|
|
|
3846
4587
|
taskIds: string[];
|
|
3847
4588
|
};
|
|
3848
4589
|
}>;
|
|
3849
|
-
/**
|
|
4590
|
+
/** Get v3 task details by ID. */
|
|
3850
4591
|
v3Task(taskId: string): Promise<{
|
|
3851
4592
|
success: true;
|
|
3852
4593
|
data: {
|
|
@@ -3905,6 +4646,13 @@ declare class AiClient {
|
|
|
3905
4646
|
* 返回 EventSource 实例,调用方自行处理事件和关闭。
|
|
3906
4647
|
*/
|
|
3907
4648
|
v3QueueEvents(ticketId: string): EventSource;
|
|
4649
|
+
/**
|
|
4650
|
+
* Connect to task status SSE events.
|
|
4651
|
+
* 服务端主动轮询上游 provider,通过 SSE 推送状态变更。
|
|
4652
|
+
* 事件类型为 "status",data 仅包含 taskId 和 status。
|
|
4653
|
+
* 无需认证,通过 taskId 不可猜测性保证安全。
|
|
4654
|
+
*/
|
|
4655
|
+
v3TaskEvents(taskId: string): EventSource;
|
|
3908
4656
|
}
|
|
3909
4657
|
|
|
3910
4658
|
declare const AI_MODEL_TAGS: readonly ["image_generation", "image_multi_input", "image_input", "image_multi_generation", "image_edit", "video_generation", "audio_tts", "media:imageGenerate", "media:poster", "media:imageEdit", "media:upscale", "media:outpaint", "media:matting", "media:videoGenerate", "media:videoEdit", "media:digitalHuman", "media:motionTransfer", "media:tts", "media:music", "media:sfx", "chat", "reasoning", "tool_call", "image_analysis", "video_analysis", "audio_analysis", "code"];
|
|
@@ -3927,6 +4675,12 @@ declare const MEDIA_FEATURES: {
|
|
|
3927
4675
|
readonly en: "Text to Image";
|
|
3928
4676
|
readonly ja: "テキストから画像";
|
|
3929
4677
|
};
|
|
4678
|
+
readonly description: {
|
|
4679
|
+
readonly zh: "根据文字描述生成图片";
|
|
4680
|
+
readonly "zh-TW": "根據文字描述生成圖片";
|
|
4681
|
+
readonly en: "Generate images from text descriptions";
|
|
4682
|
+
readonly ja: "テキストの説明から画像を生成";
|
|
4683
|
+
};
|
|
3930
4684
|
};
|
|
3931
4685
|
readonly imageEdit: {
|
|
3932
4686
|
readonly id: "imageEdit";
|
|
@@ -3936,6 +4690,12 @@ declare const MEDIA_FEATURES: {
|
|
|
3936
4690
|
readonly en: "Image Editing";
|
|
3937
4691
|
readonly ja: "画像編集";
|
|
3938
4692
|
};
|
|
4693
|
+
readonly description: {
|
|
4694
|
+
readonly zh: "对已有图片进行修改和调整";
|
|
4695
|
+
readonly "zh-TW": "對已有圖片進行修改和調整";
|
|
4696
|
+
readonly en: "Modify and adjust existing images";
|
|
4697
|
+
readonly ja: "既存の画像を修正・調整";
|
|
4698
|
+
};
|
|
3939
4699
|
};
|
|
3940
4700
|
readonly imageInpaint: {
|
|
3941
4701
|
readonly id: "imageInpaint";
|
|
@@ -3945,6 +4705,12 @@ declare const MEDIA_FEATURES: {
|
|
|
3945
4705
|
readonly en: "Inpainting";
|
|
3946
4706
|
readonly ja: "画像修復";
|
|
3947
4707
|
};
|
|
4708
|
+
readonly description: {
|
|
4709
|
+
readonly zh: "修复图片中的瑕疵或移除不需要的元素";
|
|
4710
|
+
readonly "zh-TW": "修復圖片中的瑕疵或移除不需要的元素";
|
|
4711
|
+
readonly en: "Fix imperfections or remove unwanted elements from images";
|
|
4712
|
+
readonly ja: "画像の欠陥を修正、不要な要素を除去";
|
|
4713
|
+
};
|
|
3948
4714
|
};
|
|
3949
4715
|
readonly imageStyleTransfer: {
|
|
3950
4716
|
readonly id: "imageStyleTransfer";
|
|
@@ -3954,6 +4720,12 @@ declare const MEDIA_FEATURES: {
|
|
|
3954
4720
|
readonly en: "Style Transfer";
|
|
3955
4721
|
readonly ja: "スタイル変換";
|
|
3956
4722
|
};
|
|
4723
|
+
readonly description: {
|
|
4724
|
+
readonly zh: "将图片转换为不同的艺术风格";
|
|
4725
|
+
readonly "zh-TW": "將圖片轉換為不同的藝術風格";
|
|
4726
|
+
readonly en: "Transform images into different artistic styles";
|
|
4727
|
+
readonly ja: "画像を異なるアートスタイルに変換";
|
|
4728
|
+
};
|
|
3957
4729
|
};
|
|
3958
4730
|
readonly outpaint: {
|
|
3959
4731
|
readonly id: "outpaint";
|
|
@@ -3963,6 +4735,12 @@ declare const MEDIA_FEATURES: {
|
|
|
3963
4735
|
readonly en: "Outpainting";
|
|
3964
4736
|
readonly ja: "画像拡張";
|
|
3965
4737
|
};
|
|
4738
|
+
readonly description: {
|
|
4739
|
+
readonly zh: "向外扩展图片边界,生成新的内容";
|
|
4740
|
+
readonly "zh-TW": "向外擴展圖片邊界,生成新的內容";
|
|
4741
|
+
readonly en: "Extend image boundaries and generate new content";
|
|
4742
|
+
readonly ja: "画像の境界を拡張し新しいコンテンツを生成";
|
|
4743
|
+
};
|
|
3966
4744
|
};
|
|
3967
4745
|
readonly upscale: {
|
|
3968
4746
|
readonly id: "upscale";
|
|
@@ -3972,6 +4750,12 @@ declare const MEDIA_FEATURES: {
|
|
|
3972
4750
|
readonly en: "Upscale";
|
|
3973
4751
|
readonly ja: "超解像";
|
|
3974
4752
|
};
|
|
4753
|
+
readonly description: {
|
|
4754
|
+
readonly zh: "提升图片分辨率,增强细节清晰度";
|
|
4755
|
+
readonly "zh-TW": "提升圖片解析度,增強細節清晰度";
|
|
4756
|
+
readonly en: "Enhance image resolution and detail clarity";
|
|
4757
|
+
readonly ja: "画像の解像度を向上させ、ディテールを鮮明に";
|
|
4758
|
+
};
|
|
3975
4759
|
};
|
|
3976
4760
|
readonly materialExtract: {
|
|
3977
4761
|
readonly id: "materialExtract";
|
|
@@ -3981,6 +4765,12 @@ declare const MEDIA_FEATURES: {
|
|
|
3981
4765
|
readonly en: "Material Extract";
|
|
3982
4766
|
readonly ja: "素材抽出";
|
|
3983
4767
|
};
|
|
4768
|
+
readonly description: {
|
|
4769
|
+
readonly zh: "从图片中提取素材元素";
|
|
4770
|
+
readonly "zh-TW": "從圖片中提取素材元素";
|
|
4771
|
+
readonly en: "Extract material elements from images";
|
|
4772
|
+
readonly ja: "画像から素材要素を抽出";
|
|
4773
|
+
};
|
|
3984
4774
|
};
|
|
3985
4775
|
readonly videoGenerate: {
|
|
3986
4776
|
readonly id: "videoGenerate";
|
|
@@ -3990,6 +4780,12 @@ declare const MEDIA_FEATURES: {
|
|
|
3990
4780
|
readonly en: "Video Generation";
|
|
3991
4781
|
readonly ja: "動画生成";
|
|
3992
4782
|
};
|
|
4783
|
+
readonly description: {
|
|
4784
|
+
readonly zh: "根据文字或图片生成视频";
|
|
4785
|
+
readonly "zh-TW": "根據文字或圖片生成影片";
|
|
4786
|
+
readonly en: "Generate videos from text or images";
|
|
4787
|
+
readonly ja: "テキストや画像から動画を生成";
|
|
4788
|
+
};
|
|
3993
4789
|
};
|
|
3994
4790
|
readonly digitalHuman: {
|
|
3995
4791
|
readonly id: "digitalHuman";
|
|
@@ -3999,6 +4795,12 @@ declare const MEDIA_FEATURES: {
|
|
|
3999
4795
|
readonly en: "Digital Human";
|
|
4000
4796
|
readonly ja: "デジタルヒューマン";
|
|
4001
4797
|
};
|
|
4798
|
+
readonly description: {
|
|
4799
|
+
readonly zh: "生成逼真的数字人形象和动画";
|
|
4800
|
+
readonly "zh-TW": "生成逼真的數位人形象和動畫";
|
|
4801
|
+
readonly en: "Create realistic digital human avatars and animations";
|
|
4802
|
+
readonly ja: "リアルなデジタルヒューマンのアバターとアニメーションを作成";
|
|
4803
|
+
};
|
|
4002
4804
|
};
|
|
4003
4805
|
readonly videoFaceSwap: {
|
|
4004
4806
|
readonly id: "videoFaceSwap";
|
|
@@ -4008,6 +4810,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4008
4810
|
readonly en: "Video Face Swap";
|
|
4009
4811
|
readonly ja: "ビデオフェイススワップ";
|
|
4010
4812
|
};
|
|
4813
|
+
readonly description: {
|
|
4814
|
+
readonly zh: "替换视频中的人脸";
|
|
4815
|
+
readonly "zh-TW": "替換影片中的人臉";
|
|
4816
|
+
readonly en: "Swap faces in videos";
|
|
4817
|
+
readonly ja: "動画内の顔を入れ替え";
|
|
4818
|
+
};
|
|
4011
4819
|
};
|
|
4012
4820
|
readonly videoTranslate: {
|
|
4013
4821
|
readonly id: "videoTranslate";
|
|
@@ -4017,6 +4825,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4017
4825
|
readonly en: "Video Translation";
|
|
4018
4826
|
readonly ja: "動画翻訳";
|
|
4019
4827
|
};
|
|
4828
|
+
readonly description: {
|
|
4829
|
+
readonly zh: "翻译视频中的语音和字幕";
|
|
4830
|
+
readonly "zh-TW": "翻譯影片中的語音和字幕";
|
|
4831
|
+
readonly en: "Translate speech and subtitles in videos";
|
|
4832
|
+
readonly ja: "動画内の音声と字幕を翻訳";
|
|
4833
|
+
};
|
|
4020
4834
|
};
|
|
4021
4835
|
readonly lipSync: {
|
|
4022
4836
|
readonly id: "lipSync";
|
|
@@ -4026,6 +4840,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4026
4840
|
readonly en: "Lip Sync";
|
|
4027
4841
|
readonly ja: "リップシンク";
|
|
4028
4842
|
};
|
|
4843
|
+
readonly description: {
|
|
4844
|
+
readonly zh: "让视频中的人物口型与音频同步";
|
|
4845
|
+
readonly "zh-TW": "讓影片中的人物口型與音訊同步";
|
|
4846
|
+
readonly en: "Synchronize lip movements with audio in videos";
|
|
4847
|
+
readonly ja: "動画内の人物の口の動きを音声と同期";
|
|
4848
|
+
};
|
|
4029
4849
|
};
|
|
4030
4850
|
readonly tts: {
|
|
4031
4851
|
readonly id: "tts";
|
|
@@ -4035,6 +4855,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4035
4855
|
readonly en: "Text to Speech";
|
|
4036
4856
|
readonly ja: "音声合成";
|
|
4037
4857
|
};
|
|
4858
|
+
readonly description: {
|
|
4859
|
+
readonly zh: "将文字转换为自然流畅的语音";
|
|
4860
|
+
readonly "zh-TW": "將文字轉換為自然流暢的語音";
|
|
4861
|
+
readonly en: "Convert text into natural-sounding speech";
|
|
4862
|
+
readonly ja: "テキストを自然な音声に変換";
|
|
4863
|
+
};
|
|
4038
4864
|
};
|
|
4039
4865
|
readonly speechToText: {
|
|
4040
4866
|
readonly id: "speechToText";
|
|
@@ -4044,6 +4870,57 @@ declare const MEDIA_FEATURES: {
|
|
|
4044
4870
|
readonly en: "Speech to Text";
|
|
4045
4871
|
readonly ja: "音声認識";
|
|
4046
4872
|
};
|
|
4873
|
+
readonly description: {
|
|
4874
|
+
readonly zh: "将语音内容转换为文字";
|
|
4875
|
+
readonly "zh-TW": "將語音內容轉換為文字";
|
|
4876
|
+
readonly en: "Convert speech into text";
|
|
4877
|
+
readonly ja: "音声をテキストに変換";
|
|
4878
|
+
};
|
|
4879
|
+
};
|
|
4880
|
+
readonly chat: {
|
|
4881
|
+
readonly id: "chat";
|
|
4882
|
+
readonly label: {
|
|
4883
|
+
readonly zh: "智能对话";
|
|
4884
|
+
readonly "zh-TW": "智慧對話";
|
|
4885
|
+
readonly en: "AI Chat";
|
|
4886
|
+
readonly ja: "AIチャット";
|
|
4887
|
+
};
|
|
4888
|
+
readonly description: {
|
|
4889
|
+
readonly zh: "与 AI 进行实时对话";
|
|
4890
|
+
readonly "zh-TW": "與 AI 進行即時對話";
|
|
4891
|
+
readonly en: "Real-time AI conversation";
|
|
4892
|
+
readonly ja: "AIとのリアルタイム会話";
|
|
4893
|
+
};
|
|
4894
|
+
};
|
|
4895
|
+
readonly translate: {
|
|
4896
|
+
readonly id: "translate";
|
|
4897
|
+
readonly label: {
|
|
4898
|
+
readonly zh: "文本翻译";
|
|
4899
|
+
readonly "zh-TW": "文字翻譯";
|
|
4900
|
+
readonly en: "Translation";
|
|
4901
|
+
readonly ja: "テキスト翻訳";
|
|
4902
|
+
};
|
|
4903
|
+
readonly description: {
|
|
4904
|
+
readonly zh: "将文本翻译为其他语言";
|
|
4905
|
+
readonly "zh-TW": "將文字翻譯為其他語言";
|
|
4906
|
+
readonly en: "Translate text into other languages";
|
|
4907
|
+
readonly ja: "テキストを他の言語に翻訳";
|
|
4908
|
+
};
|
|
4909
|
+
};
|
|
4910
|
+
readonly multiAngle: {
|
|
4911
|
+
readonly id: "multiAngle";
|
|
4912
|
+
readonly label: {
|
|
4913
|
+
readonly zh: "多角度";
|
|
4914
|
+
readonly "zh-TW": "多角度";
|
|
4915
|
+
readonly en: "Multi-Angle";
|
|
4916
|
+
readonly ja: "マルチアングル";
|
|
4917
|
+
};
|
|
4918
|
+
readonly description: {
|
|
4919
|
+
readonly zh: "从不同角度和视角生成图片";
|
|
4920
|
+
readonly "zh-TW": "從不同角度和視角生成圖片";
|
|
4921
|
+
readonly en: "Generate images from different angles and perspectives";
|
|
4922
|
+
readonly ja: "異なる角度と視点から画像を生成";
|
|
4923
|
+
};
|
|
4047
4924
|
};
|
|
4048
4925
|
readonly productImage: {
|
|
4049
4926
|
readonly id: "productImage";
|
|
@@ -4053,6 +4930,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4053
4930
|
readonly en: "Product Image";
|
|
4054
4931
|
readonly ja: "商品画像";
|
|
4055
4932
|
};
|
|
4933
|
+
readonly description: {
|
|
4934
|
+
readonly zh: "生成电商商品展示图片";
|
|
4935
|
+
readonly "zh-TW": "生成電商商品展示圖片";
|
|
4936
|
+
readonly en: "Generate e-commerce product showcase images";
|
|
4937
|
+
readonly ja: "EC商品の展示画像を生成";
|
|
4938
|
+
};
|
|
4056
4939
|
};
|
|
4057
4940
|
readonly productVideo: {
|
|
4058
4941
|
readonly id: "productVideo";
|
|
@@ -4062,6 +4945,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4062
4945
|
readonly en: "Product Video";
|
|
4063
4946
|
readonly ja: "商品動画";
|
|
4064
4947
|
};
|
|
4948
|
+
readonly description: {
|
|
4949
|
+
readonly zh: "生成电商商品展示视频";
|
|
4950
|
+
readonly "zh-TW": "生成電商商品展示影片";
|
|
4951
|
+
readonly en: "Generate e-commerce product showcase videos";
|
|
4952
|
+
readonly ja: "EC商品の展示動画を生成";
|
|
4953
|
+
};
|
|
4065
4954
|
};
|
|
4066
4955
|
readonly backgroundRemove: {
|
|
4067
4956
|
readonly id: "backgroundRemove";
|
|
@@ -4071,6 +4960,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4071
4960
|
readonly en: "Background Remove";
|
|
4072
4961
|
readonly ja: "背景除去";
|
|
4073
4962
|
};
|
|
4963
|
+
readonly description: {
|
|
4964
|
+
readonly zh: "移除图片背景,提取主体";
|
|
4965
|
+
readonly "zh-TW": "移除圖片背景,提取主體";
|
|
4966
|
+
readonly en: "Remove image background and extract subject";
|
|
4967
|
+
readonly ja: "画像の背景を除去し被写体を抽出";
|
|
4968
|
+
};
|
|
4074
4969
|
};
|
|
4075
4970
|
readonly backgroundReplace: {
|
|
4076
4971
|
readonly id: "backgroundReplace";
|
|
@@ -4080,6 +4975,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4080
4975
|
readonly en: "Background Replace";
|
|
4081
4976
|
readonly ja: "背景置換";
|
|
4082
4977
|
};
|
|
4978
|
+
readonly description: {
|
|
4979
|
+
readonly zh: "替换图片背景为新场景";
|
|
4980
|
+
readonly "zh-TW": "替換圖片背景為新場景";
|
|
4981
|
+
readonly en: "Replace image background with a new scene";
|
|
4982
|
+
readonly ja: "画像の背景を新しいシーンに置換";
|
|
4983
|
+
};
|
|
4083
4984
|
};
|
|
4084
4985
|
readonly posterGenerate: {
|
|
4085
4986
|
readonly id: "posterGenerate";
|
|
@@ -4089,6 +4990,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4089
4990
|
readonly en: "Poster Generation";
|
|
4090
4991
|
readonly ja: "ポスター生成";
|
|
4091
4992
|
};
|
|
4993
|
+
readonly description: {
|
|
4994
|
+
readonly zh: "自动生成创意海报设计";
|
|
4995
|
+
readonly "zh-TW": "自動生成創意海報設計";
|
|
4996
|
+
readonly en: "Automatically generate creative poster designs";
|
|
4997
|
+
readonly ja: "クリエイティブなポスターデザインを自動生成";
|
|
4998
|
+
};
|
|
4092
4999
|
};
|
|
4093
5000
|
readonly modelTryOn: {
|
|
4094
5001
|
readonly id: "modelTryOn";
|
|
@@ -4098,6 +5005,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4098
5005
|
readonly en: "Virtual Try-On";
|
|
4099
5006
|
readonly ja: "バーチャル試着";
|
|
4100
5007
|
};
|
|
5008
|
+
readonly description: {
|
|
5009
|
+
readonly zh: "将服装虚拟试穿到模特身上";
|
|
5010
|
+
readonly "zh-TW": "將服裝虛擬試穿到模特身上";
|
|
5011
|
+
readonly en: "Virtually try on clothing on models";
|
|
5012
|
+
readonly ja: "モデルに衣服をバーチャル試着";
|
|
5013
|
+
};
|
|
4101
5014
|
};
|
|
4102
5015
|
readonly faceSwap: {
|
|
4103
5016
|
readonly id: "faceSwap";
|
|
@@ -4107,6 +5020,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4107
5020
|
readonly en: "Face Swap";
|
|
4108
5021
|
readonly ja: "フェイススワップ";
|
|
4109
5022
|
};
|
|
5023
|
+
readonly description: {
|
|
5024
|
+
readonly zh: "替换图片中的人脸";
|
|
5025
|
+
readonly "zh-TW": "替換圖片中的人臉";
|
|
5026
|
+
readonly en: "Swap faces in images";
|
|
5027
|
+
readonly ja: "画像内の顔を入れ替え";
|
|
5028
|
+
};
|
|
4110
5029
|
};
|
|
4111
5030
|
readonly faceEnhance: {
|
|
4112
5031
|
readonly id: "faceEnhance";
|
|
@@ -4116,6 +5035,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4116
5035
|
readonly en: "Face Enhance";
|
|
4117
5036
|
readonly ja: "顔補正";
|
|
4118
5037
|
};
|
|
5038
|
+
readonly description: {
|
|
5039
|
+
readonly zh: "增强和美化人脸细节";
|
|
5040
|
+
readonly "zh-TW": "增強和美化人臉細節";
|
|
5041
|
+
readonly en: "Enhance and beautify facial details";
|
|
5042
|
+
readonly ja: "顔のディテールを補正・美化";
|
|
5043
|
+
};
|
|
4119
5044
|
};
|
|
4120
5045
|
readonly colorize: {
|
|
4121
5046
|
readonly id: "colorize";
|
|
@@ -4125,6 +5050,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4125
5050
|
readonly en: "Colorize";
|
|
4126
5051
|
readonly ja: "カラー化";
|
|
4127
5052
|
};
|
|
5053
|
+
readonly description: {
|
|
5054
|
+
readonly zh: "为黑白照片自动上色";
|
|
5055
|
+
readonly "zh-TW": "為黑白照片自動上色";
|
|
5056
|
+
readonly en: "Automatically colorize black and white photos";
|
|
5057
|
+
readonly ja: "白黒写真を自動でカラー化";
|
|
5058
|
+
};
|
|
4128
5059
|
};
|
|
4129
5060
|
readonly segmentation: {
|
|
4130
5061
|
readonly id: "segmentation";
|
|
@@ -4134,6 +5065,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4134
5065
|
readonly en: "Segmentation";
|
|
4135
5066
|
readonly ja: "セグメンテーション";
|
|
4136
5067
|
};
|
|
5068
|
+
readonly description: {
|
|
5069
|
+
readonly zh: "将图像分割为不同区域和对象";
|
|
5070
|
+
readonly "zh-TW": "將圖像分割為不同區域和物件";
|
|
5071
|
+
readonly en: "Segment images into different regions and objects";
|
|
5072
|
+
readonly ja: "画像を異なる領域やオブジェクトに分割";
|
|
5073
|
+
};
|
|
4137
5074
|
};
|
|
4138
5075
|
readonly objectDetect: {
|
|
4139
5076
|
readonly id: "objectDetect";
|
|
@@ -4143,6 +5080,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4143
5080
|
readonly en: "Object Detection";
|
|
4144
5081
|
readonly ja: "物体検出";
|
|
4145
5082
|
};
|
|
5083
|
+
readonly description: {
|
|
5084
|
+
readonly zh: "检测和定位图像中的目标对象";
|
|
5085
|
+
readonly "zh-TW": "偵測和定位圖像中的目標物件";
|
|
5086
|
+
readonly en: "Detect and locate objects in images";
|
|
5087
|
+
readonly ja: "画像内のオブジェクトを検出・特定";
|
|
5088
|
+
};
|
|
4146
5089
|
};
|
|
4147
5090
|
readonly ocrRecognize: {
|
|
4148
5091
|
readonly id: "ocrRecognize";
|
|
@@ -4152,6 +5095,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4152
5095
|
readonly en: "OCR";
|
|
4153
5096
|
readonly ja: "文字認識";
|
|
4154
5097
|
};
|
|
5098
|
+
readonly description: {
|
|
5099
|
+
readonly zh: "识别图片中的文字内容";
|
|
5100
|
+
readonly "zh-TW": "辨識圖片中的文字內容";
|
|
5101
|
+
readonly en: "Recognize text content in images";
|
|
5102
|
+
readonly ja: "画像内のテキストを認識";
|
|
5103
|
+
};
|
|
4155
5104
|
};
|
|
4156
5105
|
readonly imageCaption: {
|
|
4157
5106
|
readonly id: "imageCaption";
|
|
@@ -4161,6 +5110,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4161
5110
|
readonly en: "Image Caption";
|
|
4162
5111
|
readonly ja: "画像キャプション";
|
|
4163
5112
|
};
|
|
5113
|
+
readonly description: {
|
|
5114
|
+
readonly zh: "自动生成图片的文字描述";
|
|
5115
|
+
readonly "zh-TW": "自動生成圖片的文字描述";
|
|
5116
|
+
readonly en: "Automatically generate text descriptions for images";
|
|
5117
|
+
readonly ja: "画像のテキスト説明を自動生成";
|
|
5118
|
+
};
|
|
4164
5119
|
};
|
|
4165
5120
|
readonly musicGenerate: {
|
|
4166
5121
|
readonly id: "musicGenerate";
|
|
@@ -4170,6 +5125,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4170
5125
|
readonly en: "Music Generation";
|
|
4171
5126
|
readonly ja: "音楽生成";
|
|
4172
5127
|
};
|
|
5128
|
+
readonly description: {
|
|
5129
|
+
readonly zh: "根据描述生成原创音乐";
|
|
5130
|
+
readonly "zh-TW": "根據描述生成原創音樂";
|
|
5131
|
+
readonly en: "Generate original music from descriptions";
|
|
5132
|
+
readonly ja: "説明からオリジナル音楽を生成";
|
|
5133
|
+
};
|
|
4173
5134
|
};
|
|
4174
5135
|
readonly soundEffect: {
|
|
4175
5136
|
readonly id: "soundEffect";
|
|
@@ -4179,6 +5140,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4179
5140
|
readonly en: "Sound Effect";
|
|
4180
5141
|
readonly ja: "効果音生成";
|
|
4181
5142
|
};
|
|
5143
|
+
readonly description: {
|
|
5144
|
+
readonly zh: "根据描述生成音效";
|
|
5145
|
+
readonly "zh-TW": "根據描述生成音效";
|
|
5146
|
+
readonly en: "Generate sound effects from descriptions";
|
|
5147
|
+
readonly ja: "説明から効果音を生成";
|
|
5148
|
+
};
|
|
4182
5149
|
};
|
|
4183
5150
|
readonly voiceClone: {
|
|
4184
5151
|
readonly id: "voiceClone";
|
|
@@ -4188,6 +5155,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4188
5155
|
readonly en: "Voice Clone";
|
|
4189
5156
|
readonly ja: "音声クローン";
|
|
4190
5157
|
};
|
|
5158
|
+
readonly description: {
|
|
5159
|
+
readonly zh: "克隆目标声音生成自然语音";
|
|
5160
|
+
readonly "zh-TW": "克隆目標聲音生成自然語音";
|
|
5161
|
+
readonly en: "Clone a target voice to generate natural speech";
|
|
5162
|
+
readonly ja: "ターゲット音声をクローンして自然な音声を生成";
|
|
5163
|
+
};
|
|
4191
5164
|
};
|
|
4192
5165
|
readonly videoUpscale: {
|
|
4193
5166
|
readonly id: "videoUpscale";
|
|
@@ -4197,6 +5170,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4197
5170
|
readonly en: "Video Upscale";
|
|
4198
5171
|
readonly ja: "動画超解像";
|
|
4199
5172
|
};
|
|
5173
|
+
readonly description: {
|
|
5174
|
+
readonly zh: "提升视频分辨率和清晰度";
|
|
5175
|
+
readonly "zh-TW": "提升影片解析度和清晰度";
|
|
5176
|
+
readonly en: "Enhance video resolution and clarity";
|
|
5177
|
+
readonly ja: "動画の解像度と鮮明さを向上";
|
|
5178
|
+
};
|
|
4200
5179
|
};
|
|
4201
5180
|
readonly videoStabilize: {
|
|
4202
5181
|
readonly id: "videoStabilize";
|
|
@@ -4206,6 +5185,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4206
5185
|
readonly en: "Video Stabilize";
|
|
4207
5186
|
readonly ja: "動画手ぶれ補正";
|
|
4208
5187
|
};
|
|
5188
|
+
readonly description: {
|
|
5189
|
+
readonly zh: "稳定视频画面,消除抖动";
|
|
5190
|
+
readonly "zh-TW": "穩定影片畫面,消除抖動";
|
|
5191
|
+
readonly en: "Stabilize video footage and reduce shakiness";
|
|
5192
|
+
readonly ja: "動画の手ぶれを補正して安定化";
|
|
5193
|
+
};
|
|
4209
5194
|
};
|
|
4210
5195
|
readonly subtitleGenerate: {
|
|
4211
5196
|
readonly id: "subtitleGenerate";
|
|
@@ -4215,6 +5200,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4215
5200
|
readonly en: "Subtitle Generation";
|
|
4216
5201
|
readonly ja: "字幕生成";
|
|
4217
5202
|
};
|
|
5203
|
+
readonly description: {
|
|
5204
|
+
readonly zh: "自动为视频生成字幕";
|
|
5205
|
+
readonly "zh-TW": "自動為影片生成字幕";
|
|
5206
|
+
readonly en: "Automatically generate subtitles for videos";
|
|
5207
|
+
readonly ja: "動画に自動で字幕を生成";
|
|
5208
|
+
};
|
|
4218
5209
|
};
|
|
4219
5210
|
readonly threeDGenerate: {
|
|
4220
5211
|
readonly id: "threeDGenerate";
|
|
@@ -4224,6 +5215,12 @@ declare const MEDIA_FEATURES: {
|
|
|
4224
5215
|
readonly en: "3D Generation";
|
|
4225
5216
|
readonly ja: "3D 生成";
|
|
4226
5217
|
};
|
|
5218
|
+
readonly description: {
|
|
5219
|
+
readonly zh: "根据描述或图片生成 3D 模型";
|
|
5220
|
+
readonly "zh-TW": "根據描述或圖片生成 3D 模型";
|
|
5221
|
+
readonly en: "Generate 3D models from text or images";
|
|
5222
|
+
readonly ja: "テキストや画像から3Dモデルを生成";
|
|
5223
|
+
};
|
|
4227
5224
|
};
|
|
4228
5225
|
};
|
|
4229
5226
|
/** Media feature identifier type. */
|
|
@@ -4363,103 +5360,109 @@ declare const MODEL_PROVIDERS: {
|
|
|
4363
5360
|
/** Model provider identifier type. */
|
|
4364
5361
|
type ModelProviderId = keyof typeof MODEL_PROVIDERS;
|
|
4365
5362
|
|
|
4366
|
-
declare const index$
|
|
4367
|
-
declare const index$
|
|
4368
|
-
declare const index$
|
|
4369
|
-
declare const index$
|
|
4370
|
-
type index$
|
|
4371
|
-
type index$
|
|
4372
|
-
type index$
|
|
4373
|
-
type index$
|
|
4374
|
-
type index$
|
|
4375
|
-
declare const index$
|
|
4376
|
-
type index$
|
|
4377
|
-
type index$
|
|
4378
|
-
type index$
|
|
4379
|
-
type index$
|
|
4380
|
-
type index$
|
|
4381
|
-
type index$
|
|
4382
|
-
type index$
|
|
4383
|
-
type index$
|
|
4384
|
-
type index$
|
|
4385
|
-
type index$
|
|
4386
|
-
type index$
|
|
4387
|
-
type index$
|
|
4388
|
-
type index$
|
|
4389
|
-
type index$
|
|
4390
|
-
type index$
|
|
4391
|
-
type index$
|
|
4392
|
-
declare const index$
|
|
4393
|
-
declare const index$
|
|
4394
|
-
type index$
|
|
4395
|
-
type index$
|
|
4396
|
-
type index$
|
|
4397
|
-
type index$
|
|
4398
|
-
type index$
|
|
4399
|
-
type index$
|
|
4400
|
-
type index$
|
|
4401
|
-
type index$
|
|
4402
|
-
type index$
|
|
4403
|
-
type index$
|
|
4404
|
-
type index$
|
|
4405
|
-
type index$
|
|
4406
|
-
type index$
|
|
4407
|
-
type index$
|
|
4408
|
-
type index$
|
|
4409
|
-
type index$
|
|
4410
|
-
type index$
|
|
4411
|
-
type index$
|
|
4412
|
-
type index$
|
|
4413
|
-
type index$
|
|
4414
|
-
type index$
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
declare const index$
|
|
4419
|
-
declare const index$
|
|
4420
|
-
declare const index$
|
|
4421
|
-
declare const index$
|
|
4422
|
-
declare const index$
|
|
4423
|
-
declare const index$
|
|
4424
|
-
declare const index$
|
|
4425
|
-
declare const index$
|
|
4426
|
-
declare const index$
|
|
4427
|
-
declare const index$
|
|
4428
|
-
declare const index$
|
|
4429
|
-
declare const index$
|
|
4430
|
-
declare const index$
|
|
4431
|
-
declare const index$
|
|
4432
|
-
declare const index$
|
|
4433
|
-
declare const index$
|
|
4434
|
-
declare const index$
|
|
4435
|
-
declare const index$
|
|
4436
|
-
declare const index$
|
|
4437
|
-
declare const index$
|
|
4438
|
-
declare const index$
|
|
4439
|
-
declare const index$
|
|
4440
|
-
declare const index$
|
|
4441
|
-
declare const index$
|
|
4442
|
-
declare const index$
|
|
4443
|
-
declare const index$
|
|
4444
|
-
declare const index$
|
|
4445
|
-
declare const index$
|
|
4446
|
-
declare const index$
|
|
4447
|
-
declare const index$
|
|
4448
|
-
declare const index$
|
|
4449
|
-
declare const index$
|
|
4450
|
-
declare const index$
|
|
4451
|
-
declare const index$
|
|
4452
|
-
declare const index$
|
|
4453
|
-
declare const index$
|
|
4454
|
-
declare const index$
|
|
4455
|
-
declare const index$
|
|
4456
|
-
declare const index$
|
|
4457
|
-
declare const index$
|
|
4458
|
-
declare const index$
|
|
4459
|
-
declare const index$
|
|
4460
|
-
declare const index$
|
|
4461
|
-
declare
|
|
4462
|
-
|
|
5363
|
+
declare const index$8_AI_MODEL_CAPABILITY_INPUT_KEYS: typeof AI_MODEL_CAPABILITY_INPUT_KEYS;
|
|
5364
|
+
declare const index$8_AI_MODEL_CAPABILITY_OUTPUT_KEYS: typeof AI_MODEL_CAPABILITY_OUTPUT_KEYS;
|
|
5365
|
+
declare const index$8_AI_MODEL_TAGS: typeof AI_MODEL_TAGS;
|
|
5366
|
+
declare const index$8_AI_MODEL_TAG_LABELS: typeof AI_MODEL_TAG_LABELS;
|
|
5367
|
+
type index$8_AiChatCompletionsRequest = AiChatCompletionsRequest;
|
|
5368
|
+
type index$8_AiChatModel = AiChatModel;
|
|
5369
|
+
type index$8_AiChatModelsResponse = AiChatModelsResponse;
|
|
5370
|
+
type index$8_AiChatSessionMetadata = AiChatSessionMetadata;
|
|
5371
|
+
type index$8_AiClient = AiClient;
|
|
5372
|
+
declare const index$8_AiClient: typeof AiClient;
|
|
5373
|
+
type index$8_AiClientMetadata = AiClientMetadata;
|
|
5374
|
+
type index$8_AiFileUploadOptions = AiFileUploadOptions;
|
|
5375
|
+
type index$8_AiFileUploadResponse = AiFileUploadResponse;
|
|
5376
|
+
type index$8_AiModel = AiModel;
|
|
5377
|
+
type index$8_AiModelCapabilities = AiModelCapabilities;
|
|
5378
|
+
type index$8_AiModelCapabilitiesInput = AiModelCapabilitiesInput;
|
|
5379
|
+
type index$8_AiModelCapabilitiesOutput = AiModelCapabilitiesOutput;
|
|
5380
|
+
type index$8_AiModelCapabilityInputKey = AiModelCapabilityInputKey;
|
|
5381
|
+
type index$8_AiModelCapabilityOutputKey = AiModelCapabilityOutputKey;
|
|
5382
|
+
type index$8_AiModelTag = AiModelTag;
|
|
5383
|
+
type index$8_AiModelsUpdatedAtData = AiModelsUpdatedAtData;
|
|
5384
|
+
type index$8_AiModelsUpdatedAtResponse = AiModelsUpdatedAtResponse;
|
|
5385
|
+
type index$8_AiProviderTemplate = AiProviderTemplate;
|
|
5386
|
+
type index$8_AiProviderTemplateModel = AiProviderTemplateModel;
|
|
5387
|
+
type index$8_AiProviderTemplatesResponse = AiProviderTemplatesResponse;
|
|
5388
|
+
type index$8_AiResponsesRequest = AiResponsesRequest;
|
|
5389
|
+
declare const index$8_MEDIA_FEATURES: typeof MEDIA_FEATURES;
|
|
5390
|
+
declare const index$8_MODEL_PROVIDERS: typeof MODEL_PROVIDERS;
|
|
5391
|
+
type index$8_MediaFeatureId = MediaFeatureId;
|
|
5392
|
+
type index$8_ModelProviderId = ModelProviderId;
|
|
5393
|
+
type index$8_V3BasicSuccess = V3BasicSuccess;
|
|
5394
|
+
type index$8_V3CapabilitiesData = V3CapabilitiesData;
|
|
5395
|
+
type index$8_V3CapabilitiesResponse = V3CapabilitiesResponse;
|
|
5396
|
+
type index$8_V3CreditEstimate = V3CreditEstimate;
|
|
5397
|
+
type index$8_V3EstimatePriceRequest = V3EstimatePriceRequest;
|
|
5398
|
+
type index$8_V3EstimatePriceResponse = V3EstimatePriceResponse;
|
|
5399
|
+
type index$8_V3Feature = V3Feature;
|
|
5400
|
+
type index$8_V3GenerateRequest = V3GenerateRequest;
|
|
5401
|
+
type index$8_V3InputSlot = V3InputSlot;
|
|
5402
|
+
type index$8_V3ParamSchema = V3ParamSchema;
|
|
5403
|
+
type index$8_V3QueueRequest = V3QueueRequest;
|
|
5404
|
+
type index$8_V3QueueResponse = V3QueueResponse;
|
|
5405
|
+
type index$8_V3QueueTicket = V3QueueTicket;
|
|
5406
|
+
type index$8_V3TaskCreated = V3TaskCreated;
|
|
5407
|
+
type index$8_V3TaskGroupResponse = V3TaskGroupResponse;
|
|
5408
|
+
type index$8_V3TaskItem = V3TaskItem;
|
|
5409
|
+
type index$8_V3TaskResponse = V3TaskResponse;
|
|
5410
|
+
type index$8_V3TaskSSEEvent = V3TaskSSEEvent;
|
|
5411
|
+
type index$8_V3TextGenerateRequest = V3TextGenerateRequest;
|
|
5412
|
+
type index$8_V3TextGenerateResponse = V3TextGenerateResponse;
|
|
5413
|
+
type index$8_V3UploadResponse = V3UploadResponse;
|
|
5414
|
+
type index$8_V3Variant = V3Variant;
|
|
5415
|
+
declare const index$8_aiChatCompletionsRequestSchema: typeof aiChatCompletionsRequestSchema;
|
|
5416
|
+
declare const index$8_aiChatModelSchema: typeof aiChatModelSchema;
|
|
5417
|
+
declare const index$8_aiChatModelsPayloadSchema: typeof aiChatModelsPayloadSchema;
|
|
5418
|
+
declare const index$8_aiChatModelsResponseSchema: typeof aiChatModelsResponseSchema;
|
|
5419
|
+
declare const index$8_aiChatModelsSuccessSchema: typeof aiChatModelsSuccessSchema;
|
|
5420
|
+
declare const index$8_aiChatSessionMetadataSchema: typeof aiChatSessionMetadataSchema;
|
|
5421
|
+
declare const index$8_aiClientMetadataSchema: typeof aiClientMetadataSchema;
|
|
5422
|
+
declare const index$8_aiEndpoints: typeof aiEndpoints;
|
|
5423
|
+
declare const index$8_aiErrorResponseSchema: typeof aiErrorResponseSchema;
|
|
5424
|
+
declare const index$8_aiModelCapabilitiesInputSchema: typeof aiModelCapabilitiesInputSchema;
|
|
5425
|
+
declare const index$8_aiModelCapabilitiesOutputSchema: typeof aiModelCapabilitiesOutputSchema;
|
|
5426
|
+
declare const index$8_aiModelCapabilitiesSchema: typeof aiModelCapabilitiesSchema;
|
|
5427
|
+
declare const index$8_aiModelCapabilityCommonSchema: typeof aiModelCapabilityCommonSchema;
|
|
5428
|
+
declare const index$8_aiModelParameterFieldSchema: typeof aiModelParameterFieldSchema;
|
|
5429
|
+
declare const index$8_aiModelParamsSchema: typeof aiModelParamsSchema;
|
|
5430
|
+
declare const index$8_aiModelSchema: typeof aiModelSchema;
|
|
5431
|
+
declare const index$8_aiModelsRequestSchema: typeof aiModelsRequestSchema;
|
|
5432
|
+
declare const index$8_aiModelsUpdatedAtDataSchema: typeof aiModelsUpdatedAtDataSchema;
|
|
5433
|
+
declare const index$8_aiModelsUpdatedAtResponseSchema: typeof aiModelsUpdatedAtResponseSchema;
|
|
5434
|
+
declare const index$8_aiModelsUpdatedAtSuccessSchema: typeof aiModelsUpdatedAtSuccessSchema;
|
|
5435
|
+
declare const index$8_aiProviderTemplateModelSchema: typeof aiProviderTemplateModelSchema;
|
|
5436
|
+
declare const index$8_aiProviderTemplateSchema: typeof aiProviderTemplateSchema;
|
|
5437
|
+
declare const index$8_aiProviderTemplatesPayloadSchema: typeof aiProviderTemplatesPayloadSchema;
|
|
5438
|
+
declare const index$8_aiProviderTemplatesRequestSchema: typeof aiProviderTemplatesRequestSchema;
|
|
5439
|
+
declare const index$8_aiProviderTemplatesResponseSchema: typeof aiProviderTemplatesResponseSchema;
|
|
5440
|
+
declare const index$8_aiProviderTemplatesSuccessSchema: typeof aiProviderTemplatesSuccessSchema;
|
|
5441
|
+
declare const index$8_aiResponsesRequestSchema: typeof aiResponsesRequestSchema;
|
|
5442
|
+
declare const index$8_inputSlotSchema: typeof inputSlotSchema;
|
|
5443
|
+
declare const index$8_paramSchemaSchema: typeof paramSchemaSchema;
|
|
5444
|
+
declare const index$8_v3BasicSuccessSchema: typeof v3BasicSuccessSchema;
|
|
5445
|
+
declare const index$8_v3CapabilitiesDataSchema: typeof v3CapabilitiesDataSchema;
|
|
5446
|
+
declare const index$8_v3CapabilitiesResponseSchema: typeof v3CapabilitiesResponseSchema;
|
|
5447
|
+
declare const index$8_v3CreditEstimateSchema: typeof v3CreditEstimateSchema;
|
|
5448
|
+
declare const index$8_v3EstimatePriceRequestSchema: typeof v3EstimatePriceRequestSchema;
|
|
5449
|
+
declare const index$8_v3EstimatePriceResponseSchema: typeof v3EstimatePriceResponseSchema;
|
|
5450
|
+
declare const index$8_v3FeatureSchema: typeof v3FeatureSchema;
|
|
5451
|
+
declare const index$8_v3GenerateRequestSchema: typeof v3GenerateRequestSchema;
|
|
5452
|
+
declare const index$8_v3QueueRequestSchema: typeof v3QueueRequestSchema;
|
|
5453
|
+
declare const index$8_v3QueueResponseSchema: typeof v3QueueResponseSchema;
|
|
5454
|
+
declare const index$8_v3QueueTicketSchema: typeof v3QueueTicketSchema;
|
|
5455
|
+
declare const index$8_v3TaskCreatedSchema: typeof v3TaskCreatedSchema;
|
|
5456
|
+
declare const index$8_v3TaskGroupResponseSchema: typeof v3TaskGroupResponseSchema;
|
|
5457
|
+
declare const index$8_v3TaskItemSchema: typeof v3TaskItemSchema;
|
|
5458
|
+
declare const index$8_v3TaskResponseSchema: typeof v3TaskResponseSchema;
|
|
5459
|
+
declare const index$8_v3TaskSSEEventSchema: typeof v3TaskSSEEventSchema;
|
|
5460
|
+
declare const index$8_v3TextGenerateRequestSchema: typeof v3TextGenerateRequestSchema;
|
|
5461
|
+
declare const index$8_v3TextGenerateResponseSchema: typeof v3TextGenerateResponseSchema;
|
|
5462
|
+
declare const index$8_v3UploadResponseSchema: typeof v3UploadResponseSchema;
|
|
5463
|
+
declare const index$8_v3VariantSchema: typeof v3VariantSchema;
|
|
5464
|
+
declare namespace index$8 {
|
|
5465
|
+
export { index$8_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$8_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$8_AI_MODEL_TAGS as AI_MODEL_TAGS, index$8_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$8_AiChatCompletionsRequest as AiChatCompletionsRequest, type index$8_AiChatModel as AiChatModel, type index$8_AiChatModelsResponse as AiChatModelsResponse, type index$8_AiChatSessionMetadata as AiChatSessionMetadata, index$8_AiClient as AiClient, type index$8_AiClientMetadata as AiClientMetadata, type index$8_AiFileUploadOptions as AiFileUploadOptions, type index$8_AiFileUploadResponse as AiFileUploadResponse, type index$8_AiModel as AiModel, type index$8_AiModelCapabilities as AiModelCapabilities, type index$8_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$8_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$8_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$8_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$8_AiModelTag as AiModelTag, type index$8_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$8_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$8_AiProviderTemplate as AiProviderTemplate, type index$8_AiProviderTemplateModel as AiProviderTemplateModel, type index$8_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$8_AiResponsesRequest as AiResponsesRequest, index$8_MEDIA_FEATURES as MEDIA_FEATURES, index$8_MODEL_PROVIDERS as MODEL_PROVIDERS, type index$8_MediaFeatureId as MediaFeatureId, type index$8_ModelProviderId as ModelProviderId, type index$8_V3BasicSuccess as V3BasicSuccess, type index$8_V3CapabilitiesData as V3CapabilitiesData, type index$8_V3CapabilitiesResponse as V3CapabilitiesResponse, type index$8_V3CreditEstimate as V3CreditEstimate, type index$8_V3EstimatePriceRequest as V3EstimatePriceRequest, type index$8_V3EstimatePriceResponse as V3EstimatePriceResponse, type index$8_V3Feature as V3Feature, type index$8_V3GenerateRequest as V3GenerateRequest, type index$8_V3InputSlot as V3InputSlot, type index$8_V3ParamSchema as V3ParamSchema, type index$8_V3QueueRequest as V3QueueRequest, type index$8_V3QueueResponse as V3QueueResponse, type index$8_V3QueueTicket as V3QueueTicket, type index$8_V3TaskCreated as V3TaskCreated, type index$8_V3TaskGroupResponse as V3TaskGroupResponse, type index$8_V3TaskItem as V3TaskItem, type index$8_V3TaskResponse as V3TaskResponse, type index$8_V3TaskSSEEvent as V3TaskSSEEvent, type index$8_V3TextGenerateRequest as V3TextGenerateRequest, type index$8_V3TextGenerateResponse as V3TextGenerateResponse, type index$8_V3UploadResponse as V3UploadResponse, type index$8_V3Variant as V3Variant, index$8_aiChatCompletionsRequestSchema as aiChatCompletionsRequestSchema, index$8_aiChatModelSchema as aiChatModelSchema, index$8_aiChatModelsPayloadSchema as aiChatModelsPayloadSchema, index$8_aiChatModelsResponseSchema as aiChatModelsResponseSchema, index$8_aiChatModelsSuccessSchema as aiChatModelsSuccessSchema, index$8_aiChatSessionMetadataSchema as aiChatSessionMetadataSchema, index$8_aiClientMetadataSchema as aiClientMetadataSchema, index$8_aiEndpoints as aiEndpoints, index$8_aiErrorResponseSchema as aiErrorResponseSchema, index$8_aiModelCapabilitiesInputSchema as aiModelCapabilitiesInputSchema, index$8_aiModelCapabilitiesOutputSchema as aiModelCapabilitiesOutputSchema, index$8_aiModelCapabilitiesSchema as aiModelCapabilitiesSchema, index$8_aiModelCapabilityCommonSchema as aiModelCapabilityCommonSchema, index$8_aiModelParameterFieldSchema as aiModelParameterFieldSchema, index$8_aiModelParamsSchema as aiModelParamsSchema, index$8_aiModelSchema as aiModelSchema, index$8_aiModelsRequestSchema as aiModelsRequestSchema, index$8_aiModelsUpdatedAtDataSchema as aiModelsUpdatedAtDataSchema, index$8_aiModelsUpdatedAtResponseSchema as aiModelsUpdatedAtResponseSchema, index$8_aiModelsUpdatedAtSuccessSchema as aiModelsUpdatedAtSuccessSchema, index$8_aiProviderTemplateModelSchema as aiProviderTemplateModelSchema, index$8_aiProviderTemplateSchema as aiProviderTemplateSchema, index$8_aiProviderTemplatesPayloadSchema as aiProviderTemplatesPayloadSchema, index$8_aiProviderTemplatesRequestSchema as aiProviderTemplatesRequestSchema, index$8_aiProviderTemplatesResponseSchema as aiProviderTemplatesResponseSchema, index$8_aiProviderTemplatesSuccessSchema as aiProviderTemplatesSuccessSchema, index$8_aiResponsesRequestSchema as aiResponsesRequestSchema, index$8_inputSlotSchema as inputSlotSchema, index$8_paramSchemaSchema as paramSchemaSchema, index$8_v3BasicSuccessSchema as v3BasicSuccessSchema, index$8_v3CapabilitiesDataSchema as v3CapabilitiesDataSchema, index$8_v3CapabilitiesResponseSchema as v3CapabilitiesResponseSchema, index$8_v3CreditEstimateSchema as v3CreditEstimateSchema, index$8_v3EstimatePriceRequestSchema as v3EstimatePriceRequestSchema, index$8_v3EstimatePriceResponseSchema as v3EstimatePriceResponseSchema, index$8_v3FeatureSchema as v3FeatureSchema, index$8_v3GenerateRequestSchema as v3GenerateRequestSchema, index$8_v3QueueRequestSchema as v3QueueRequestSchema, index$8_v3QueueResponseSchema as v3QueueResponseSchema, index$8_v3QueueTicketSchema as v3QueueTicketSchema, index$8_v3TaskCreatedSchema as v3TaskCreatedSchema, index$8_v3TaskGroupResponseSchema as v3TaskGroupResponseSchema, index$8_v3TaskItemSchema as v3TaskItemSchema, index$8_v3TaskResponseSchema as v3TaskResponseSchema, index$8_v3TaskSSEEventSchema as v3TaskSSEEventSchema, index$8_v3TextGenerateRequestSchema as v3TextGenerateRequestSchema, index$8_v3TextGenerateResponseSchema as v3TextGenerateResponseSchema, index$8_v3UploadResponseSchema as v3UploadResponseSchema, index$8_v3VariantSchema as v3VariantSchema };
|
|
4463
5466
|
}
|
|
4464
5467
|
|
|
4465
5468
|
declare const aiToolsEndpoints: {
|
|
@@ -4619,23 +5622,23 @@ declare class AiToolsClient {
|
|
|
4619
5622
|
}>;
|
|
4620
5623
|
}
|
|
4621
5624
|
|
|
4622
|
-
type index$
|
|
4623
|
-
declare const index$
|
|
4624
|
-
type index$
|
|
4625
|
-
type index$
|
|
4626
|
-
type index$
|
|
4627
|
-
type index$
|
|
4628
|
-
type index$
|
|
4629
|
-
type index$
|
|
4630
|
-
declare const index$
|
|
4631
|
-
declare const index$
|
|
4632
|
-
declare const index$
|
|
4633
|
-
declare const index$
|
|
4634
|
-
declare const index$
|
|
4635
|
-
declare const index$
|
|
4636
|
-
declare const index$
|
|
4637
|
-
declare namespace index$
|
|
4638
|
-
export { index$
|
|
5625
|
+
type index$7_AiToolsClient = AiToolsClient;
|
|
5626
|
+
declare const index$7_AiToolsClient: typeof AiToolsClient;
|
|
5627
|
+
type index$7_AnalyzeSkillsRequest = AnalyzeSkillsRequest;
|
|
5628
|
+
type index$7_AnalyzeSkillsResponse = AnalyzeSkillsResponse;
|
|
5629
|
+
type index$7_RecommendActionsRequest = RecommendActionsRequest;
|
|
5630
|
+
type index$7_RecommendActionsResponse = RecommendActionsResponse;
|
|
5631
|
+
type index$7_SummarizeRequest = SummarizeRequest;
|
|
5632
|
+
type index$7_SummarizeResponse = SummarizeResponse;
|
|
5633
|
+
declare const index$7_aiToolsEndpoints: typeof aiToolsEndpoints;
|
|
5634
|
+
declare const index$7_analyzeSkillsRequestSchema: typeof analyzeSkillsRequestSchema;
|
|
5635
|
+
declare const index$7_analyzeSkillsResponseSchema: typeof analyzeSkillsResponseSchema;
|
|
5636
|
+
declare const index$7_recommendActionsRequestSchema: typeof recommendActionsRequestSchema;
|
|
5637
|
+
declare const index$7_recommendActionsResponseSchema: typeof recommendActionsResponseSchema;
|
|
5638
|
+
declare const index$7_summarizeRequestSchema: typeof summarizeRequestSchema;
|
|
5639
|
+
declare const index$7_summarizeResponseSchema: typeof summarizeResponseSchema;
|
|
5640
|
+
declare namespace index$7 {
|
|
5641
|
+
export { index$7_AiToolsClient as AiToolsClient, type index$7_AnalyzeSkillsRequest as AnalyzeSkillsRequest, type index$7_AnalyzeSkillsResponse as AnalyzeSkillsResponse, type index$7_RecommendActionsRequest as RecommendActionsRequest, type index$7_RecommendActionsResponse as RecommendActionsResponse, type index$7_SummarizeRequest as SummarizeRequest, type index$7_SummarizeResponse as SummarizeResponse, index$7_aiToolsEndpoints as aiToolsEndpoints, index$7_analyzeSkillsRequestSchema as analyzeSkillsRequestSchema, index$7_analyzeSkillsResponseSchema as analyzeSkillsResponseSchema, index$7_recommendActionsRequestSchema as recommendActionsRequestSchema, index$7_recommendActionsResponseSchema as recommendActionsResponseSchema, index$7_summarizeRequestSchema as summarizeRequestSchema, index$7_summarizeResponseSchema as summarizeResponseSchema };
|
|
4639
5642
|
}
|
|
4640
5643
|
|
|
4641
5644
|
declare const authEndpoints: {
|
|
@@ -4648,6 +5651,7 @@ declare const authEndpoints: {
|
|
|
4648
5651
|
name?: string | undefined;
|
|
4649
5652
|
email?: string | undefined;
|
|
4650
5653
|
avatarUrl?: string | undefined;
|
|
5654
|
+
isAdmin?: boolean | undefined;
|
|
4651
5655
|
};
|
|
4652
5656
|
}>;
|
|
4653
5657
|
readonly refresh: Endpoint<{
|
|
@@ -4659,6 +5663,7 @@ declare const authEndpoints: {
|
|
|
4659
5663
|
name?: string | undefined;
|
|
4660
5664
|
email?: string | undefined;
|
|
4661
5665
|
avatarUrl?: string | undefined;
|
|
5666
|
+
isAdmin?: boolean | undefined;
|
|
4662
5667
|
};
|
|
4663
5668
|
} | {
|
|
4664
5669
|
message: string;
|
|
@@ -4686,6 +5691,7 @@ declare class AuthClient {
|
|
|
4686
5691
|
name?: string | undefined;
|
|
4687
5692
|
email?: string | undefined;
|
|
4688
5693
|
avatarUrl?: string | undefined;
|
|
5694
|
+
isAdmin?: boolean | undefined;
|
|
4689
5695
|
};
|
|
4690
5696
|
}>;
|
|
4691
5697
|
/** Refresh access token with refresh token. */
|
|
@@ -4696,6 +5702,7 @@ declare class AuthClient {
|
|
|
4696
5702
|
name?: string | undefined;
|
|
4697
5703
|
email?: string | undefined;
|
|
4698
5704
|
avatarUrl?: string | undefined;
|
|
5705
|
+
isAdmin?: boolean | undefined;
|
|
4699
5706
|
};
|
|
4700
5707
|
} | {
|
|
4701
5708
|
message: string;
|
|
@@ -4716,6 +5723,7 @@ declare const authRefreshUserSchema: z.ZodObject<{
|
|
|
4716
5723
|
name: z.ZodOptional<z.ZodString>;
|
|
4717
5724
|
email: z.ZodOptional<z.ZodString>;
|
|
4718
5725
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5726
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
4719
5727
|
}, z.core.$strip>;
|
|
4720
5728
|
declare const authRefreshSuccessSchema: z.ZodObject<{
|
|
4721
5729
|
accessToken: z.ZodString;
|
|
@@ -4724,6 +5732,7 @@ declare const authRefreshSuccessSchema: z.ZodObject<{
|
|
|
4724
5732
|
name: z.ZodOptional<z.ZodString>;
|
|
4725
5733
|
email: z.ZodOptional<z.ZodString>;
|
|
4726
5734
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5735
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
4727
5736
|
}, z.core.$strip>;
|
|
4728
5737
|
}, z.core.$strip>;
|
|
4729
5738
|
declare const authRefreshErrorSchema: z.ZodObject<{
|
|
@@ -4736,6 +5745,7 @@ declare const authExchangeResponseSchema: z.ZodObject<{
|
|
|
4736
5745
|
name: z.ZodOptional<z.ZodString>;
|
|
4737
5746
|
email: z.ZodOptional<z.ZodString>;
|
|
4738
5747
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5748
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
4739
5749
|
}, z.core.$strip>;
|
|
4740
5750
|
}, z.core.$strip>;
|
|
4741
5751
|
declare const authLogoutRequestSchema: z.ZodObject<{
|
|
@@ -4751,6 +5761,7 @@ declare const authRefreshResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
4751
5761
|
name: z.ZodOptional<z.ZodString>;
|
|
4752
5762
|
email: z.ZodOptional<z.ZodString>;
|
|
4753
5763
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
5764
|
+
isAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
4754
5765
|
}, z.core.$strip>;
|
|
4755
5766
|
}, z.core.$strip>, z.ZodObject<{
|
|
4756
5767
|
message: z.ZodString;
|
|
@@ -4764,28 +5775,28 @@ type AuthExchangeResponse = z.infer<typeof authExchangeResponseSchema>;
|
|
|
4764
5775
|
type AuthLogoutRequest = z.infer<typeof authLogoutRequestSchema>;
|
|
4765
5776
|
type AuthLogoutResponse = z.infer<typeof authLogoutResponseSchema>;
|
|
4766
5777
|
|
|
4767
|
-
type index$
|
|
4768
|
-
declare const index$
|
|
4769
|
-
type index$
|
|
4770
|
-
type index$
|
|
4771
|
-
type index$
|
|
4772
|
-
type index$
|
|
4773
|
-
type index$
|
|
4774
|
-
type index$
|
|
4775
|
-
type index$
|
|
4776
|
-
type index$
|
|
4777
|
-
declare const index$
|
|
4778
|
-
declare const index$
|
|
4779
|
-
declare const index$
|
|
4780
|
-
declare const index$
|
|
4781
|
-
declare const index$
|
|
4782
|
-
declare const index$
|
|
4783
|
-
declare const index$
|
|
4784
|
-
declare const index$
|
|
4785
|
-
declare const index$
|
|
4786
|
-
declare const index$
|
|
4787
|
-
declare namespace index$
|
|
4788
|
-
export { index$
|
|
5778
|
+
type index$6_AuthClient = AuthClient;
|
|
5779
|
+
declare const index$6_AuthClient: typeof AuthClient;
|
|
5780
|
+
type index$6_AuthExchangeRequest = AuthExchangeRequest;
|
|
5781
|
+
type index$6_AuthExchangeResponse = AuthExchangeResponse;
|
|
5782
|
+
type index$6_AuthLogoutRequest = AuthLogoutRequest;
|
|
5783
|
+
type index$6_AuthLogoutResponse = AuthLogoutResponse;
|
|
5784
|
+
type index$6_AuthRefreshError = AuthRefreshError;
|
|
5785
|
+
type index$6_AuthRefreshRequest = AuthRefreshRequest;
|
|
5786
|
+
type index$6_AuthRefreshResponse = AuthRefreshResponse;
|
|
5787
|
+
type index$6_AuthRefreshSuccess = AuthRefreshSuccess;
|
|
5788
|
+
declare const index$6_authEndpoints: typeof authEndpoints;
|
|
5789
|
+
declare const index$6_authExchangeRequestSchema: typeof authExchangeRequestSchema;
|
|
5790
|
+
declare const index$6_authExchangeResponseSchema: typeof authExchangeResponseSchema;
|
|
5791
|
+
declare const index$6_authLogoutRequestSchema: typeof authLogoutRequestSchema;
|
|
5792
|
+
declare const index$6_authLogoutResponseSchema: typeof authLogoutResponseSchema;
|
|
5793
|
+
declare const index$6_authRefreshErrorSchema: typeof authRefreshErrorSchema;
|
|
5794
|
+
declare const index$6_authRefreshRequestSchema: typeof authRefreshRequestSchema;
|
|
5795
|
+
declare const index$6_authRefreshResponseSchema: typeof authRefreshResponseSchema;
|
|
5796
|
+
declare const index$6_authRefreshSuccessSchema: typeof authRefreshSuccessSchema;
|
|
5797
|
+
declare const index$6_authRefreshUserSchema: typeof authRefreshUserSchema;
|
|
5798
|
+
declare namespace index$6 {
|
|
5799
|
+
export { index$6_AuthClient as AuthClient, type index$6_AuthExchangeRequest as AuthExchangeRequest, type index$6_AuthExchangeResponse as AuthExchangeResponse, type index$6_AuthLogoutRequest as AuthLogoutRequest, type index$6_AuthLogoutResponse as AuthLogoutResponse, type index$6_AuthRefreshError as AuthRefreshError, type index$6_AuthRefreshRequest as AuthRefreshRequest, type index$6_AuthRefreshResponse as AuthRefreshResponse, type index$6_AuthRefreshSuccess as AuthRefreshSuccess, index$6_authEndpoints as authEndpoints, index$6_authExchangeRequestSchema as authExchangeRequestSchema, index$6_authExchangeResponseSchema as authExchangeResponseSchema, index$6_authLogoutRequestSchema as authLogoutRequestSchema, index$6_authLogoutResponseSchema as authLogoutResponseSchema, index$6_authRefreshErrorSchema as authRefreshErrorSchema, index$6_authRefreshRequestSchema as authRefreshRequestSchema, index$6_authRefreshResponseSchema as authRefreshResponseSchema, index$6_authRefreshSuccessSchema as authRefreshSuccessSchema, index$6_authRefreshUserSchema as authRefreshUserSchema };
|
|
4789
5800
|
}
|
|
4790
5801
|
|
|
4791
5802
|
declare const auxiliaryEndpoints: {
|
|
@@ -4908,18 +5919,18 @@ declare class AuxiliaryClient {
|
|
|
4908
5919
|
}>;
|
|
4909
5920
|
}
|
|
4910
5921
|
|
|
4911
|
-
type index$
|
|
4912
|
-
declare const index$
|
|
4913
|
-
type index$
|
|
4914
|
-
type index$
|
|
4915
|
-
type index$
|
|
4916
|
-
type index$
|
|
4917
|
-
declare const index$
|
|
4918
|
-
declare const index$
|
|
4919
|
-
declare const index$
|
|
4920
|
-
declare const index$
|
|
4921
|
-
declare namespace index$
|
|
4922
|
-
export { index$
|
|
5922
|
+
type index$5_AuxiliaryClient = AuxiliaryClient;
|
|
5923
|
+
declare const index$5_AuxiliaryClient: typeof AuxiliaryClient;
|
|
5924
|
+
type index$5_AuxiliaryInferRequest = AuxiliaryInferRequest;
|
|
5925
|
+
type index$5_AuxiliaryInferResponse = AuxiliaryInferResponse;
|
|
5926
|
+
type index$5_AuxiliaryQuota = AuxiliaryQuota;
|
|
5927
|
+
type index$5_AuxiliaryQuotaResponse = AuxiliaryQuotaResponse;
|
|
5928
|
+
declare const index$5_auxiliaryEndpoints: typeof auxiliaryEndpoints;
|
|
5929
|
+
declare const index$5_auxiliaryInferRequestSchema: typeof auxiliaryInferRequestSchema;
|
|
5930
|
+
declare const index$5_auxiliaryInferResponseSchema: typeof auxiliaryInferResponseSchema;
|
|
5931
|
+
declare const index$5_auxiliaryQuotaResponseSchema: typeof auxiliaryQuotaResponseSchema;
|
|
5932
|
+
declare namespace index$5 {
|
|
5933
|
+
export { index$5_AuxiliaryClient as AuxiliaryClient, type index$5_AuxiliaryInferRequest as AuxiliaryInferRequest, type index$5_AuxiliaryInferResponse as AuxiliaryInferResponse, type index$5_AuxiliaryQuota as AuxiliaryQuota, type index$5_AuxiliaryQuotaResponse as AuxiliaryQuotaResponse, index$5_auxiliaryEndpoints as auxiliaryEndpoints, index$5_auxiliaryInferRequestSchema as auxiliaryInferRequestSchema, index$5_auxiliaryInferResponseSchema as auxiliaryInferResponseSchema, index$5_auxiliaryQuotaResponseSchema as auxiliaryQuotaResponseSchema };
|
|
4923
5934
|
}
|
|
4924
5935
|
|
|
4925
5936
|
/** Feedback API endpoints. */
|
|
@@ -5266,37 +6277,37 @@ declare class FeedbackClient {
|
|
|
5266
6277
|
detail(feedbackId: string): Promise<FeedbackDetailResponse>;
|
|
5267
6278
|
}
|
|
5268
6279
|
|
|
5269
|
-
type index$
|
|
5270
|
-
type index$
|
|
5271
|
-
declare const index$
|
|
5272
|
-
type index$
|
|
5273
|
-
type index$
|
|
5274
|
-
type index$
|
|
5275
|
-
type index$
|
|
5276
|
-
type index$
|
|
5277
|
-
type index$
|
|
5278
|
-
type index$
|
|
5279
|
-
type index$
|
|
5280
|
-
type index$
|
|
5281
|
-
type index$
|
|
5282
|
-
type index$
|
|
5283
|
-
type index$
|
|
5284
|
-
declare const index$
|
|
5285
|
-
declare const index$
|
|
5286
|
-
declare const index$
|
|
5287
|
-
declare const index$
|
|
5288
|
-
declare const index$
|
|
5289
|
-
declare const index$
|
|
5290
|
-
declare const index$
|
|
5291
|
-
declare const index$
|
|
5292
|
-
declare const index$
|
|
5293
|
-
declare const index$
|
|
5294
|
-
declare const index$
|
|
5295
|
-
declare const index$
|
|
5296
|
-
declare const index$
|
|
5297
|
-
declare const index$
|
|
5298
|
-
declare namespace index$
|
|
5299
|
-
export { type index$
|
|
6280
|
+
type index$4_FeedbackAttachmentResponse = FeedbackAttachmentResponse;
|
|
6281
|
+
type index$4_FeedbackClient = FeedbackClient;
|
|
6282
|
+
declare const index$4_FeedbackClient: typeof FeedbackClient;
|
|
6283
|
+
type index$4_FeedbackDetailPayload = FeedbackDetailPayload;
|
|
6284
|
+
type index$4_FeedbackDetailRequest = FeedbackDetailRequest;
|
|
6285
|
+
type index$4_FeedbackDetailResponse = FeedbackDetailResponse;
|
|
6286
|
+
type index$4_FeedbackListPayload = FeedbackListPayload;
|
|
6287
|
+
type index$4_FeedbackListRequest = FeedbackListRequest;
|
|
6288
|
+
type index$4_FeedbackListResponse = FeedbackListResponse;
|
|
6289
|
+
type index$4_FeedbackSaasStatus = FeedbackSaasStatus;
|
|
6290
|
+
type index$4_FeedbackSource = FeedbackSource;
|
|
6291
|
+
type index$4_FeedbackSubmitError = FeedbackSubmitError;
|
|
6292
|
+
type index$4_FeedbackSubmitRequest = FeedbackSubmitRequest;
|
|
6293
|
+
type index$4_FeedbackSubmitResponse = FeedbackSubmitResponse;
|
|
6294
|
+
type index$4_FeedbackType = FeedbackType;
|
|
6295
|
+
declare const index$4_feedbackDetailPayloadSchema: typeof feedbackDetailPayloadSchema;
|
|
6296
|
+
declare const index$4_feedbackDetailRequestSchema: typeof feedbackDetailRequestSchema;
|
|
6297
|
+
declare const index$4_feedbackDetailResponseSchema: typeof feedbackDetailResponseSchema;
|
|
6298
|
+
declare const index$4_feedbackEndpoints: typeof feedbackEndpoints;
|
|
6299
|
+
declare const index$4_feedbackItemSchema: typeof feedbackItemSchema;
|
|
6300
|
+
declare const index$4_feedbackListPayloadSchema: typeof feedbackListPayloadSchema;
|
|
6301
|
+
declare const index$4_feedbackListRequestSchema: typeof feedbackListRequestSchema;
|
|
6302
|
+
declare const index$4_feedbackListResponseSchema: typeof feedbackListResponseSchema;
|
|
6303
|
+
declare const index$4_feedbackSaasStatusSchema: typeof feedbackSaasStatusSchema;
|
|
6304
|
+
declare const index$4_feedbackSourceSchema: typeof feedbackSourceSchema;
|
|
6305
|
+
declare const index$4_feedbackSubmitErrorSchema: typeof feedbackSubmitErrorSchema;
|
|
6306
|
+
declare const index$4_feedbackSubmitRequestSchema: typeof feedbackSubmitRequestSchema;
|
|
6307
|
+
declare const index$4_feedbackSubmitResponseSchema: typeof feedbackSubmitResponseSchema;
|
|
6308
|
+
declare const index$4_feedbackTypeSchema: typeof feedbackTypeSchema;
|
|
6309
|
+
declare namespace index$4 {
|
|
6310
|
+
export { type index$4_FeedbackAttachmentResponse as FeedbackAttachmentResponse, index$4_FeedbackClient as FeedbackClient, type index$4_FeedbackDetailPayload as FeedbackDetailPayload, type index$4_FeedbackDetailRequest as FeedbackDetailRequest, type index$4_FeedbackDetailResponse as FeedbackDetailResponse, type index$4_FeedbackListPayload as FeedbackListPayload, type index$4_FeedbackListRequest as FeedbackListRequest, type index$4_FeedbackListResponse as FeedbackListResponse, type index$4_FeedbackSaasStatus as FeedbackSaasStatus, type index$4_FeedbackSource as FeedbackSource, type index$4_FeedbackSubmitError as FeedbackSubmitError, type index$4_FeedbackSubmitRequest as FeedbackSubmitRequest, type index$4_FeedbackSubmitResponse as FeedbackSubmitResponse, type index$4_FeedbackType as FeedbackType, index$4_feedbackDetailPayloadSchema as feedbackDetailPayloadSchema, index$4_feedbackDetailRequestSchema as feedbackDetailRequestSchema, index$4_feedbackDetailResponseSchema as feedbackDetailResponseSchema, index$4_feedbackEndpoints as feedbackEndpoints, index$4_feedbackItemSchema as feedbackItemSchema, index$4_feedbackListPayloadSchema as feedbackListPayloadSchema, index$4_feedbackListRequestSchema as feedbackListRequestSchema, index$4_feedbackListResponseSchema as feedbackListResponseSchema, index$4_feedbackSaasStatusSchema as feedbackSaasStatusSchema, index$4_feedbackSourceSchema as feedbackSourceSchema, index$4_feedbackSubmitErrorSchema as feedbackSubmitErrorSchema, index$4_feedbackSubmitRequestSchema as feedbackSubmitRequestSchema, index$4_feedbackSubmitResponseSchema as feedbackSubmitResponseSchema, index$4_feedbackTypeSchema as feedbackTypeSchema };
|
|
5300
6311
|
}
|
|
5301
6312
|
|
|
5302
6313
|
/** Payment API endpoints. */
|
|
@@ -5559,37 +6570,216 @@ type RefundRequest = z.infer<typeof refundRequestSchema>;
|
|
|
5559
6570
|
/** Response type for requesting a refund. */
|
|
5560
6571
|
type RefundResponse = z.infer<typeof refundResponseSchema>;
|
|
5561
6572
|
|
|
5562
|
-
type index$
|
|
5563
|
-
type index$
|
|
5564
|
-
type index$
|
|
5565
|
-
type index$
|
|
5566
|
-
type index$
|
|
5567
|
-
type index$
|
|
5568
|
-
declare const index$
|
|
5569
|
-
type index$
|
|
5570
|
-
type index$
|
|
5571
|
-
type index$
|
|
5572
|
-
type index$
|
|
5573
|
-
type index$
|
|
5574
|
-
type index$
|
|
5575
|
-
type index$
|
|
5576
|
-
type index$
|
|
5577
|
-
declare const index$
|
|
5578
|
-
declare const index$
|
|
5579
|
-
declare const index$
|
|
5580
|
-
declare const index$
|
|
5581
|
-
declare const index$
|
|
5582
|
-
declare const index$
|
|
5583
|
-
declare const index$
|
|
5584
|
-
declare const index$
|
|
5585
|
-
declare const index$
|
|
5586
|
-
declare const index$
|
|
5587
|
-
declare const index$
|
|
5588
|
-
declare const index$
|
|
5589
|
-
declare const index$
|
|
5590
|
-
declare const index$
|
|
6573
|
+
type index$3_CreateEmbedOptions = CreateEmbedOptions;
|
|
6574
|
+
type index$3_EmbedEventMap = EmbedEventMap;
|
|
6575
|
+
type index$3_EmbedInstance = EmbedInstance;
|
|
6576
|
+
type index$3_OrderStatusRequest = OrderStatusRequest;
|
|
6577
|
+
type index$3_OrderStatusResponse = OrderStatusResponse;
|
|
6578
|
+
type index$3_PaymentClient = PaymentClient;
|
|
6579
|
+
declare const index$3_PaymentClient: typeof PaymentClient;
|
|
6580
|
+
type index$3_RechargeRequest = RechargeRequest;
|
|
6581
|
+
type index$3_RechargeResponse = RechargeResponse;
|
|
6582
|
+
type index$3_RefundRequest = RefundRequest;
|
|
6583
|
+
type index$3_RefundResponse = RefundResponse;
|
|
6584
|
+
type index$3_SubscribeRequest = SubscribeRequest;
|
|
6585
|
+
type index$3_SubscribeResponse = SubscribeResponse;
|
|
6586
|
+
type index$3_UpgradeRequest = UpgradeRequest;
|
|
6587
|
+
type index$3_UpgradeResponse = UpgradeResponse;
|
|
6588
|
+
declare const index$3_createEmbed: typeof createEmbed;
|
|
6589
|
+
declare const index$3_createPricingEmbed: typeof createPricingEmbed;
|
|
6590
|
+
declare const index$3_createRechargeEmbed: typeof createRechargeEmbed;
|
|
6591
|
+
declare const index$3_orderStatusRequestSchema: typeof orderStatusRequestSchema;
|
|
6592
|
+
declare const index$3_orderStatusResponseSchema: typeof orderStatusResponseSchema;
|
|
6593
|
+
declare const index$3_paymentEndpoints: typeof paymentEndpoints;
|
|
6594
|
+
declare const index$3_rechargeRequestSchema: typeof rechargeRequestSchema;
|
|
6595
|
+
declare const index$3_rechargeResponseSchema: typeof rechargeResponseSchema;
|
|
6596
|
+
declare const index$3_refundRequestSchema: typeof refundRequestSchema;
|
|
6597
|
+
declare const index$3_refundResponseSchema: typeof refundResponseSchema;
|
|
6598
|
+
declare const index$3_subscribeRequestSchema: typeof subscribeRequestSchema;
|
|
6599
|
+
declare const index$3_subscribeResponseSchema: typeof subscribeResponseSchema;
|
|
6600
|
+
declare const index$3_upgradeRequestSchema: typeof upgradeRequestSchema;
|
|
6601
|
+
declare const index$3_upgradeResponseSchema: typeof upgradeResponseSchema;
|
|
6602
|
+
declare namespace index$3 {
|
|
6603
|
+
export { type index$3_CreateEmbedOptions as CreateEmbedOptions, type index$3_EmbedEventMap as EmbedEventMap, type index$3_EmbedInstance as EmbedInstance, type index$3_OrderStatusRequest as OrderStatusRequest, type index$3_OrderStatusResponse as OrderStatusResponse, index$3_PaymentClient as PaymentClient, type index$3_RechargeRequest as RechargeRequest, type index$3_RechargeResponse as RechargeResponse, type index$3_RefundRequest as RefundRequest, type index$3_RefundResponse as RefundResponse, type index$3_SubscribeRequest as SubscribeRequest, type index$3_SubscribeResponse as SubscribeResponse, type index$3_UpgradeRequest as UpgradeRequest, type index$3_UpgradeResponse as UpgradeResponse, index$3_createEmbed as createEmbed, index$3_createPricingEmbed as createPricingEmbed, index$3_createRechargeEmbed as createRechargeEmbed, index$3_orderStatusRequestSchema as orderStatusRequestSchema, index$3_orderStatusResponseSchema as orderStatusResponseSchema, index$3_paymentEndpoints as paymentEndpoints, index$3_rechargeRequestSchema as rechargeRequestSchema, index$3_rechargeResponseSchema as rechargeResponseSchema, index$3_refundRequestSchema as refundRequestSchema, index$3_refundResponseSchema as refundResponseSchema, index$3_subscribeRequestSchema as subscribeRequestSchema, index$3_subscribeResponseSchema as subscribeResponseSchema, index$3_upgradeRequestSchema as upgradeRequestSchema, index$3_upgradeResponseSchema as upgradeResponseSchema };
|
|
6604
|
+
}
|
|
6605
|
+
|
|
6606
|
+
/** Redeem code API endpoints. */
|
|
6607
|
+
declare const redeemCodeEndpoints: {
|
|
6608
|
+
/** Redeem one code for current user. */
|
|
6609
|
+
readonly redeem: Endpoint<{
|
|
6610
|
+
code: string;
|
|
6611
|
+
}, {
|
|
6612
|
+
id: string;
|
|
6613
|
+
code: string;
|
|
6614
|
+
title: string;
|
|
6615
|
+
creditsAmount: number;
|
|
6616
|
+
grantMembershipLevel: "lite" | "pro" | "premium" | null;
|
|
6617
|
+
grantMembershipDays: number | null;
|
|
6618
|
+
membershipLevelAfterRedeem: "lite" | "pro" | "premium" | "free";
|
|
6619
|
+
membershipStartAt: string | null;
|
|
6620
|
+
membershipEndAt: string | null;
|
|
6621
|
+
newBalance: number;
|
|
6622
|
+
createdAt: string;
|
|
6623
|
+
}>;
|
|
6624
|
+
/** List current user redemption records. */
|
|
6625
|
+
readonly records: Endpoint<{
|
|
6626
|
+
page: number;
|
|
6627
|
+
pageSize: number;
|
|
6628
|
+
}, {
|
|
6629
|
+
items: {
|
|
6630
|
+
id: string;
|
|
6631
|
+
creditsAmount: number;
|
|
6632
|
+
grantMembershipLevel: "lite" | "pro" | "premium" | null;
|
|
6633
|
+
grantMembershipDays: number | null;
|
|
6634
|
+
membershipStartAt: string | null;
|
|
6635
|
+
membershipEndAt: string | null;
|
|
6636
|
+
createdAt: string;
|
|
6637
|
+
redeemCode: {
|
|
6638
|
+
id: string;
|
|
6639
|
+
code: string;
|
|
6640
|
+
title: string;
|
|
6641
|
+
};
|
|
6642
|
+
}[];
|
|
6643
|
+
total: number;
|
|
6644
|
+
page: number;
|
|
6645
|
+
pageSize: number;
|
|
6646
|
+
pageCount: number;
|
|
6647
|
+
}>;
|
|
6648
|
+
};
|
|
6649
|
+
|
|
6650
|
+
/** Redeem code membership level schema. */
|
|
6651
|
+
declare const redeemCodeMembershipLevelSchema: z.ZodEnum<{
|
|
6652
|
+
lite: "lite";
|
|
6653
|
+
pro: "pro";
|
|
6654
|
+
premium: "premium";
|
|
6655
|
+
}>;
|
|
6656
|
+
/** Redeem code summary schema. */
|
|
6657
|
+
declare const redeemCodeSummarySchema: z.ZodObject<{
|
|
6658
|
+
id: z.ZodString;
|
|
6659
|
+
code: z.ZodString;
|
|
6660
|
+
title: z.ZodString;
|
|
6661
|
+
}, z.core.$strip>;
|
|
6662
|
+
/** Request schema for redeeming one code. */
|
|
6663
|
+
declare const redeemCodeRedeemRequestSchema: z.ZodObject<{
|
|
6664
|
+
code: z.ZodString;
|
|
6665
|
+
}, z.core.$strip>;
|
|
6666
|
+
/** Response schema for redeeming one code. */
|
|
6667
|
+
declare const redeemCodeRedeemResponseSchema: z.ZodObject<{
|
|
6668
|
+
id: z.ZodString;
|
|
6669
|
+
code: z.ZodString;
|
|
6670
|
+
title: z.ZodString;
|
|
6671
|
+
creditsAmount: z.ZodNumber;
|
|
6672
|
+
grantMembershipLevel: z.ZodNullable<z.ZodEnum<{
|
|
6673
|
+
lite: "lite";
|
|
6674
|
+
pro: "pro";
|
|
6675
|
+
premium: "premium";
|
|
6676
|
+
}>>;
|
|
6677
|
+
grantMembershipDays: z.ZodNullable<z.ZodNumber>;
|
|
6678
|
+
membershipLevelAfterRedeem: z.ZodEnum<{
|
|
6679
|
+
lite: "lite";
|
|
6680
|
+
pro: "pro";
|
|
6681
|
+
premium: "premium";
|
|
6682
|
+
free: "free";
|
|
6683
|
+
}>;
|
|
6684
|
+
membershipStartAt: z.ZodNullable<z.ZodString>;
|
|
6685
|
+
membershipEndAt: z.ZodNullable<z.ZodString>;
|
|
6686
|
+
newBalance: z.ZodNumber;
|
|
6687
|
+
createdAt: z.ZodString;
|
|
6688
|
+
}, z.core.$strip>;
|
|
6689
|
+
/** Request schema for listing current member redemption records. */
|
|
6690
|
+
declare const redeemCodeRecordsRequestSchema: z.ZodObject<{
|
|
6691
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
6692
|
+
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
6693
|
+
}, z.core.$strip>;
|
|
6694
|
+
/** One redemption record item schema. */
|
|
6695
|
+
declare const redeemCodeRecordItemSchema: z.ZodObject<{
|
|
6696
|
+
id: z.ZodString;
|
|
6697
|
+
creditsAmount: z.ZodNumber;
|
|
6698
|
+
grantMembershipLevel: z.ZodNullable<z.ZodEnum<{
|
|
6699
|
+
lite: "lite";
|
|
6700
|
+
pro: "pro";
|
|
6701
|
+
premium: "premium";
|
|
6702
|
+
}>>;
|
|
6703
|
+
grantMembershipDays: z.ZodNullable<z.ZodNumber>;
|
|
6704
|
+
membershipStartAt: z.ZodNullable<z.ZodString>;
|
|
6705
|
+
membershipEndAt: z.ZodNullable<z.ZodString>;
|
|
6706
|
+
createdAt: z.ZodString;
|
|
6707
|
+
redeemCode: z.ZodObject<{
|
|
6708
|
+
id: z.ZodString;
|
|
6709
|
+
code: z.ZodString;
|
|
6710
|
+
title: z.ZodString;
|
|
6711
|
+
}, z.core.$strip>;
|
|
6712
|
+
}, z.core.$strip>;
|
|
6713
|
+
/** Response schema for listing current member redemption records. */
|
|
6714
|
+
declare const redeemCodeRecordsResponseSchema: z.ZodObject<{
|
|
6715
|
+
items: z.ZodArray<z.ZodObject<{
|
|
6716
|
+
id: z.ZodString;
|
|
6717
|
+
creditsAmount: z.ZodNumber;
|
|
6718
|
+
grantMembershipLevel: z.ZodNullable<z.ZodEnum<{
|
|
6719
|
+
lite: "lite";
|
|
6720
|
+
pro: "pro";
|
|
6721
|
+
premium: "premium";
|
|
6722
|
+
}>>;
|
|
6723
|
+
grantMembershipDays: z.ZodNullable<z.ZodNumber>;
|
|
6724
|
+
membershipStartAt: z.ZodNullable<z.ZodString>;
|
|
6725
|
+
membershipEndAt: z.ZodNullable<z.ZodString>;
|
|
6726
|
+
createdAt: z.ZodString;
|
|
6727
|
+
redeemCode: z.ZodObject<{
|
|
6728
|
+
id: z.ZodString;
|
|
6729
|
+
code: z.ZodString;
|
|
6730
|
+
title: z.ZodString;
|
|
6731
|
+
}, z.core.$strip>;
|
|
6732
|
+
}, z.core.$strip>>;
|
|
6733
|
+
total: z.ZodNumber;
|
|
6734
|
+
page: z.ZodNumber;
|
|
6735
|
+
pageSize: z.ZodNumber;
|
|
6736
|
+
pageCount: z.ZodNumber;
|
|
6737
|
+
}, z.core.$strip>;
|
|
6738
|
+
/** Redeem code summary type. */
|
|
6739
|
+
type RedeemCodeSummary = z.infer<typeof redeemCodeSummarySchema>;
|
|
6740
|
+
/** Redeem request type. */
|
|
6741
|
+
type RedeemCodeRedeemRequest = z.infer<typeof redeemCodeRedeemRequestSchema>;
|
|
6742
|
+
/** Redeem response type. */
|
|
6743
|
+
type RedeemCodeRedeemResponse = z.infer<typeof redeemCodeRedeemResponseSchema>;
|
|
6744
|
+
/** Records request type. */
|
|
6745
|
+
type RedeemCodeRecordsRequest = z.infer<typeof redeemCodeRecordsRequestSchema>;
|
|
6746
|
+
/** One redemption record item type. */
|
|
6747
|
+
type RedeemCodeRecordItem = z.infer<typeof redeemCodeRecordItemSchema>;
|
|
6748
|
+
/** Records response type. */
|
|
6749
|
+
type RedeemCodeRecordsResponse = z.infer<typeof redeemCodeRecordsResponseSchema>;
|
|
6750
|
+
|
|
6751
|
+
type RedeemCodeSdkHost = SdkHost<{
|
|
6752
|
+
redeemCode: typeof redeemCodeEndpoints;
|
|
6753
|
+
}>;
|
|
6754
|
+
declare class RedeemCodeClient {
|
|
6755
|
+
/** SDK host used for redeem code requests. */
|
|
6756
|
+
private readonly sdk;
|
|
6757
|
+
/** Create redeem code client. */
|
|
6758
|
+
constructor(sdk: RedeemCodeSdkHost);
|
|
6759
|
+
/** Redeem one code for current user. */
|
|
6760
|
+
redeem(payload: RedeemCodeRedeemRequest): Promise<RedeemCodeRedeemResponse>;
|
|
6761
|
+
/** List redemption records for current user. */
|
|
6762
|
+
records(payload?: RedeemCodeRecordsRequest): Promise<RedeemCodeRecordsResponse>;
|
|
6763
|
+
}
|
|
6764
|
+
|
|
6765
|
+
type index$2_RedeemCodeClient = RedeemCodeClient;
|
|
6766
|
+
declare const index$2_RedeemCodeClient: typeof RedeemCodeClient;
|
|
6767
|
+
type index$2_RedeemCodeRecordItem = RedeemCodeRecordItem;
|
|
6768
|
+
type index$2_RedeemCodeRecordsRequest = RedeemCodeRecordsRequest;
|
|
6769
|
+
type index$2_RedeemCodeRecordsResponse = RedeemCodeRecordsResponse;
|
|
6770
|
+
type index$2_RedeemCodeRedeemRequest = RedeemCodeRedeemRequest;
|
|
6771
|
+
type index$2_RedeemCodeRedeemResponse = RedeemCodeRedeemResponse;
|
|
6772
|
+
type index$2_RedeemCodeSummary = RedeemCodeSummary;
|
|
6773
|
+
declare const index$2_redeemCodeEndpoints: typeof redeemCodeEndpoints;
|
|
6774
|
+
declare const index$2_redeemCodeMembershipLevelSchema: typeof redeemCodeMembershipLevelSchema;
|
|
6775
|
+
declare const index$2_redeemCodeRecordItemSchema: typeof redeemCodeRecordItemSchema;
|
|
6776
|
+
declare const index$2_redeemCodeRecordsRequestSchema: typeof redeemCodeRecordsRequestSchema;
|
|
6777
|
+
declare const index$2_redeemCodeRecordsResponseSchema: typeof redeemCodeRecordsResponseSchema;
|
|
6778
|
+
declare const index$2_redeemCodeRedeemRequestSchema: typeof redeemCodeRedeemRequestSchema;
|
|
6779
|
+
declare const index$2_redeemCodeRedeemResponseSchema: typeof redeemCodeRedeemResponseSchema;
|
|
6780
|
+
declare const index$2_redeemCodeSummarySchema: typeof redeemCodeSummarySchema;
|
|
5591
6781
|
declare namespace index$2 {
|
|
5592
|
-
export {
|
|
6782
|
+
export { index$2_RedeemCodeClient as RedeemCodeClient, type index$2_RedeemCodeRecordItem as RedeemCodeRecordItem, type index$2_RedeemCodeRecordsRequest as RedeemCodeRecordsRequest, type index$2_RedeemCodeRecordsResponse as RedeemCodeRecordsResponse, type index$2_RedeemCodeRedeemRequest as RedeemCodeRedeemRequest, type index$2_RedeemCodeRedeemResponse as RedeemCodeRedeemResponse, type index$2_RedeemCodeSummary as RedeemCodeSummary, index$2_redeemCodeEndpoints as redeemCodeEndpoints, index$2_redeemCodeMembershipLevelSchema as redeemCodeMembershipLevelSchema, index$2_redeemCodeRecordItemSchema as redeemCodeRecordItemSchema, index$2_redeemCodeRecordsRequestSchema as redeemCodeRecordsRequestSchema, index$2_redeemCodeRecordsResponseSchema as redeemCodeRecordsResponseSchema, index$2_redeemCodeRedeemRequestSchema as redeemCodeRedeemRequestSchema, index$2_redeemCodeRedeemResponseSchema as redeemCodeRedeemResponseSchema, index$2_redeemCodeSummarySchema as redeemCodeSummarySchema };
|
|
5593
6783
|
}
|
|
5594
6784
|
|
|
5595
6785
|
/** Skill market API endpoints. */
|
|
@@ -6013,8 +7203,9 @@ declare const userEndpoints: {
|
|
|
6013
7203
|
user: {
|
|
6014
7204
|
id: string;
|
|
6015
7205
|
provider: string;
|
|
6016
|
-
membershipLevel: "
|
|
7206
|
+
membershipLevel: "lite" | "pro" | "premium" | "free";
|
|
6017
7207
|
creditsBalance: number;
|
|
7208
|
+
isAdmin: boolean;
|
|
6018
7209
|
createdAt: string;
|
|
6019
7210
|
updatedAt: string;
|
|
6020
7211
|
email?: string | undefined;
|
|
@@ -6038,8 +7229,9 @@ declare class UserClient {
|
|
|
6038
7229
|
user: {
|
|
6039
7230
|
id: string;
|
|
6040
7231
|
provider: string;
|
|
6041
|
-
membershipLevel: "
|
|
7232
|
+
membershipLevel: "lite" | "pro" | "premium" | "free";
|
|
6042
7233
|
creditsBalance: number;
|
|
7234
|
+
isAdmin: boolean;
|
|
6043
7235
|
createdAt: string;
|
|
6044
7236
|
updatedAt: string;
|
|
6045
7237
|
email?: string | undefined;
|
|
@@ -6052,10 +7244,10 @@ declare class UserClient {
|
|
|
6052
7244
|
|
|
6053
7245
|
/** Membership level enum schema. */
|
|
6054
7246
|
declare const userMembershipLevelSchema: z.ZodEnum<{
|
|
6055
|
-
free: "free";
|
|
6056
7247
|
lite: "lite";
|
|
6057
7248
|
pro: "pro";
|
|
6058
7249
|
premium: "premium";
|
|
7250
|
+
free: "free";
|
|
6059
7251
|
}>;
|
|
6060
7252
|
/** Current user payload schema. */
|
|
6061
7253
|
declare const userSelfSchema: z.ZodObject<{
|
|
@@ -6065,13 +7257,14 @@ declare const userSelfSchema: z.ZodObject<{
|
|
|
6065
7257
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
6066
7258
|
provider: z.ZodString;
|
|
6067
7259
|
membershipLevel: z.ZodEnum<{
|
|
6068
|
-
free: "free";
|
|
6069
7260
|
lite: "lite";
|
|
6070
7261
|
pro: "pro";
|
|
6071
7262
|
premium: "premium";
|
|
7263
|
+
free: "free";
|
|
6072
7264
|
}>;
|
|
6073
7265
|
isInternal: z.ZodOptional<z.ZodBoolean>;
|
|
6074
7266
|
creditsBalance: z.ZodNumber;
|
|
7267
|
+
isAdmin: z.ZodBoolean;
|
|
6075
7268
|
createdAt: z.ZodString;
|
|
6076
7269
|
updatedAt: z.ZodString;
|
|
6077
7270
|
}, z.core.$strip>;
|
|
@@ -6086,13 +7279,14 @@ declare const userSelfResponseSchema: z.ZodObject<{
|
|
|
6086
7279
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
6087
7280
|
provider: z.ZodString;
|
|
6088
7281
|
membershipLevel: z.ZodEnum<{
|
|
6089
|
-
free: "free";
|
|
6090
7282
|
lite: "lite";
|
|
6091
7283
|
pro: "pro";
|
|
6092
7284
|
premium: "premium";
|
|
7285
|
+
free: "free";
|
|
6093
7286
|
}>;
|
|
6094
7287
|
isInternal: z.ZodOptional<z.ZodBoolean>;
|
|
6095
7288
|
creditsBalance: z.ZodNumber;
|
|
7289
|
+
isAdmin: z.ZodBoolean;
|
|
6096
7290
|
createdAt: z.ZodString;
|
|
6097
7291
|
updatedAt: z.ZodString;
|
|
6098
7292
|
}, z.core.$strip>;
|
|
@@ -6137,6 +7331,8 @@ declare class SaaSClient extends BaseSaaSClient<SaaSContract> {
|
|
|
6137
7331
|
readonly feedback: FeedbackClient;
|
|
6138
7332
|
/** Payment-related APIs. */
|
|
6139
7333
|
readonly payment: PaymentClient;
|
|
7334
|
+
/** Redeem code-related APIs. */
|
|
7335
|
+
readonly redeemCode: RedeemCodeClient;
|
|
6140
7336
|
/** Skill market APIs. */
|
|
6141
7337
|
readonly skills: SkillsClient;
|
|
6142
7338
|
/** User-related APIs. */
|
|
@@ -6186,4 +7382,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
|
|
|
6186
7382
|
transformer: false;
|
|
6187
7383
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
|
|
6188
7384
|
|
|
6189
|
-
export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatCompletionsRequest, type AiChatModel, type AiChatModelsResponse, type AiChatSessionMetadata, AiClient, type AiClientMetadata, type AiFileUploadOptions, type AiFileUploadResponse, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiResponsesRequest, AiToolsClient, type AnalyzeSkillsRequest, type AnalyzeSkillsResponse, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, type CreateEmbedOptions, type EmbedEventMap, type EmbedInstance, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, MEDIA_FEATURES, MODEL_PROVIDERS, type MediaFeatureId, type ModelProviderId, type OrderStatusRequest, type OrderStatusResponse, PaymentClient, type RechargeRequest, type RechargeResponse, type RecommendActionsRequest, type RecommendActionsResponse, type RefundRequest, type RefundResponse, type ResponseType, SaaSClient, type SaaSClientOptions, SaaSContract, SaaSHttpError, SaaSNetworkError, SaaSSchemaError, type SkillArchiveFormat, type SkillListItem, type SkillOwnerSummary, type SkillSource, type SkillStatus, type SkillType, type SkillVersionSummary, type SkillVisibility, SkillsClient, type SkillsDetailResponse, type SkillsDownloadResponse, type SkillsListRequest, type SkillsListResponse, type SubscribeRequest, type SubscribeResponse, type SummarizeRequest, type SummarizeResponse, type TrpcClientOptions, type UpgradeRequest, type UpgradeResponse, UserClient, type UserMembershipLevel, type UserSelf, type UserSelfRequest, type UserSelfResponse, type V3BasicSuccess, type V3CapabilitiesData, type V3CapabilitiesResponse, type V3CreditEstimate, type V3EstimatePriceRequest, type V3EstimatePriceResponse, type V3Feature, type V3GenerateRequest, type V3InputSlot, type V3ParamSchema, type V3QueueRequest, type V3QueueResponse, type V3QueueTicket, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3UploadResponse, type V3Variant, aiChatCompletionsRequestSchema, aiChatModelSchema, aiChatModelsPayloadSchema, aiChatModelsResponseSchema, aiChatModelsSuccessSchema, aiChatSessionMetadataSchema, aiClientMetadataSchema, aiEndpoints, aiErrorResponseSchema, aiModelCapabilitiesInputSchema, aiModelCapabilitiesOutputSchema, aiModelCapabilitiesSchema, aiModelCapabilityCommonSchema, aiModelParameterFieldSchema, aiModelParamsSchema, aiModelSchema, aiModelsRequestSchema, aiModelsUpdatedAtDataSchema, aiModelsUpdatedAtResponseSchema, aiModelsUpdatedAtSuccessSchema, index$
|
|
7385
|
+
export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatCompletionsRequest, type AiChatModel, type AiChatModelsResponse, type AiChatSessionMetadata, AiClient, type AiClientMetadata, type AiFileUploadOptions, type AiFileUploadResponse, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiResponsesRequest, AiToolsClient, type AnalyzeSkillsRequest, type AnalyzeSkillsResponse, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, type CreateEmbedOptions, type EmbedEventMap, type EmbedInstance, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, MEDIA_FEATURES, MODEL_PROVIDERS, type MediaFeatureId, type ModelProviderId, type OrderStatusRequest, type OrderStatusResponse, PaymentClient, type RechargeRequest, type RechargeResponse, type RecommendActionsRequest, type RecommendActionsResponse, RedeemCodeClient, type RedeemCodeRecordItem, type RedeemCodeRecordsRequest, type RedeemCodeRecordsResponse, type RedeemCodeRedeemRequest, type RedeemCodeRedeemResponse, type RedeemCodeSummary, type RefundRequest, type RefundResponse, type ResponseType, SaaSClient, type SaaSClientOptions, SaaSContract, SaaSHttpError, SaaSNetworkError, SaaSSchemaError, type SkillArchiveFormat, type SkillListItem, type SkillOwnerSummary, type SkillSource, type SkillStatus, type SkillType, type SkillVersionSummary, type SkillVisibility, SkillsClient, type SkillsDetailResponse, type SkillsDownloadResponse, type SkillsListRequest, type SkillsListResponse, type SubscribeRequest, type SubscribeResponse, type SummarizeRequest, type SummarizeResponse, type TrpcClientOptions, type UpgradeRequest, type UpgradeResponse, UserClient, type UserMembershipLevel, type UserSelf, type UserSelfRequest, type UserSelfResponse, type V3BasicSuccess, type V3CapabilitiesData, type V3CapabilitiesResponse, type V3CreditEstimate, type V3EstimatePriceRequest, type V3EstimatePriceResponse, type V3Feature, type V3GenerateRequest, type V3InputSlot, type V3ParamSchema, type V3QueueRequest, type V3QueueResponse, type V3QueueTicket, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3TaskSSEEvent, type V3TextGenerateRequest, type V3TextGenerateResponse, type V3UploadResponse, type V3Variant, aiChatCompletionsRequestSchema, aiChatModelSchema, aiChatModelsPayloadSchema, aiChatModelsResponseSchema, aiChatModelsSuccessSchema, aiChatSessionMetadataSchema, aiClientMetadataSchema, aiEndpoints, aiErrorResponseSchema, aiModelCapabilitiesInputSchema, aiModelCapabilitiesOutputSchema, aiModelCapabilitiesSchema, aiModelCapabilityCommonSchema, aiModelParameterFieldSchema, aiModelParamsSchema, aiModelSchema, aiModelsRequestSchema, aiModelsUpdatedAtDataSchema, aiModelsUpdatedAtResponseSchema, aiModelsUpdatedAtSuccessSchema, index$8 as aiModule, aiProviderTemplateModelSchema, aiProviderTemplateSchema, aiProviderTemplatesPayloadSchema, aiProviderTemplatesRequestSchema, aiProviderTemplatesResponseSchema, aiProviderTemplatesSuccessSchema, aiResponsesRequestSchema, aiToolsEndpoints, index$7 as aiToolsModule, analyzeSkillsRequestSchema, analyzeSkillsResponseSchema, authEndpoints, authExchangeRequestSchema, authExchangeResponseSchema, authLogoutRequestSchema, authLogoutResponseSchema, index$6 as authModule, authRefreshErrorSchema, authRefreshRequestSchema, authRefreshResponseSchema, authRefreshSuccessSchema, authRefreshUserSchema, auxiliaryEndpoints, auxiliaryInferRequestSchema, auxiliaryInferResponseSchema, index$5 as auxiliaryModule, auxiliaryQuotaResponseSchema, contract, createEmbed, createPricingEmbed, createRechargeEmbed, createTrpcClient, feedbackDetailPayloadSchema, feedbackDetailRequestSchema, feedbackDetailResponseSchema, feedbackEndpoints, feedbackItemSchema, feedbackListPayloadSchema, feedbackListRequestSchema, feedbackListResponseSchema, index$4 as feedbackModule, feedbackSaasStatusSchema, feedbackSourceSchema, feedbackSubmitErrorSchema, feedbackSubmitRequestSchema, feedbackSubmitResponseSchema, feedbackTypeSchema, inputSlotSchema, mergeHeaders, normalizeHeaders, orderStatusRequestSchema, orderStatusResponseSchema, paramSchemaSchema, paymentEndpoints, index$3 as paymentModule, rechargeRequestSchema, rechargeResponseSchema, recommendActionsRequestSchema, recommendActionsResponseSchema, redeemCodeEndpoints, redeemCodeMembershipLevelSchema, index$2 as redeemCodeModule, redeemCodeRecordItemSchema, redeemCodeRecordsRequestSchema, redeemCodeRecordsResponseSchema, redeemCodeRedeemRequestSchema, redeemCodeRedeemResponseSchema, redeemCodeSummarySchema, refundRequestSchema, refundResponseSchema, request, skillArchiveFormatSchema, skillListItemSchema, skillOwnerSummarySchema, skillSourceSchema, skillStatusSchema, skillTypeSchema, skillVersionSummarySchema, skillVisibilitySchema, skillsDetailRequestSchema, skillsDetailResponseSchema, skillsDownloadResponseSchema, skillsEndpoints, skillsListRequestSchema, skillsListResponseSchema, index$1 as skillsModule, subscribeRequestSchema, subscribeResponseSchema, summarizeRequestSchema, summarizeResponseSchema, upgradeRequestSchema, upgradeResponseSchema, userEndpoints, userMembershipLevelSchema, index as userModule, userSelfRequestSchema, userSelfResponseSchema, userSelfSchema, v3BasicSuccessSchema, v3CapabilitiesDataSchema, v3CapabilitiesResponseSchema, v3CreditEstimateSchema, v3EstimatePriceRequestSchema, v3EstimatePriceResponseSchema, v3FeatureSchema, v3GenerateRequestSchema, v3QueueRequestSchema, v3QueueResponseSchema, v3QueueTicketSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3TaskSSEEventSchema, v3TextGenerateRequestSchema, v3TextGenerateResponseSchema, v3UploadResponseSchema, v3VariantSchema };
|