@openloaf-saas/sdk 0.1.41 → 0.1.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -298,6 +298,7 @@ declare class SaaSContract {
298
298
  sharedGroup?: string | undefined;
299
299
  sharedMaxCount?: number | undefined;
300
300
  }[];
301
+ estimatedDurationMs?: number | undefined;
301
302
  executionMode?: "task" | "streaming" | "sync" | undefined;
302
303
  endpoint?: string | undefined;
303
304
  tags?: string[] | undefined;
@@ -556,6 +557,7 @@ declare class SaaSContract {
556
557
  sharedGroup?: string | undefined;
557
558
  sharedMaxCount?: number | undefined;
558
559
  }[];
560
+ estimatedDurationMs?: number | undefined;
559
561
  executionMode?: "task" | "streaming" | "sync" | undefined;
560
562
  endpoint?: string | undefined;
561
563
  tags?: string[] | undefined;
@@ -814,6 +816,7 @@ declare class SaaSContract {
814
816
  sharedGroup?: string | undefined;
815
817
  sharedMaxCount?: number | undefined;
816
818
  }[];
819
+ estimatedDurationMs?: number | undefined;
817
820
  executionMode?: "task" | "streaming" | "sync" | undefined;
818
821
  endpoint?: string | undefined;
819
822
  tags?: string[] | undefined;
@@ -1072,6 +1075,7 @@ declare class SaaSContract {
1072
1075
  sharedGroup?: string | undefined;
1073
1076
  sharedMaxCount?: number | undefined;
1074
1077
  }[];
1078
+ estimatedDurationMs?: number | undefined;
1075
1079
  executionMode?: "task" | "streaming" | "sync" | undefined;
1076
1080
  endpoint?: string | undefined;
1077
1081
  tags?: string[] | undefined;
@@ -1330,6 +1334,7 @@ declare class SaaSContract {
1330
1334
  sharedGroup?: string | undefined;
1331
1335
  sharedMaxCount?: number | undefined;
1332
1336
  }[];
1337
+ estimatedDurationMs?: number | undefined;
1333
1338
  executionMode?: "task" | "streaming" | "sync" | undefined;
1334
1339
  endpoint?: string | undefined;
1335
1340
  tags?: string[] | undefined;
@@ -1457,143 +1462,8 @@ declare class SaaSContract {
1457
1462
  readonly v3ToolsCapabilities: Endpoint<void, {
1458
1463
  success: true;
1459
1464
  data: {
1460
- category: string;
1461
- features: ({
1462
- id: string;
1463
- displayName: string;
1464
- description: string;
1465
- variants: {
1466
- id: string;
1467
- featureTabName: string;
1468
- creditsPerCall: number;
1469
- billingType: string;
1470
- minMembershipLevel: string;
1471
- maxBatchSize: number;
1472
- resourceConstraints: {
1473
- maxFileSize: number;
1474
- maxFiles: number;
1475
- acceptedFormats: string[];
1476
- requiresUpload: boolean;
1477
- maxResolution?: number | undefined;
1478
- precheck?: {
1479
- type: string;
1480
- description: string;
1481
- } | undefined;
1482
- } | null;
1483
- resultType: "text" | "image" | "audio" | "video";
1484
- isAsync: boolean;
1485
- paramsSchema: ({
1486
- key: string;
1487
- label: string;
1488
- type: "select";
1489
- default?: unknown;
1490
- group?: "primary" | "advanced" | undefined;
1491
- visibleWhen?: unknown;
1492
- clientOnly?: boolean | undefined;
1493
- hint?: string | undefined;
1494
- required?: boolean | undefined;
1495
- options?: {
1496
- value: string | number | boolean;
1497
- label: string;
1498
- thumbnail?: string | undefined;
1499
- }[] | undefined;
1500
- catalog?: string | undefined;
1501
- display?: "dropdown" | "grid" | "pills" | undefined;
1502
- searchable?: boolean | undefined;
1503
- } | {
1504
- key: string;
1505
- label: string;
1506
- type: "tab";
1507
- options: {
1508
- value: string | number | boolean;
1509
- label: string;
1510
- thumbnail?: string | undefined;
1511
- }[];
1512
- default?: unknown;
1513
- group?: "primary" | "advanced" | undefined;
1514
- visibleWhen?: unknown;
1515
- clientOnly?: boolean | undefined;
1516
- hint?: string | undefined;
1517
- required?: boolean | undefined;
1518
- } | {
1519
- key: string;
1520
- label: string;
1521
- type: "boolean";
1522
- default?: unknown;
1523
- group?: "primary" | "advanced" | undefined;
1524
- visibleWhen?: unknown;
1525
- clientOnly?: boolean | undefined;
1526
- hint?: string | undefined;
1527
- required?: boolean | undefined;
1528
- } | {
1529
- key: string;
1530
- label: string;
1531
- type: "text";
1532
- default?: unknown;
1533
- group?: "primary" | "advanced" | undefined;
1534
- visibleWhen?: unknown;
1535
- clientOnly?: boolean | undefined;
1536
- hint?: string | undefined;
1537
- required?: boolean | undefined;
1538
- multiline?: boolean | undefined;
1539
- placeholder?: string | undefined;
1540
- minLength?: number | undefined;
1541
- maxLength?: number | undefined;
1542
- } | {
1543
- key: string;
1544
- label: string;
1545
- type: "slider";
1546
- min: number;
1547
- max: number;
1548
- default?: unknown;
1549
- group?: "primary" | "advanced" | undefined;
1550
- visibleWhen?: unknown;
1551
- clientOnly?: boolean | undefined;
1552
- hint?: string | undefined;
1553
- required?: boolean | undefined;
1554
- step?: number | undefined;
1555
- } | {
1556
- key: string;
1557
- label: string;
1558
- type: "number";
1559
- default?: unknown;
1560
- group?: "primary" | "advanced" | undefined;
1561
- visibleWhen?: unknown;
1562
- clientOnly?: boolean | undefined;
1563
- hint?: string | undefined;
1564
- required?: boolean | undefined;
1565
- min?: number | undefined;
1566
- max?: number | undefined;
1567
- step?: number | undefined;
1568
- })[];
1569
- inputSlots: {
1570
- role: string;
1571
- accept: "text" | "file" | "image" | "audio" | "video";
1572
- label: string;
1573
- key?: string | undefined;
1574
- required?: boolean | undefined;
1575
- minCount?: number | undefined;
1576
- maxCount?: number | undefined;
1577
- placeholder?: string | undefined;
1578
- multiline?: boolean | undefined;
1579
- minLength?: number | undefined;
1580
- maxLength?: number | undefined;
1581
- maxFileSize?: number | undefined;
1582
- acceptFormats?: string[] | undefined;
1583
- minResolution?: number | undefined;
1584
- maxResolution?: number | undefined;
1585
- minDuration?: number | undefined;
1586
- maxDuration?: number | undefined;
1587
- hint?: string | undefined;
1588
- sharedGroup?: string | undefined;
1589
- sharedMaxCount?: number | undefined;
1590
- }[];
1591
- executionMode?: "task" | "streaming" | "sync" | undefined;
1592
- endpoint?: string | undefined;
1593
- tags?: string[] | undefined;
1594
- familyId?: string | undefined;
1595
- }[];
1596
- } | {
1465
+ category: "tools";
1466
+ features: {
1597
1467
  id: string;
1598
1468
  displayName: string;
1599
1469
  description: string;
@@ -1708,7 +1578,7 @@ declare class SaaSContract {
1708
1578
  max?: number | undefined;
1709
1579
  step?: number | undefined;
1710
1580
  })[];
1711
- })[];
1581
+ }[];
1712
1582
  updatedAt?: string | undefined;
1713
1583
  };
1714
1584
  }>;
@@ -2641,6 +2511,7 @@ declare const aiEndpoints: {
2641
2511
  sharedGroup?: string | undefined;
2642
2512
  sharedMaxCount?: number | undefined;
2643
2513
  }[];
2514
+ estimatedDurationMs?: number | undefined;
2644
2515
  executionMode?: "task" | "streaming" | "sync" | undefined;
2645
2516
  endpoint?: string | undefined;
2646
2517
  tags?: string[] | undefined;
@@ -2900,6 +2771,7 @@ declare const aiEndpoints: {
2900
2771
  sharedGroup?: string | undefined;
2901
2772
  sharedMaxCount?: number | undefined;
2902
2773
  }[];
2774
+ estimatedDurationMs?: number | undefined;
2903
2775
  executionMode?: "task" | "streaming" | "sync" | undefined;
2904
2776
  endpoint?: string | undefined;
2905
2777
  tags?: string[] | undefined;
@@ -3159,6 +3031,7 @@ declare const aiEndpoints: {
3159
3031
  sharedGroup?: string | undefined;
3160
3032
  sharedMaxCount?: number | undefined;
3161
3033
  }[];
3034
+ estimatedDurationMs?: number | undefined;
3162
3035
  executionMode?: "task" | "streaming" | "sync" | undefined;
3163
3036
  endpoint?: string | undefined;
3164
3037
  tags?: string[] | undefined;
@@ -3418,6 +3291,7 @@ declare const aiEndpoints: {
3418
3291
  sharedGroup?: string | undefined;
3419
3292
  sharedMaxCount?: number | undefined;
3420
3293
  }[];
3294
+ estimatedDurationMs?: number | undefined;
3421
3295
  executionMode?: "task" | "streaming" | "sync" | undefined;
3422
3296
  endpoint?: string | undefined;
3423
3297
  tags?: string[] | undefined;
@@ -3677,6 +3551,7 @@ declare const aiEndpoints: {
3677
3551
  sharedGroup?: string | undefined;
3678
3552
  sharedMaxCount?: number | undefined;
3679
3553
  }[];
3554
+ estimatedDurationMs?: number | undefined;
3680
3555
  executionMode?: "task" | "streaming" | "sync" | undefined;
3681
3556
  endpoint?: string | undefined;
3682
3557
  tags?: string[] | undefined;
@@ -3801,201 +3676,69 @@ declare const aiEndpoints: {
3801
3676
  updatedAt?: string | undefined;
3802
3677
  };
3803
3678
  }>;
3804
- /** Get tools capabilities (features + variants). */
3679
+ /**
3680
+ * Get tools capabilities. features 数组为扁平 ToolFeature(不含 variants),
3681
+ * 直接携带 endpoint / inputSlots / paramsSchema / creditsPerCall。
3682
+ */
3805
3683
  readonly v3ToolsCapabilities: Endpoint<void, {
3806
3684
  success: true;
3807
3685
  data: {
3808
- category: string;
3809
- features: ({
3686
+ category: "tools";
3687
+ features: {
3810
3688
  id: string;
3811
3689
  displayName: string;
3812
3690
  description: string;
3813
- variants: {
3814
- id: string;
3815
- featureTabName: string;
3816
- creditsPerCall: number;
3817
- billingType: string;
3818
- minMembershipLevel: string;
3819
- maxBatchSize: number;
3820
- resourceConstraints: {
3821
- maxFileSize: number;
3822
- maxFiles: number;
3823
- acceptedFormats: string[];
3824
- requiresUpload: boolean;
3825
- maxResolution?: number | undefined;
3826
- precheck?: {
3827
- type: string;
3828
- description: string;
3829
- } | undefined;
3830
- } | null;
3831
- resultType: "text" | "image" | "audio" | "video";
3832
- isAsync: boolean;
3833
- paramsSchema: ({
3834
- key: string;
3835
- label: string;
3836
- type: "select";
3837
- default?: unknown;
3838
- group?: "primary" | "advanced" | undefined;
3839
- visibleWhen?: unknown;
3840
- clientOnly?: boolean | undefined;
3841
- hint?: string | undefined;
3842
- required?: boolean | undefined;
3843
- options?: {
3844
- value: string | number | boolean;
3845
- label: string;
3846
- thumbnail?: string | undefined;
3847
- }[] | undefined;
3848
- catalog?: string | undefined;
3849
- display?: "dropdown" | "grid" | "pills" | undefined;
3850
- searchable?: boolean | undefined;
3851
- } | {
3852
- key: string;
3691
+ endpoint: string;
3692
+ creditsPerCall: number;
3693
+ billingType: string;
3694
+ minMembershipLevel: string;
3695
+ executionMode: "sync";
3696
+ inputSlots: {
3697
+ role: string;
3698
+ accept: "text" | "file" | "image" | "audio" | "video";
3699
+ label: string;
3700
+ key?: string | undefined;
3701
+ required?: boolean | undefined;
3702
+ minCount?: number | undefined;
3703
+ maxCount?: number | undefined;
3704
+ placeholder?: string | undefined;
3705
+ multiline?: boolean | undefined;
3706
+ minLength?: number | undefined;
3707
+ maxLength?: number | undefined;
3708
+ maxFileSize?: number | undefined;
3709
+ acceptFormats?: string[] | undefined;
3710
+ minResolution?: number | undefined;
3711
+ maxResolution?: number | undefined;
3712
+ minDuration?: number | undefined;
3713
+ maxDuration?: number | undefined;
3714
+ hint?: string | undefined;
3715
+ sharedGroup?: string | undefined;
3716
+ sharedMaxCount?: number | undefined;
3717
+ }[];
3718
+ paramsSchema: ({
3719
+ key: string;
3720
+ label: string;
3721
+ type: "select";
3722
+ default?: unknown;
3723
+ group?: "primary" | "advanced" | undefined;
3724
+ visibleWhen?: unknown;
3725
+ clientOnly?: boolean | undefined;
3726
+ hint?: string | undefined;
3727
+ required?: boolean | undefined;
3728
+ options?: {
3729
+ value: string | number | boolean;
3853
3730
  label: string;
3854
- type: "tab";
3855
- options: {
3856
- value: string | number | boolean;
3857
- label: string;
3858
- thumbnail?: string | undefined;
3859
- }[];
3860
- default?: unknown;
3861
- group?: "primary" | "advanced" | undefined;
3862
- visibleWhen?: unknown;
3863
- clientOnly?: boolean | undefined;
3864
- hint?: string | undefined;
3865
- required?: boolean | undefined;
3866
- } | {
3867
- key: string;
3868
- label: string;
3869
- type: "boolean";
3870
- default?: unknown;
3871
- group?: "primary" | "advanced" | undefined;
3872
- visibleWhen?: unknown;
3873
- clientOnly?: boolean | undefined;
3874
- hint?: string | undefined;
3875
- required?: boolean | undefined;
3876
- } | {
3877
- key: string;
3878
- label: string;
3879
- type: "text";
3880
- default?: unknown;
3881
- group?: "primary" | "advanced" | undefined;
3882
- visibleWhen?: unknown;
3883
- clientOnly?: boolean | undefined;
3884
- hint?: string | undefined;
3885
- required?: boolean | undefined;
3886
- multiline?: boolean | undefined;
3887
- placeholder?: string | undefined;
3888
- minLength?: number | undefined;
3889
- maxLength?: number | undefined;
3890
- } | {
3891
- key: string;
3892
- label: string;
3893
- type: "slider";
3894
- min: number;
3895
- max: number;
3896
- default?: unknown;
3897
- group?: "primary" | "advanced" | undefined;
3898
- visibleWhen?: unknown;
3899
- clientOnly?: boolean | undefined;
3900
- hint?: string | undefined;
3901
- required?: boolean | undefined;
3902
- step?: number | undefined;
3903
- } | {
3904
- key: string;
3905
- label: string;
3906
- type: "number";
3907
- default?: unknown;
3908
- group?: "primary" | "advanced" | undefined;
3909
- visibleWhen?: unknown;
3910
- clientOnly?: boolean | undefined;
3911
- hint?: string | undefined;
3912
- required?: boolean | undefined;
3913
- min?: number | undefined;
3914
- max?: number | undefined;
3915
- step?: number | undefined;
3916
- })[];
3917
- inputSlots: {
3918
- role: string;
3919
- accept: "text" | "file" | "image" | "audio" | "video";
3920
- label: string;
3921
- key?: string | undefined;
3922
- required?: boolean | undefined;
3923
- minCount?: number | undefined;
3924
- maxCount?: number | undefined;
3925
- placeholder?: string | undefined;
3926
- multiline?: boolean | undefined;
3927
- minLength?: number | undefined;
3928
- maxLength?: number | undefined;
3929
- maxFileSize?: number | undefined;
3930
- acceptFormats?: string[] | undefined;
3931
- minResolution?: number | undefined;
3932
- maxResolution?: number | undefined;
3933
- minDuration?: number | undefined;
3934
- maxDuration?: number | undefined;
3935
- hint?: string | undefined;
3936
- sharedGroup?: string | undefined;
3937
- sharedMaxCount?: number | undefined;
3938
- }[];
3939
- executionMode?: "task" | "streaming" | "sync" | undefined;
3940
- endpoint?: string | undefined;
3941
- tags?: string[] | undefined;
3942
- familyId?: string | undefined;
3943
- }[];
3944
- } | {
3945
- id: string;
3946
- displayName: string;
3947
- description: string;
3948
- endpoint: string;
3949
- creditsPerCall: number;
3950
- billingType: string;
3951
- minMembershipLevel: string;
3952
- executionMode: "sync";
3953
- inputSlots: {
3954
- role: string;
3955
- accept: "text" | "file" | "image" | "audio" | "video";
3956
- label: string;
3957
- key?: string | undefined;
3958
- required?: boolean | undefined;
3959
- minCount?: number | undefined;
3960
- maxCount?: number | undefined;
3961
- placeholder?: string | undefined;
3962
- multiline?: boolean | undefined;
3963
- minLength?: number | undefined;
3964
- maxLength?: number | undefined;
3965
- maxFileSize?: number | undefined;
3966
- acceptFormats?: string[] | undefined;
3967
- minResolution?: number | undefined;
3968
- maxResolution?: number | undefined;
3969
- minDuration?: number | undefined;
3970
- maxDuration?: number | undefined;
3971
- hint?: string | undefined;
3972
- sharedGroup?: string | undefined;
3973
- sharedMaxCount?: number | undefined;
3974
- }[];
3975
- paramsSchema: ({
3976
- key: string;
3977
- label: string;
3978
- type: "select";
3979
- default?: unknown;
3980
- group?: "primary" | "advanced" | undefined;
3981
- visibleWhen?: unknown;
3982
- clientOnly?: boolean | undefined;
3983
- hint?: string | undefined;
3984
- required?: boolean | undefined;
3985
- options?: {
3986
- value: string | number | boolean;
3987
- label: string;
3988
- thumbnail?: string | undefined;
3989
- }[] | undefined;
3990
- catalog?: string | undefined;
3991
- display?: "dropdown" | "grid" | "pills" | undefined;
3992
- searchable?: boolean | undefined;
3993
- } | {
3994
- key: string;
3995
- label: string;
3996
- type: "tab";
3997
- options: {
3998
- value: string | number | boolean;
3731
+ thumbnail?: string | undefined;
3732
+ }[] | undefined;
3733
+ catalog?: string | undefined;
3734
+ display?: "dropdown" | "grid" | "pills" | undefined;
3735
+ searchable?: boolean | undefined;
3736
+ } | {
3737
+ key: string;
3738
+ label: string;
3739
+ type: "tab";
3740
+ options: {
3741
+ value: string | number | boolean;
3999
3742
  label: string;
4000
3743
  thumbnail?: string | undefined;
4001
3744
  }[];
@@ -4056,7 +3799,7 @@ declare const aiEndpoints: {
4056
3799
  max?: number | undefined;
4057
3800
  step?: number | undefined;
4058
3801
  })[];
4059
- })[];
3802
+ }[];
4060
3803
  updatedAt?: string | undefined;
4061
3804
  };
4062
3805
  }>;
@@ -5275,6 +5018,7 @@ declare const v3VariantSchema: z.ZodObject<{
5275
5018
  sharedGroup: z.ZodOptional<z.ZodString>;
5276
5019
  sharedMaxCount: z.ZodOptional<z.ZodNumber>;
5277
5020
  }, z.core.$strip>>;
5021
+ estimatedDurationMs: z.ZodOptional<z.ZodNumber>;
5278
5022
  executionMode: z.ZodOptional<z.ZodEnum<{
5279
5023
  task: "task";
5280
5024
  streaming: "streaming";
@@ -5448,6 +5192,7 @@ declare const v3FeatureSchema: z.ZodObject<{
5448
5192
  sharedGroup: z.ZodOptional<z.ZodString>;
5449
5193
  sharedMaxCount: z.ZodOptional<z.ZodNumber>;
5450
5194
  }, z.core.$strip>>;
5195
+ estimatedDurationMs: z.ZodOptional<z.ZodNumber>;
5451
5196
  executionMode: z.ZodOptional<z.ZodEnum<{
5452
5197
  task: "task";
5453
5198
  streaming: "streaming";
@@ -5773,6 +5518,7 @@ declare const v3CapabilitiesDataSchema: z.ZodObject<{
5773
5518
  sharedGroup: z.ZodOptional<z.ZodString>;
5774
5519
  sharedMaxCount: z.ZodOptional<z.ZodNumber>;
5775
5520
  }, z.core.$strip>>;
5521
+ estimatedDurationMs: z.ZodOptional<z.ZodNumber>;
5776
5522
  executionMode: z.ZodOptional<z.ZodEnum<{
5777
5523
  task: "task";
5778
5524
  streaming: "streaming";
@@ -6096,6 +5842,7 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
6096
5842
  sharedGroup: z.ZodOptional<z.ZodString>;
6097
5843
  sharedMaxCount: z.ZodOptional<z.ZodNumber>;
6098
5844
  }, z.core.$strip>>;
5845
+ estimatedDurationMs: z.ZodOptional<z.ZodNumber>;
6099
5846
  executionMode: z.ZodOptional<z.ZodEnum<{
6100
5847
  task: "task";
6101
5848
  streaming: "streaming";
@@ -6252,120 +5999,425 @@ declare const v3CapabilitiesResponseSchema: z.ZodObject<{
6252
5999
  updatedAt: z.ZodOptional<z.ZodString>;
6253
6000
  }, z.core.$strip>;
6254
6001
  }, z.core.$strip>;
6255
- /** v3 unified generate request body. */
6256
- declare const v3GenerateRequestSchema: z.ZodObject<{
6257
- feature: z.ZodString;
6258
- variant: z.ZodString;
6259
- ticketId: z.ZodOptional<z.ZodString>;
6260
- inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6261
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6262
- count: z.ZodOptional<z.ZodNumber>;
6263
- stream: z.ZodOptional<z.ZodBoolean>;
6264
- }, z.core.$strip>;
6265
- /** v3 text generate request body. */
6266
- declare const v3TextGenerateRequestSchema: z.ZodObject<{
6267
- feature: z.ZodString;
6268
- variant: z.ZodString;
6269
- inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6270
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6271
- stream: z.ZodOptional<z.ZodBoolean>;
6272
- }, z.core.$strip>;
6273
- /** v3 text generate response. */
6274
- declare const v3TextGenerateResponseSchema: z.ZodObject<{
6275
- success: z.ZodLiteral<true>;
6276
- data: z.ZodObject<{
6277
- text: z.ZodString;
6278
- creditsConsumed: z.ZodOptional<z.ZodNumber>;
6279
- taskId: z.ZodOptional<z.ZodString>;
6280
- }, z.core.$strip>;
6281
- }, z.core.$strip>;
6282
- /** Individual task item within a v3 response. */
6283
- declare const v3TaskItemSchema: z.ZodObject<{
6284
- taskId: z.ZodString;
6285
- status: z.ZodEnum<{
6286
- queued: "queued";
6287
- running: "running";
6288
- succeeded: "succeeded";
6289
- failed: "failed";
6290
- canceled: "canceled";
6291
- }>;
6292
- resultUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
6293
- resultText: z.ZodOptional<z.ZodString>;
6294
- creditsConsumed: z.ZodOptional<z.ZodNumber>;
6295
- error: z.ZodOptional<z.ZodObject<{
6296
- code: z.ZodOptional<z.ZodString>;
6297
- message: z.ZodString;
6298
- }, z.core.$strip>>;
6299
- }, z.core.$strip>;
6300
- /** Successful single-task query response. */
6301
- declare const v3TaskResponseSchema: z.ZodObject<{
6302
- success: z.ZodLiteral<true>;
6303
- data: z.ZodObject<{
6304
- taskId: z.ZodString;
6305
- status: z.ZodEnum<{
6306
- queued: "queued";
6307
- running: "running";
6308
- succeeded: "succeeded";
6309
- failed: "failed";
6310
- canceled: "canceled";
6311
- }>;
6312
- resultUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
6313
- resultText: z.ZodOptional<z.ZodString>;
6314
- creditsConsumed: z.ZodOptional<z.ZodNumber>;
6315
- error: z.ZodOptional<z.ZodObject<{
6316
- code: z.ZodOptional<z.ZodString>;
6317
- message: z.ZodString;
6318
- }, z.core.$strip>>;
6319
- }, z.core.$strip>;
6320
- }, z.core.$strip>;
6321
- /** Successful generate response — single task or batch group. */
6322
- declare const v3TaskCreatedSchema: z.ZodObject<{
6323
- success: z.ZodLiteral<true>;
6324
- data: z.ZodUnion<readonly [z.ZodObject<{
6325
- taskId: z.ZodString;
6326
- }, z.core.$strip>, z.ZodObject<{
6327
- groupId: z.ZodString;
6328
- taskIds: z.ZodArray<z.ZodString>;
6329
- }, z.core.$strip>]>;
6330
- }, z.core.$strip>;
6331
- /** Successful task group query response. */
6332
- declare const v3TaskGroupResponseSchema: z.ZodObject<{
6333
- success: z.ZodLiteral<true>;
6334
- data: z.ZodObject<{
6335
- groupId: z.ZodString;
6336
- status: z.ZodEnum<{
6337
- running: "running";
6338
- succeeded: "succeeded";
6339
- failed: "failed";
6340
- partial: "partial";
6341
- }>;
6342
- tasks: z.ZodArray<z.ZodObject<{
6343
- taskId: z.ZodString;
6344
- status: z.ZodEnum<{
6345
- queued: "queued";
6346
- running: "running";
6347
- succeeded: "succeeded";
6348
- failed: "failed";
6349
- canceled: "canceled";
6002
+ /**
6003
+ * Tools capabilities data (category fixed to "tools", features narrowed to tool features).
6004
+ * 与通用 {@link v3CapabilitiesDataSchema} 的区别:features 数组只含
6005
+ * {@link v3ToolFeatureSchema},消费方无需类型收窄即可直接读取 endpoint / inputSlots / paramsSchema。
6006
+ */
6007
+ declare const v3ToolsCapabilitiesDataSchema: z.ZodObject<{
6008
+ category: z.ZodLiteral<"tools">;
6009
+ features: z.ZodArray<z.ZodObject<{
6010
+ id: z.ZodString;
6011
+ displayName: z.ZodString;
6012
+ description: z.ZodString;
6013
+ endpoint: z.ZodString;
6014
+ creditsPerCall: z.ZodNumber;
6015
+ billingType: z.ZodString;
6016
+ minMembershipLevel: z.ZodString;
6017
+ executionMode: z.ZodLiteral<"sync">;
6018
+ inputSlots: z.ZodArray<z.ZodObject<{
6019
+ key: z.ZodOptional<z.ZodString>;
6020
+ role: z.ZodString;
6021
+ accept: z.ZodEnum<{
6022
+ text: "text";
6023
+ file: "file";
6024
+ image: "image";
6025
+ audio: "audio";
6026
+ video: "video";
6350
6027
  }>;
6351
- resultUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
6352
- resultText: z.ZodOptional<z.ZodString>;
6353
- creditsConsumed: z.ZodOptional<z.ZodNumber>;
6354
- error: z.ZodOptional<z.ZodObject<{
6355
- code: z.ZodOptional<z.ZodString>;
6356
- message: z.ZodString;
6357
- }, z.core.$strip>>;
6358
- }, z.core.$strip>>;
6359
- totalCreditsConsumed: z.ZodOptional<z.ZodNumber>;
6360
- }, z.core.$strip>;
6361
- }, z.core.$strip>;
6362
- /** Basic success response for cancel and other simple operations. */
6363
- declare const v3BasicSuccessSchema: z.ZodObject<{
6364
- success: z.ZodLiteral<true>;
6365
- message: z.ZodOptional<z.ZodString>;
6366
- }, z.core.$strip>;
6367
- /** v3 estimate price request body. */
6368
- declare const v3EstimatePriceRequestSchema: z.ZodObject<{
6028
+ label: z.ZodString;
6029
+ required: z.ZodOptional<z.ZodBoolean>;
6030
+ minCount: z.ZodOptional<z.ZodNumber>;
6031
+ maxCount: z.ZodOptional<z.ZodNumber>;
6032
+ placeholder: z.ZodOptional<z.ZodString>;
6033
+ multiline: z.ZodOptional<z.ZodBoolean>;
6034
+ minLength: z.ZodOptional<z.ZodNumber>;
6035
+ maxLength: z.ZodOptional<z.ZodNumber>;
6036
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
6037
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
6038
+ minResolution: z.ZodOptional<z.ZodNumber>;
6039
+ maxResolution: z.ZodOptional<z.ZodNumber>;
6040
+ minDuration: z.ZodOptional<z.ZodNumber>;
6041
+ maxDuration: z.ZodOptional<z.ZodNumber>;
6042
+ hint: z.ZodOptional<z.ZodString>;
6043
+ sharedGroup: z.ZodOptional<z.ZodString>;
6044
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
6045
+ }, z.core.$strip>>;
6046
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6047
+ key: z.ZodString;
6048
+ label: z.ZodString;
6049
+ default: z.ZodOptional<z.ZodUnknown>;
6050
+ group: z.ZodOptional<z.ZodEnum<{
6051
+ primary: "primary";
6052
+ advanced: "advanced";
6053
+ }>>;
6054
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6055
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6056
+ hint: z.ZodOptional<z.ZodString>;
6057
+ required: z.ZodOptional<z.ZodBoolean>;
6058
+ type: z.ZodLiteral<"select">;
6059
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
6060
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
6061
+ label: z.ZodString;
6062
+ thumbnail: z.ZodOptional<z.ZodString>;
6063
+ }, z.core.$strip>>>;
6064
+ catalog: z.ZodOptional<z.ZodString>;
6065
+ display: z.ZodOptional<z.ZodEnum<{
6066
+ dropdown: "dropdown";
6067
+ grid: "grid";
6068
+ pills: "pills";
6069
+ }>>;
6070
+ searchable: z.ZodOptional<z.ZodBoolean>;
6071
+ }, z.core.$strip>, z.ZodObject<{
6072
+ key: z.ZodString;
6073
+ label: z.ZodString;
6074
+ default: z.ZodOptional<z.ZodUnknown>;
6075
+ group: z.ZodOptional<z.ZodEnum<{
6076
+ primary: "primary";
6077
+ advanced: "advanced";
6078
+ }>>;
6079
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6080
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6081
+ hint: z.ZodOptional<z.ZodString>;
6082
+ required: z.ZodOptional<z.ZodBoolean>;
6083
+ type: z.ZodLiteral<"tab">;
6084
+ options: z.ZodArray<z.ZodObject<{
6085
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
6086
+ label: z.ZodString;
6087
+ thumbnail: z.ZodOptional<z.ZodString>;
6088
+ }, z.core.$strip>>;
6089
+ }, z.core.$strip>, z.ZodObject<{
6090
+ key: z.ZodString;
6091
+ label: z.ZodString;
6092
+ default: z.ZodOptional<z.ZodUnknown>;
6093
+ group: z.ZodOptional<z.ZodEnum<{
6094
+ primary: "primary";
6095
+ advanced: "advanced";
6096
+ }>>;
6097
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6098
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6099
+ hint: z.ZodOptional<z.ZodString>;
6100
+ required: z.ZodOptional<z.ZodBoolean>;
6101
+ type: z.ZodLiteral<"boolean">;
6102
+ }, z.core.$strip>, z.ZodObject<{
6103
+ key: z.ZodString;
6104
+ label: z.ZodString;
6105
+ default: z.ZodOptional<z.ZodUnknown>;
6106
+ group: z.ZodOptional<z.ZodEnum<{
6107
+ primary: "primary";
6108
+ advanced: "advanced";
6109
+ }>>;
6110
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6111
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6112
+ hint: z.ZodOptional<z.ZodString>;
6113
+ required: z.ZodOptional<z.ZodBoolean>;
6114
+ type: z.ZodLiteral<"text">;
6115
+ multiline: z.ZodOptional<z.ZodBoolean>;
6116
+ placeholder: z.ZodOptional<z.ZodString>;
6117
+ minLength: z.ZodOptional<z.ZodNumber>;
6118
+ maxLength: z.ZodOptional<z.ZodNumber>;
6119
+ }, z.core.$strip>, z.ZodObject<{
6120
+ key: z.ZodString;
6121
+ label: z.ZodString;
6122
+ default: z.ZodOptional<z.ZodUnknown>;
6123
+ group: z.ZodOptional<z.ZodEnum<{
6124
+ primary: "primary";
6125
+ advanced: "advanced";
6126
+ }>>;
6127
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6128
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6129
+ hint: z.ZodOptional<z.ZodString>;
6130
+ required: z.ZodOptional<z.ZodBoolean>;
6131
+ type: z.ZodLiteral<"slider">;
6132
+ min: z.ZodNumber;
6133
+ max: z.ZodNumber;
6134
+ step: z.ZodOptional<z.ZodNumber>;
6135
+ }, z.core.$strip>, z.ZodObject<{
6136
+ key: z.ZodString;
6137
+ label: z.ZodString;
6138
+ default: z.ZodOptional<z.ZodUnknown>;
6139
+ group: z.ZodOptional<z.ZodEnum<{
6140
+ primary: "primary";
6141
+ advanced: "advanced";
6142
+ }>>;
6143
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6144
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6145
+ hint: z.ZodOptional<z.ZodString>;
6146
+ required: z.ZodOptional<z.ZodBoolean>;
6147
+ type: z.ZodLiteral<"number">;
6148
+ min: z.ZodOptional<z.ZodNumber>;
6149
+ max: z.ZodOptional<z.ZodNumber>;
6150
+ step: z.ZodOptional<z.ZodNumber>;
6151
+ }, z.core.$strip>], "type">>;
6152
+ }, z.core.$strip>>;
6153
+ updatedAt: z.ZodOptional<z.ZodString>;
6154
+ }, z.core.$strip>;
6155
+ /** Successful tools-capabilities response (narrowed). */
6156
+ declare const v3ToolsCapabilitiesResponseSchema: z.ZodObject<{
6157
+ success: z.ZodLiteral<true>;
6158
+ data: z.ZodObject<{
6159
+ category: z.ZodLiteral<"tools">;
6160
+ features: z.ZodArray<z.ZodObject<{
6161
+ id: z.ZodString;
6162
+ displayName: z.ZodString;
6163
+ description: z.ZodString;
6164
+ endpoint: z.ZodString;
6165
+ creditsPerCall: z.ZodNumber;
6166
+ billingType: z.ZodString;
6167
+ minMembershipLevel: z.ZodString;
6168
+ executionMode: z.ZodLiteral<"sync">;
6169
+ inputSlots: z.ZodArray<z.ZodObject<{
6170
+ key: z.ZodOptional<z.ZodString>;
6171
+ role: z.ZodString;
6172
+ accept: z.ZodEnum<{
6173
+ text: "text";
6174
+ file: "file";
6175
+ image: "image";
6176
+ audio: "audio";
6177
+ video: "video";
6178
+ }>;
6179
+ label: z.ZodString;
6180
+ required: z.ZodOptional<z.ZodBoolean>;
6181
+ minCount: z.ZodOptional<z.ZodNumber>;
6182
+ maxCount: z.ZodOptional<z.ZodNumber>;
6183
+ placeholder: z.ZodOptional<z.ZodString>;
6184
+ multiline: z.ZodOptional<z.ZodBoolean>;
6185
+ minLength: z.ZodOptional<z.ZodNumber>;
6186
+ maxLength: z.ZodOptional<z.ZodNumber>;
6187
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
6188
+ acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
6189
+ minResolution: z.ZodOptional<z.ZodNumber>;
6190
+ maxResolution: z.ZodOptional<z.ZodNumber>;
6191
+ minDuration: z.ZodOptional<z.ZodNumber>;
6192
+ maxDuration: z.ZodOptional<z.ZodNumber>;
6193
+ hint: z.ZodOptional<z.ZodString>;
6194
+ sharedGroup: z.ZodOptional<z.ZodString>;
6195
+ sharedMaxCount: z.ZodOptional<z.ZodNumber>;
6196
+ }, z.core.$strip>>;
6197
+ paramsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6198
+ key: z.ZodString;
6199
+ label: z.ZodString;
6200
+ default: z.ZodOptional<z.ZodUnknown>;
6201
+ group: z.ZodOptional<z.ZodEnum<{
6202
+ primary: "primary";
6203
+ advanced: "advanced";
6204
+ }>>;
6205
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6206
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6207
+ hint: z.ZodOptional<z.ZodString>;
6208
+ required: z.ZodOptional<z.ZodBoolean>;
6209
+ type: z.ZodLiteral<"select">;
6210
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
6211
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
6212
+ label: z.ZodString;
6213
+ thumbnail: z.ZodOptional<z.ZodString>;
6214
+ }, z.core.$strip>>>;
6215
+ catalog: z.ZodOptional<z.ZodString>;
6216
+ display: z.ZodOptional<z.ZodEnum<{
6217
+ dropdown: "dropdown";
6218
+ grid: "grid";
6219
+ pills: "pills";
6220
+ }>>;
6221
+ searchable: z.ZodOptional<z.ZodBoolean>;
6222
+ }, z.core.$strip>, z.ZodObject<{
6223
+ key: z.ZodString;
6224
+ label: z.ZodString;
6225
+ default: z.ZodOptional<z.ZodUnknown>;
6226
+ group: z.ZodOptional<z.ZodEnum<{
6227
+ primary: "primary";
6228
+ advanced: "advanced";
6229
+ }>>;
6230
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6231
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6232
+ hint: z.ZodOptional<z.ZodString>;
6233
+ required: z.ZodOptional<z.ZodBoolean>;
6234
+ type: z.ZodLiteral<"tab">;
6235
+ options: z.ZodArray<z.ZodObject<{
6236
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
6237
+ label: z.ZodString;
6238
+ thumbnail: z.ZodOptional<z.ZodString>;
6239
+ }, z.core.$strip>>;
6240
+ }, z.core.$strip>, z.ZodObject<{
6241
+ key: z.ZodString;
6242
+ label: z.ZodString;
6243
+ default: z.ZodOptional<z.ZodUnknown>;
6244
+ group: z.ZodOptional<z.ZodEnum<{
6245
+ primary: "primary";
6246
+ advanced: "advanced";
6247
+ }>>;
6248
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6249
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6250
+ hint: z.ZodOptional<z.ZodString>;
6251
+ required: z.ZodOptional<z.ZodBoolean>;
6252
+ type: z.ZodLiteral<"boolean">;
6253
+ }, z.core.$strip>, z.ZodObject<{
6254
+ key: z.ZodString;
6255
+ label: z.ZodString;
6256
+ default: z.ZodOptional<z.ZodUnknown>;
6257
+ group: z.ZodOptional<z.ZodEnum<{
6258
+ primary: "primary";
6259
+ advanced: "advanced";
6260
+ }>>;
6261
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6262
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6263
+ hint: z.ZodOptional<z.ZodString>;
6264
+ required: z.ZodOptional<z.ZodBoolean>;
6265
+ type: z.ZodLiteral<"text">;
6266
+ multiline: z.ZodOptional<z.ZodBoolean>;
6267
+ placeholder: z.ZodOptional<z.ZodString>;
6268
+ minLength: z.ZodOptional<z.ZodNumber>;
6269
+ maxLength: z.ZodOptional<z.ZodNumber>;
6270
+ }, z.core.$strip>, z.ZodObject<{
6271
+ key: z.ZodString;
6272
+ label: z.ZodString;
6273
+ default: z.ZodOptional<z.ZodUnknown>;
6274
+ group: z.ZodOptional<z.ZodEnum<{
6275
+ primary: "primary";
6276
+ advanced: "advanced";
6277
+ }>>;
6278
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6279
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6280
+ hint: z.ZodOptional<z.ZodString>;
6281
+ required: z.ZodOptional<z.ZodBoolean>;
6282
+ type: z.ZodLiteral<"slider">;
6283
+ min: z.ZodNumber;
6284
+ max: z.ZodNumber;
6285
+ step: z.ZodOptional<z.ZodNumber>;
6286
+ }, z.core.$strip>, z.ZodObject<{
6287
+ key: z.ZodString;
6288
+ label: z.ZodString;
6289
+ default: z.ZodOptional<z.ZodUnknown>;
6290
+ group: z.ZodOptional<z.ZodEnum<{
6291
+ primary: "primary";
6292
+ advanced: "advanced";
6293
+ }>>;
6294
+ visibleWhen: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
6295
+ clientOnly: z.ZodOptional<z.ZodBoolean>;
6296
+ hint: z.ZodOptional<z.ZodString>;
6297
+ required: z.ZodOptional<z.ZodBoolean>;
6298
+ type: z.ZodLiteral<"number">;
6299
+ min: z.ZodOptional<z.ZodNumber>;
6300
+ max: z.ZodOptional<z.ZodNumber>;
6301
+ step: z.ZodOptional<z.ZodNumber>;
6302
+ }, z.core.$strip>], "type">>;
6303
+ }, z.core.$strip>>;
6304
+ updatedAt: z.ZodOptional<z.ZodString>;
6305
+ }, z.core.$strip>;
6306
+ }, z.core.$strip>;
6307
+ /** v3 unified generate request body. */
6308
+ declare const v3GenerateRequestSchema: z.ZodObject<{
6309
+ feature: z.ZodString;
6310
+ variant: z.ZodString;
6311
+ ticketId: z.ZodOptional<z.ZodString>;
6312
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6313
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6314
+ count: z.ZodOptional<z.ZodNumber>;
6315
+ stream: z.ZodOptional<z.ZodBoolean>;
6316
+ }, z.core.$strip>;
6317
+ /** v3 text generate request body. */
6318
+ declare const v3TextGenerateRequestSchema: z.ZodObject<{
6319
+ feature: z.ZodString;
6320
+ variant: z.ZodString;
6321
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6322
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6323
+ stream: z.ZodOptional<z.ZodBoolean>;
6324
+ }, z.core.$strip>;
6325
+ /** v3 text generate response. */
6326
+ declare const v3TextGenerateResponseSchema: z.ZodObject<{
6327
+ success: z.ZodLiteral<true>;
6328
+ data: z.ZodObject<{
6329
+ text: z.ZodString;
6330
+ creditsConsumed: z.ZodOptional<z.ZodNumber>;
6331
+ taskId: z.ZodOptional<z.ZodString>;
6332
+ }, z.core.$strip>;
6333
+ }, z.core.$strip>;
6334
+ /** Individual task item within a v3 response. */
6335
+ declare const v3TaskItemSchema: z.ZodObject<{
6336
+ taskId: z.ZodString;
6337
+ status: z.ZodEnum<{
6338
+ queued: "queued";
6339
+ running: "running";
6340
+ succeeded: "succeeded";
6341
+ failed: "failed";
6342
+ canceled: "canceled";
6343
+ }>;
6344
+ resultUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
6345
+ resultText: z.ZodOptional<z.ZodString>;
6346
+ creditsConsumed: z.ZodOptional<z.ZodNumber>;
6347
+ error: z.ZodOptional<z.ZodObject<{
6348
+ code: z.ZodOptional<z.ZodString>;
6349
+ message: z.ZodString;
6350
+ }, z.core.$strip>>;
6351
+ }, z.core.$strip>;
6352
+ /** Successful single-task query response. */
6353
+ declare const v3TaskResponseSchema: z.ZodObject<{
6354
+ success: z.ZodLiteral<true>;
6355
+ data: z.ZodObject<{
6356
+ taskId: z.ZodString;
6357
+ status: z.ZodEnum<{
6358
+ queued: "queued";
6359
+ running: "running";
6360
+ succeeded: "succeeded";
6361
+ failed: "failed";
6362
+ canceled: "canceled";
6363
+ }>;
6364
+ resultUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
6365
+ resultText: z.ZodOptional<z.ZodString>;
6366
+ creditsConsumed: z.ZodOptional<z.ZodNumber>;
6367
+ error: z.ZodOptional<z.ZodObject<{
6368
+ code: z.ZodOptional<z.ZodString>;
6369
+ message: z.ZodString;
6370
+ }, z.core.$strip>>;
6371
+ }, z.core.$strip>;
6372
+ }, z.core.$strip>;
6373
+ /** Successful generate response — single task or batch group. */
6374
+ declare const v3TaskCreatedSchema: z.ZodObject<{
6375
+ success: z.ZodLiteral<true>;
6376
+ data: z.ZodUnion<readonly [z.ZodObject<{
6377
+ taskId: z.ZodString;
6378
+ }, z.core.$strip>, z.ZodObject<{
6379
+ groupId: z.ZodString;
6380
+ taskIds: z.ZodArray<z.ZodString>;
6381
+ }, z.core.$strip>]>;
6382
+ }, z.core.$strip>;
6383
+ /** Successful task group query response. */
6384
+ declare const v3TaskGroupResponseSchema: z.ZodObject<{
6385
+ success: z.ZodLiteral<true>;
6386
+ data: z.ZodObject<{
6387
+ groupId: z.ZodString;
6388
+ status: z.ZodEnum<{
6389
+ running: "running";
6390
+ succeeded: "succeeded";
6391
+ failed: "failed";
6392
+ partial: "partial";
6393
+ }>;
6394
+ tasks: z.ZodArray<z.ZodObject<{
6395
+ taskId: z.ZodString;
6396
+ status: z.ZodEnum<{
6397
+ queued: "queued";
6398
+ running: "running";
6399
+ succeeded: "succeeded";
6400
+ failed: "failed";
6401
+ canceled: "canceled";
6402
+ }>;
6403
+ resultUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
6404
+ resultText: z.ZodOptional<z.ZodString>;
6405
+ creditsConsumed: z.ZodOptional<z.ZodNumber>;
6406
+ error: z.ZodOptional<z.ZodObject<{
6407
+ code: z.ZodOptional<z.ZodString>;
6408
+ message: z.ZodString;
6409
+ }, z.core.$strip>>;
6410
+ }, z.core.$strip>>;
6411
+ totalCreditsConsumed: z.ZodOptional<z.ZodNumber>;
6412
+ }, z.core.$strip>;
6413
+ }, z.core.$strip>;
6414
+ /** Basic success response for cancel and other simple operations. */
6415
+ declare const v3BasicSuccessSchema: z.ZodObject<{
6416
+ success: z.ZodLiteral<true>;
6417
+ message: z.ZodOptional<z.ZodString>;
6418
+ }, z.core.$strip>;
6419
+ /** v3 estimate price request body. */
6420
+ declare const v3EstimatePriceRequestSchema: z.ZodObject<{
6369
6421
  variant: z.ZodString;
6370
6422
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6371
6423
  }, z.core.$strip>;
@@ -6532,6 +6584,10 @@ type V3Variant = z.infer<typeof v3VariantSchema>;
6532
6584
  type V3Feature = z.infer<typeof v3FeatureSchema>;
6533
6585
  /** Tool feature entry within a capabilities response (category = "tools"). */
6534
6586
  type V3ToolFeature = z.infer<typeof v3ToolFeatureSchema>;
6587
+ /** Tools-capabilities data payload (narrowed to tool features). */
6588
+ type V3ToolsCapabilitiesData = z.infer<typeof v3ToolsCapabilitiesDataSchema>;
6589
+ /** Tools-capabilities response (narrowed to tool features). */
6590
+ type V3ToolsCapabilitiesResponse = z.infer<typeof v3ToolsCapabilitiesResponseSchema>;
6535
6591
  /** Capabilities data payload. */
6536
6592
  type V3CapabilitiesData = z.infer<typeof v3CapabilitiesDataSchema>;
6537
6593
  /** Full capabilities response. */
@@ -6725,26 +6781,286 @@ declare class AiClient {
6725
6781
  } | undefined;
6726
6782
  } | undefined;
6727
6783
  }[];
6728
- apiUrl?: string | undefined;
6729
- authType?: string | undefined;
6730
- websiteUrl?: string | null | undefined;
6731
- docUrl?: string | null | undefined;
6732
- }[];
6784
+ apiUrl?: string | undefined;
6785
+ authType?: string | undefined;
6786
+ websiteUrl?: string | null | undefined;
6787
+ docUrl?: string | null | undefined;
6788
+ }[];
6789
+ updatedAt?: string | undefined;
6790
+ };
6791
+ }>;
6792
+ /**
6793
+ * Fetch capabilities overview (simplified list for AI agent discovery).
6794
+ * 公开接口,无需认证。支持 category 过滤。
6795
+ */
6796
+ capabilitiesOverview(category?: "image" | "video" | "audio" | "text" | "tools"): Promise<V3CapabilitiesOverviewResponse>;
6797
+ /**
6798
+ * Fetch variant detail by ID (full params, inputs, invocation info).
6799
+ * 公开接口,无需认证。
6800
+ */
6801
+ capabilitiesDetail(variantId: string): Promise<V3CapabilitiesDetailResponse>;
6802
+ /** Fetch image capabilities (features + variants) via v3 API. */
6803
+ imageCapabilities(): Promise<{
6804
+ success: true;
6805
+ data: {
6806
+ category: string;
6807
+ features: ({
6808
+ id: string;
6809
+ displayName: string;
6810
+ description: string;
6811
+ variants: {
6812
+ id: string;
6813
+ featureTabName: string;
6814
+ creditsPerCall: number;
6815
+ billingType: string;
6816
+ minMembershipLevel: string;
6817
+ maxBatchSize: number;
6818
+ resourceConstraints: {
6819
+ maxFileSize: number;
6820
+ maxFiles: number;
6821
+ acceptedFormats: string[];
6822
+ requiresUpload: boolean;
6823
+ maxResolution?: number | undefined;
6824
+ precheck?: {
6825
+ type: string;
6826
+ description: string;
6827
+ } | undefined;
6828
+ } | null;
6829
+ resultType: "text" | "image" | "audio" | "video";
6830
+ isAsync: boolean;
6831
+ paramsSchema: ({
6832
+ key: string;
6833
+ label: string;
6834
+ type: "select";
6835
+ default?: unknown;
6836
+ group?: "primary" | "advanced" | undefined;
6837
+ visibleWhen?: unknown;
6838
+ clientOnly?: boolean | undefined;
6839
+ hint?: string | undefined;
6840
+ required?: boolean | undefined;
6841
+ options?: {
6842
+ value: string | number | boolean;
6843
+ label: string;
6844
+ thumbnail?: string | undefined;
6845
+ }[] | undefined;
6846
+ catalog?: string | undefined;
6847
+ display?: "dropdown" | "grid" | "pills" | undefined;
6848
+ searchable?: boolean | undefined;
6849
+ } | {
6850
+ key: string;
6851
+ label: string;
6852
+ type: "tab";
6853
+ options: {
6854
+ value: string | number | boolean;
6855
+ label: string;
6856
+ thumbnail?: string | undefined;
6857
+ }[];
6858
+ default?: unknown;
6859
+ group?: "primary" | "advanced" | undefined;
6860
+ visibleWhen?: unknown;
6861
+ clientOnly?: boolean | undefined;
6862
+ hint?: string | undefined;
6863
+ required?: boolean | undefined;
6864
+ } | {
6865
+ key: string;
6866
+ label: string;
6867
+ type: "boolean";
6868
+ default?: unknown;
6869
+ group?: "primary" | "advanced" | undefined;
6870
+ visibleWhen?: unknown;
6871
+ clientOnly?: boolean | undefined;
6872
+ hint?: string | undefined;
6873
+ required?: boolean | undefined;
6874
+ } | {
6875
+ key: string;
6876
+ label: string;
6877
+ type: "text";
6878
+ default?: unknown;
6879
+ group?: "primary" | "advanced" | undefined;
6880
+ visibleWhen?: unknown;
6881
+ clientOnly?: boolean | undefined;
6882
+ hint?: string | undefined;
6883
+ required?: boolean | undefined;
6884
+ multiline?: boolean | undefined;
6885
+ placeholder?: string | undefined;
6886
+ minLength?: number | undefined;
6887
+ maxLength?: number | undefined;
6888
+ } | {
6889
+ key: string;
6890
+ label: string;
6891
+ type: "slider";
6892
+ min: number;
6893
+ max: number;
6894
+ default?: unknown;
6895
+ group?: "primary" | "advanced" | undefined;
6896
+ visibleWhen?: unknown;
6897
+ clientOnly?: boolean | undefined;
6898
+ hint?: string | undefined;
6899
+ required?: boolean | undefined;
6900
+ step?: number | undefined;
6901
+ } | {
6902
+ key: string;
6903
+ label: string;
6904
+ type: "number";
6905
+ default?: unknown;
6906
+ group?: "primary" | "advanced" | undefined;
6907
+ visibleWhen?: unknown;
6908
+ clientOnly?: boolean | undefined;
6909
+ hint?: string | undefined;
6910
+ required?: boolean | undefined;
6911
+ min?: number | undefined;
6912
+ max?: number | undefined;
6913
+ step?: number | undefined;
6914
+ })[];
6915
+ inputSlots: {
6916
+ role: string;
6917
+ accept: "text" | "file" | "image" | "audio" | "video";
6918
+ label: string;
6919
+ key?: string | undefined;
6920
+ required?: boolean | undefined;
6921
+ minCount?: number | undefined;
6922
+ maxCount?: number | undefined;
6923
+ placeholder?: string | undefined;
6924
+ multiline?: boolean | undefined;
6925
+ minLength?: number | undefined;
6926
+ maxLength?: number | undefined;
6927
+ maxFileSize?: number | undefined;
6928
+ acceptFormats?: string[] | undefined;
6929
+ minResolution?: number | undefined;
6930
+ maxResolution?: number | undefined;
6931
+ minDuration?: number | undefined;
6932
+ maxDuration?: number | undefined;
6933
+ hint?: string | undefined;
6934
+ sharedGroup?: string | undefined;
6935
+ sharedMaxCount?: number | undefined;
6936
+ }[];
6937
+ estimatedDurationMs?: number | undefined;
6938
+ executionMode?: "task" | "streaming" | "sync" | undefined;
6939
+ endpoint?: string | undefined;
6940
+ tags?: string[] | undefined;
6941
+ familyId?: string | undefined;
6942
+ }[];
6943
+ } | {
6944
+ id: string;
6945
+ displayName: string;
6946
+ description: string;
6947
+ endpoint: string;
6948
+ creditsPerCall: number;
6949
+ billingType: string;
6950
+ minMembershipLevel: string;
6951
+ executionMode: "sync";
6952
+ inputSlots: {
6953
+ role: string;
6954
+ accept: "text" | "file" | "image" | "audio" | "video";
6955
+ label: string;
6956
+ key?: string | undefined;
6957
+ required?: boolean | undefined;
6958
+ minCount?: number | undefined;
6959
+ maxCount?: number | undefined;
6960
+ placeholder?: string | undefined;
6961
+ multiline?: boolean | undefined;
6962
+ minLength?: number | undefined;
6963
+ maxLength?: number | undefined;
6964
+ maxFileSize?: number | undefined;
6965
+ acceptFormats?: string[] | undefined;
6966
+ minResolution?: number | undefined;
6967
+ maxResolution?: number | undefined;
6968
+ minDuration?: number | undefined;
6969
+ maxDuration?: number | undefined;
6970
+ hint?: string | undefined;
6971
+ sharedGroup?: string | undefined;
6972
+ sharedMaxCount?: number | undefined;
6973
+ }[];
6974
+ paramsSchema: ({
6975
+ key: string;
6976
+ label: string;
6977
+ type: "select";
6978
+ default?: unknown;
6979
+ group?: "primary" | "advanced" | undefined;
6980
+ visibleWhen?: unknown;
6981
+ clientOnly?: boolean | undefined;
6982
+ hint?: string | undefined;
6983
+ required?: boolean | undefined;
6984
+ options?: {
6985
+ value: string | number | boolean;
6986
+ label: string;
6987
+ thumbnail?: string | undefined;
6988
+ }[] | undefined;
6989
+ catalog?: string | undefined;
6990
+ display?: "dropdown" | "grid" | "pills" | undefined;
6991
+ searchable?: boolean | undefined;
6992
+ } | {
6993
+ key: string;
6994
+ label: string;
6995
+ type: "tab";
6996
+ options: {
6997
+ value: string | number | boolean;
6998
+ label: string;
6999
+ thumbnail?: string | undefined;
7000
+ }[];
7001
+ default?: unknown;
7002
+ group?: "primary" | "advanced" | undefined;
7003
+ visibleWhen?: unknown;
7004
+ clientOnly?: boolean | undefined;
7005
+ hint?: string | undefined;
7006
+ required?: boolean | undefined;
7007
+ } | {
7008
+ key: string;
7009
+ label: string;
7010
+ type: "boolean";
7011
+ default?: unknown;
7012
+ group?: "primary" | "advanced" | undefined;
7013
+ visibleWhen?: unknown;
7014
+ clientOnly?: boolean | undefined;
7015
+ hint?: string | undefined;
7016
+ required?: boolean | undefined;
7017
+ } | {
7018
+ key: string;
7019
+ label: string;
7020
+ type: "text";
7021
+ default?: unknown;
7022
+ group?: "primary" | "advanced" | undefined;
7023
+ visibleWhen?: unknown;
7024
+ clientOnly?: boolean | undefined;
7025
+ hint?: string | undefined;
7026
+ required?: boolean | undefined;
7027
+ multiline?: boolean | undefined;
7028
+ placeholder?: string | undefined;
7029
+ minLength?: number | undefined;
7030
+ maxLength?: number | undefined;
7031
+ } | {
7032
+ key: string;
7033
+ label: string;
7034
+ type: "slider";
7035
+ min: number;
7036
+ max: number;
7037
+ default?: unknown;
7038
+ group?: "primary" | "advanced" | undefined;
7039
+ visibleWhen?: unknown;
7040
+ clientOnly?: boolean | undefined;
7041
+ hint?: string | undefined;
7042
+ required?: boolean | undefined;
7043
+ step?: number | undefined;
7044
+ } | {
7045
+ key: string;
7046
+ label: string;
7047
+ type: "number";
7048
+ default?: unknown;
7049
+ group?: "primary" | "advanced" | undefined;
7050
+ visibleWhen?: unknown;
7051
+ clientOnly?: boolean | undefined;
7052
+ hint?: string | undefined;
7053
+ required?: boolean | undefined;
7054
+ min?: number | undefined;
7055
+ max?: number | undefined;
7056
+ step?: number | undefined;
7057
+ })[];
7058
+ })[];
6733
7059
  updatedAt?: string | undefined;
6734
7060
  };
6735
7061
  }>;
6736
- /**
6737
- * Fetch capabilities overview (simplified list for AI agent discovery).
6738
- * 公开接口,无需认证。支持 category 过滤。
6739
- */
6740
- capabilitiesOverview(category?: "image" | "video" | "audio" | "text" | "tools"): Promise<V3CapabilitiesOverviewResponse>;
6741
- /**
6742
- * Fetch variant detail by ID (full params, inputs, invocation info).
6743
- * 公开接口,无需认证。
6744
- */
6745
- capabilitiesDetail(variantId: string): Promise<V3CapabilitiesDetailResponse>;
6746
- /** Fetch image capabilities (features + variants) via v3 API. */
6747
- imageCapabilities(): Promise<{
7062
+ /** Fetch video capabilities (features + variants) via v3 API. */
7063
+ videoCapabilities(): Promise<{
6748
7064
  success: true;
6749
7065
  data: {
6750
7066
  category: string;
@@ -6878,6 +7194,7 @@ declare class AiClient {
6878
7194
  sharedGroup?: string | undefined;
6879
7195
  sharedMaxCount?: number | undefined;
6880
7196
  }[];
7197
+ estimatedDurationMs?: number | undefined;
6881
7198
  executionMode?: "task" | "streaming" | "sync" | undefined;
6882
7199
  endpoint?: string | undefined;
6883
7200
  tags?: string[] | undefined;
@@ -7002,8 +7319,8 @@ declare class AiClient {
7002
7319
  updatedAt?: string | undefined;
7003
7320
  };
7004
7321
  }>;
7005
- /** Fetch video capabilities (features + variants) via v3 API. */
7006
- videoCapabilities(): Promise<{
7322
+ /** Fetch audio capabilities (features + variants) via v3 API. */
7323
+ audioCapabilities(): Promise<{
7007
7324
  success: true;
7008
7325
  data: {
7009
7326
  category: string;
@@ -7137,6 +7454,7 @@ declare class AiClient {
7137
7454
  sharedGroup?: string | undefined;
7138
7455
  sharedMaxCount?: number | undefined;
7139
7456
  }[];
7457
+ estimatedDurationMs?: number | undefined;
7140
7458
  executionMode?: "task" | "streaming" | "sync" | undefined;
7141
7459
  endpoint?: string | undefined;
7142
7460
  tags?: string[] | undefined;
@@ -7261,8 +7579,8 @@ declare class AiClient {
7261
7579
  updatedAt?: string | undefined;
7262
7580
  };
7263
7581
  }>;
7264
- /** Fetch audio capabilities (features + variants) via v3 API. */
7265
- audioCapabilities(): Promise<{
7582
+ /** Fetch text capabilities (features + variants) via v3 API. */
7583
+ textCapabilities(): Promise<{
7266
7584
  success: true;
7267
7585
  data: {
7268
7586
  category: string;
@@ -7396,6 +7714,7 @@ declare class AiClient {
7396
7714
  sharedGroup?: string | undefined;
7397
7715
  sharedMaxCount?: number | undefined;
7398
7716
  }[];
7717
+ estimatedDurationMs?: number | undefined;
7399
7718
  executionMode?: "task" | "streaming" | "sync" | undefined;
7400
7719
  endpoint?: string | undefined;
7401
7720
  tags?: string[] | undefined;
@@ -7520,8 +7839,8 @@ declare class AiClient {
7520
7839
  updatedAt?: string | undefined;
7521
7840
  };
7522
7841
  }>;
7523
- /** Fetch text capabilities (features + variants) via v3 API. */
7524
- textCapabilities(): Promise<{
7842
+ /** Fetch chat capabilities (features + variants) via v3 API. */
7843
+ chatCapabilities(): Promise<{
7525
7844
  success: true;
7526
7845
  data: {
7527
7846
  category: string;
@@ -7655,6 +7974,7 @@ declare class AiClient {
7655
7974
  sharedGroup?: string | undefined;
7656
7975
  sharedMaxCount?: number | undefined;
7657
7976
  }[];
7977
+ estimatedDurationMs?: number | undefined;
7658
7978
  executionMode?: "task" | "streaming" | "sync" | undefined;
7659
7979
  endpoint?: string | undefined;
7660
7980
  tags?: string[] | undefined;
@@ -7779,6 +8099,139 @@ declare class AiClient {
7779
8099
  updatedAt?: string | undefined;
7780
8100
  };
7781
8101
  }>;
8102
+ /**
8103
+ * Fetch tools capabilities via v3 API.
8104
+ * Tool 能力的响应已扁平化:features 数组元素为 {@link V3ToolFeature}(无 variants 字段),
8105
+ * 直接携带 endpoint / inputSlots / paramsSchema / creditsPerCall 等调用所需字段。
8106
+ */
8107
+ toolsCapabilities(): Promise<{
8108
+ success: true;
8109
+ data: {
8110
+ category: "tools";
8111
+ features: {
8112
+ id: string;
8113
+ displayName: string;
8114
+ description: string;
8115
+ endpoint: string;
8116
+ creditsPerCall: number;
8117
+ billingType: string;
8118
+ minMembershipLevel: string;
8119
+ executionMode: "sync";
8120
+ inputSlots: {
8121
+ role: string;
8122
+ accept: "text" | "file" | "image" | "audio" | "video";
8123
+ label: string;
8124
+ key?: string | undefined;
8125
+ required?: boolean | undefined;
8126
+ minCount?: number | undefined;
8127
+ maxCount?: number | undefined;
8128
+ placeholder?: string | undefined;
8129
+ multiline?: boolean | undefined;
8130
+ minLength?: number | undefined;
8131
+ maxLength?: number | undefined;
8132
+ maxFileSize?: number | undefined;
8133
+ acceptFormats?: string[] | undefined;
8134
+ minResolution?: number | undefined;
8135
+ maxResolution?: number | undefined;
8136
+ minDuration?: number | undefined;
8137
+ maxDuration?: number | undefined;
8138
+ hint?: string | undefined;
8139
+ sharedGroup?: string | undefined;
8140
+ sharedMaxCount?: number | undefined;
8141
+ }[];
8142
+ paramsSchema: ({
8143
+ key: string;
8144
+ label: string;
8145
+ type: "select";
8146
+ default?: unknown;
8147
+ group?: "primary" | "advanced" | undefined;
8148
+ visibleWhen?: unknown;
8149
+ clientOnly?: boolean | undefined;
8150
+ hint?: string | undefined;
8151
+ required?: boolean | undefined;
8152
+ options?: {
8153
+ value: string | number | boolean;
8154
+ label: string;
8155
+ thumbnail?: string | undefined;
8156
+ }[] | undefined;
8157
+ catalog?: string | undefined;
8158
+ display?: "dropdown" | "grid" | "pills" | undefined;
8159
+ searchable?: boolean | undefined;
8160
+ } | {
8161
+ key: string;
8162
+ label: string;
8163
+ type: "tab";
8164
+ options: {
8165
+ value: string | number | boolean;
8166
+ label: string;
8167
+ thumbnail?: string | undefined;
8168
+ }[];
8169
+ default?: unknown;
8170
+ group?: "primary" | "advanced" | undefined;
8171
+ visibleWhen?: unknown;
8172
+ clientOnly?: boolean | undefined;
8173
+ hint?: string | undefined;
8174
+ required?: boolean | undefined;
8175
+ } | {
8176
+ key: string;
8177
+ label: string;
8178
+ type: "boolean";
8179
+ default?: unknown;
8180
+ group?: "primary" | "advanced" | undefined;
8181
+ visibleWhen?: unknown;
8182
+ clientOnly?: boolean | undefined;
8183
+ hint?: string | undefined;
8184
+ required?: boolean | undefined;
8185
+ } | {
8186
+ key: string;
8187
+ label: string;
8188
+ type: "text";
8189
+ default?: unknown;
8190
+ group?: "primary" | "advanced" | undefined;
8191
+ visibleWhen?: unknown;
8192
+ clientOnly?: boolean | undefined;
8193
+ hint?: string | undefined;
8194
+ required?: boolean | undefined;
8195
+ multiline?: boolean | undefined;
8196
+ placeholder?: string | undefined;
8197
+ minLength?: number | undefined;
8198
+ maxLength?: number | undefined;
8199
+ } | {
8200
+ key: string;
8201
+ label: string;
8202
+ type: "slider";
8203
+ min: number;
8204
+ max: number;
8205
+ default?: unknown;
8206
+ group?: "primary" | "advanced" | undefined;
8207
+ visibleWhen?: unknown;
8208
+ clientOnly?: boolean | undefined;
8209
+ hint?: string | undefined;
8210
+ required?: boolean | undefined;
8211
+ step?: number | undefined;
8212
+ } | {
8213
+ key: string;
8214
+ label: string;
8215
+ type: "number";
8216
+ default?: unknown;
8217
+ group?: "primary" | "advanced" | undefined;
8218
+ visibleWhen?: unknown;
8219
+ clientOnly?: boolean | undefined;
8220
+ hint?: string | undefined;
8221
+ required?: boolean | undefined;
8222
+ min?: number | undefined;
8223
+ max?: number | undefined;
8224
+ step?: number | undefined;
8225
+ })[];
8226
+ }[];
8227
+ updatedAt?: string | undefined;
8228
+ };
8229
+ }>;
8230
+ /**
8231
+ * Execute a v3 tool synchronously (e.g. webSearch / webSearchImage).
8232
+ * `variant` 可省略 —— 工具 feature 强制单一 variant,服务端按 feature 自动解析。
8233
+ */
8234
+ v3ToolExecute(payload: V3ToolExecuteRequest): Promise<V3ToolExecuteResponse>;
7782
8235
  /** Submit a v3 text generate request (sync mode, returns parsed JSON). */
7783
8236
  v3TextGenerate(payload: V3TextGenerateRequest): Promise<V3TextGenerateResponse>;
7784
8237
  /**
@@ -8695,6 +9148,8 @@ type index$9_V3TextGenerateResponse = V3TextGenerateResponse;
8695
9148
  type index$9_V3ToolExecuteRequest = V3ToolExecuteRequest;
8696
9149
  type index$9_V3ToolExecuteResponse = V3ToolExecuteResponse;
8697
9150
  type index$9_V3ToolFeature = V3ToolFeature;
9151
+ type index$9_V3ToolsCapabilitiesData = V3ToolsCapabilitiesData;
9152
+ type index$9_V3ToolsCapabilitiesResponse = V3ToolsCapabilitiesResponse;
8698
9153
  type index$9_V3UploadResponse = V3UploadResponse;
8699
9154
  type index$9_V3Variant = V3Variant;
8700
9155
  declare const index$9_aiChatCompletionsRequestSchema: typeof aiChatCompletionsRequestSchema;
@@ -8751,10 +9206,12 @@ declare const index$9_v3TextGenerateResponseSchema: typeof v3TextGenerateRespons
8751
9206
  declare const index$9_v3ToolExecuteRequestSchema: typeof v3ToolExecuteRequestSchema;
8752
9207
  declare const index$9_v3ToolExecuteResponseSchema: typeof v3ToolExecuteResponseSchema;
8753
9208
  declare const index$9_v3ToolFeatureSchema: typeof v3ToolFeatureSchema;
9209
+ declare const index$9_v3ToolsCapabilitiesDataSchema: typeof v3ToolsCapabilitiesDataSchema;
9210
+ declare const index$9_v3ToolsCapabilitiesResponseSchema: typeof v3ToolsCapabilitiesResponseSchema;
8754
9211
  declare const index$9_v3UploadResponseSchema: typeof v3UploadResponseSchema;
8755
9212
  declare const index$9_v3VariantSchema: typeof v3VariantSchema;
8756
9213
  declare namespace index$9 {
8757
- export { index$9_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$9_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$9_AI_MODEL_TAGS as AI_MODEL_TAGS, index$9_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$9_AiChatCompletionsRequest as AiChatCompletionsRequest, type index$9_AiChatModel as AiChatModel, type index$9_AiChatModelsResponse as AiChatModelsResponse, type index$9_AiChatSessionMetadata as AiChatSessionMetadata, index$9_AiClient as AiClient, type index$9_AiClientMetadata as AiClientMetadata, type index$9_AiFileUploadOptions as AiFileUploadOptions, type index$9_AiFileUploadResponse as AiFileUploadResponse, type index$9_AiModel as AiModel, type index$9_AiModelCapabilities as AiModelCapabilities, type index$9_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$9_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$9_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$9_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$9_AiModelTag as AiModelTag, type index$9_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$9_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$9_AiProviderTemplate as AiProviderTemplate, type index$9_AiProviderTemplateModel as AiProviderTemplateModel, type index$9_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$9_AiResponsesRequest as AiResponsesRequest, index$9_MEDIA_FEATURES as MEDIA_FEATURES, index$9_MODEL_PROVIDERS as MODEL_PROVIDERS, type index$9_MediaFeatureId as MediaFeatureId, type index$9_ModelProviderId as ModelProviderId, type index$9_V3BasicSuccess as V3BasicSuccess, type index$9_V3CapabilitiesData as V3CapabilitiesData, type index$9_V3CapabilitiesDetailResponse as V3CapabilitiesDetailResponse, type index$9_V3CapabilitiesOverviewRequest as V3CapabilitiesOverviewRequest, type index$9_V3CapabilitiesOverviewResponse as V3CapabilitiesOverviewResponse, type index$9_V3CapabilitiesResponse as V3CapabilitiesResponse, type index$9_V3CreditEstimate as V3CreditEstimate, type index$9_V3EstimatePriceRequest as V3EstimatePriceRequest, type index$9_V3EstimatePriceResponse as V3EstimatePriceResponse, type index$9_V3Feature as V3Feature, type index$9_V3GenerateRequest as V3GenerateRequest, type index$9_V3InputSlot as V3InputSlot, type index$9_V3ParamSchema as V3ParamSchema, type index$9_V3QueueRequest as V3QueueRequest, type index$9_V3QueueResponse as V3QueueResponse, type index$9_V3QueueTicket as V3QueueTicket, type index$9_V3TaskCreated as V3TaskCreated, type index$9_V3TaskGroupResponse as V3TaskGroupResponse, type index$9_V3TaskItem as V3TaskItem, type index$9_V3TaskResponse as V3TaskResponse, type index$9_V3TaskSSEEvent as V3TaskSSEEvent, type index$9_V3TextChatRequest as V3TextChatRequest, type index$9_V3TextGenerateRequest as V3TextGenerateRequest, type index$9_V3TextGenerateResponse as V3TextGenerateResponse, type index$9_V3ToolExecuteRequest as V3ToolExecuteRequest, type index$9_V3ToolExecuteResponse as V3ToolExecuteResponse, type index$9_V3ToolFeature as V3ToolFeature, type index$9_V3UploadResponse as V3UploadResponse, type index$9_V3Variant as V3Variant, index$9_aiChatCompletionsRequestSchema as aiChatCompletionsRequestSchema, index$9_aiChatModelSchema as aiChatModelSchema, index$9_aiChatModelsPayloadSchema as aiChatModelsPayloadSchema, index$9_aiChatModelsResponseSchema as aiChatModelsResponseSchema, index$9_aiChatModelsSuccessSchema as aiChatModelsSuccessSchema, index$9_aiChatSessionMetadataSchema as aiChatSessionMetadataSchema, index$9_aiClientMetadataSchema as aiClientMetadataSchema, index$9_aiEndpoints as aiEndpoints, index$9_aiErrorResponseSchema as aiErrorResponseSchema, index$9_aiModelCapabilitiesInputSchema as aiModelCapabilitiesInputSchema, index$9_aiModelCapabilitiesOutputSchema as aiModelCapabilitiesOutputSchema, index$9_aiModelCapabilitiesSchema as aiModelCapabilitiesSchema, index$9_aiModelCapabilityCommonSchema as aiModelCapabilityCommonSchema, index$9_aiModelParameterFieldSchema as aiModelParameterFieldSchema, index$9_aiModelParamsSchema as aiModelParamsSchema, index$9_aiModelSchema as aiModelSchema, index$9_aiModelsRequestSchema as aiModelsRequestSchema, index$9_aiModelsUpdatedAtDataSchema as aiModelsUpdatedAtDataSchema, index$9_aiModelsUpdatedAtResponseSchema as aiModelsUpdatedAtResponseSchema, index$9_aiModelsUpdatedAtSuccessSchema as aiModelsUpdatedAtSuccessSchema, index$9_aiProviderTemplateModelSchema as aiProviderTemplateModelSchema, index$9_aiProviderTemplateSchema as aiProviderTemplateSchema, index$9_aiProviderTemplatesPayloadSchema as aiProviderTemplatesPayloadSchema, index$9_aiProviderTemplatesRequestSchema as aiProviderTemplatesRequestSchema, index$9_aiProviderTemplatesResponseSchema as aiProviderTemplatesResponseSchema, index$9_aiProviderTemplatesSuccessSchema as aiProviderTemplatesSuccessSchema, index$9_aiResponsesRequestSchema as aiResponsesRequestSchema, index$9_inputSlotSchema as inputSlotSchema, index$9_paramSchemaSchema as paramSchemaSchema, index$9_v3BasicSuccessSchema as v3BasicSuccessSchema, index$9_v3CapabilitiesDataSchema as v3CapabilitiesDataSchema, index$9_v3CapabilitiesDetailResponseSchema as v3CapabilitiesDetailResponseSchema, index$9_v3CapabilitiesOverviewRequestSchema as v3CapabilitiesOverviewRequestSchema, index$9_v3CapabilitiesOverviewResponseSchema as v3CapabilitiesOverviewResponseSchema, index$9_v3CapabilitiesResponseSchema as v3CapabilitiesResponseSchema, index$9_v3CreditEstimateSchema as v3CreditEstimateSchema, index$9_v3EstimatePriceRequestSchema as v3EstimatePriceRequestSchema, index$9_v3EstimatePriceResponseSchema as v3EstimatePriceResponseSchema, index$9_v3FeatureSchema as v3FeatureSchema, index$9_v3GenerateRequestSchema as v3GenerateRequestSchema, index$9_v3QueueRequestSchema as v3QueueRequestSchema, index$9_v3QueueResponseSchema as v3QueueResponseSchema, index$9_v3QueueTicketSchema as v3QueueTicketSchema, index$9_v3TaskCreatedSchema as v3TaskCreatedSchema, index$9_v3TaskGroupResponseSchema as v3TaskGroupResponseSchema, index$9_v3TaskItemSchema as v3TaskItemSchema, index$9_v3TaskResponseSchema as v3TaskResponseSchema, index$9_v3TaskSSEEventSchema as v3TaskSSEEventSchema, index$9_v3TextChatRequestSchema as v3TextChatRequestSchema, index$9_v3TextGenerateRequestSchema as v3TextGenerateRequestSchema, index$9_v3TextGenerateResponseSchema as v3TextGenerateResponseSchema, index$9_v3ToolExecuteRequestSchema as v3ToolExecuteRequestSchema, index$9_v3ToolExecuteResponseSchema as v3ToolExecuteResponseSchema, index$9_v3ToolFeatureSchema as v3ToolFeatureSchema, index$9_v3UploadResponseSchema as v3UploadResponseSchema, index$9_v3VariantSchema as v3VariantSchema };
9214
+ export { index$9_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$9_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$9_AI_MODEL_TAGS as AI_MODEL_TAGS, index$9_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$9_AiChatCompletionsRequest as AiChatCompletionsRequest, type index$9_AiChatModel as AiChatModel, type index$9_AiChatModelsResponse as AiChatModelsResponse, type index$9_AiChatSessionMetadata as AiChatSessionMetadata, index$9_AiClient as AiClient, type index$9_AiClientMetadata as AiClientMetadata, type index$9_AiFileUploadOptions as AiFileUploadOptions, type index$9_AiFileUploadResponse as AiFileUploadResponse, type index$9_AiModel as AiModel, type index$9_AiModelCapabilities as AiModelCapabilities, type index$9_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$9_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$9_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$9_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$9_AiModelTag as AiModelTag, type index$9_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$9_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$9_AiProviderTemplate as AiProviderTemplate, type index$9_AiProviderTemplateModel as AiProviderTemplateModel, type index$9_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$9_AiResponsesRequest as AiResponsesRequest, index$9_MEDIA_FEATURES as MEDIA_FEATURES, index$9_MODEL_PROVIDERS as MODEL_PROVIDERS, type index$9_MediaFeatureId as MediaFeatureId, type index$9_ModelProviderId as ModelProviderId, type index$9_V3BasicSuccess as V3BasicSuccess, type index$9_V3CapabilitiesData as V3CapabilitiesData, type index$9_V3CapabilitiesDetailResponse as V3CapabilitiesDetailResponse, type index$9_V3CapabilitiesOverviewRequest as V3CapabilitiesOverviewRequest, type index$9_V3CapabilitiesOverviewResponse as V3CapabilitiesOverviewResponse, type index$9_V3CapabilitiesResponse as V3CapabilitiesResponse, type index$9_V3CreditEstimate as V3CreditEstimate, type index$9_V3EstimatePriceRequest as V3EstimatePriceRequest, type index$9_V3EstimatePriceResponse as V3EstimatePriceResponse, type index$9_V3Feature as V3Feature, type index$9_V3GenerateRequest as V3GenerateRequest, type index$9_V3InputSlot as V3InputSlot, type index$9_V3ParamSchema as V3ParamSchema, type index$9_V3QueueRequest as V3QueueRequest, type index$9_V3QueueResponse as V3QueueResponse, type index$9_V3QueueTicket as V3QueueTicket, type index$9_V3TaskCreated as V3TaskCreated, type index$9_V3TaskGroupResponse as V3TaskGroupResponse, type index$9_V3TaskItem as V3TaskItem, type index$9_V3TaskResponse as V3TaskResponse, type index$9_V3TaskSSEEvent as V3TaskSSEEvent, type index$9_V3TextChatRequest as V3TextChatRequest, type index$9_V3TextGenerateRequest as V3TextGenerateRequest, type index$9_V3TextGenerateResponse as V3TextGenerateResponse, type index$9_V3ToolExecuteRequest as V3ToolExecuteRequest, type index$9_V3ToolExecuteResponse as V3ToolExecuteResponse, type index$9_V3ToolFeature as V3ToolFeature, type index$9_V3ToolsCapabilitiesData as V3ToolsCapabilitiesData, type index$9_V3ToolsCapabilitiesResponse as V3ToolsCapabilitiesResponse, type index$9_V3UploadResponse as V3UploadResponse, type index$9_V3Variant as V3Variant, index$9_aiChatCompletionsRequestSchema as aiChatCompletionsRequestSchema, index$9_aiChatModelSchema as aiChatModelSchema, index$9_aiChatModelsPayloadSchema as aiChatModelsPayloadSchema, index$9_aiChatModelsResponseSchema as aiChatModelsResponseSchema, index$9_aiChatModelsSuccessSchema as aiChatModelsSuccessSchema, index$9_aiChatSessionMetadataSchema as aiChatSessionMetadataSchema, index$9_aiClientMetadataSchema as aiClientMetadataSchema, index$9_aiEndpoints as aiEndpoints, index$9_aiErrorResponseSchema as aiErrorResponseSchema, index$9_aiModelCapabilitiesInputSchema as aiModelCapabilitiesInputSchema, index$9_aiModelCapabilitiesOutputSchema as aiModelCapabilitiesOutputSchema, index$9_aiModelCapabilitiesSchema as aiModelCapabilitiesSchema, index$9_aiModelCapabilityCommonSchema as aiModelCapabilityCommonSchema, index$9_aiModelParameterFieldSchema as aiModelParameterFieldSchema, index$9_aiModelParamsSchema as aiModelParamsSchema, index$9_aiModelSchema as aiModelSchema, index$9_aiModelsRequestSchema as aiModelsRequestSchema, index$9_aiModelsUpdatedAtDataSchema as aiModelsUpdatedAtDataSchema, index$9_aiModelsUpdatedAtResponseSchema as aiModelsUpdatedAtResponseSchema, index$9_aiModelsUpdatedAtSuccessSchema as aiModelsUpdatedAtSuccessSchema, index$9_aiProviderTemplateModelSchema as aiProviderTemplateModelSchema, index$9_aiProviderTemplateSchema as aiProviderTemplateSchema, index$9_aiProviderTemplatesPayloadSchema as aiProviderTemplatesPayloadSchema, index$9_aiProviderTemplatesRequestSchema as aiProviderTemplatesRequestSchema, index$9_aiProviderTemplatesResponseSchema as aiProviderTemplatesResponseSchema, index$9_aiProviderTemplatesSuccessSchema as aiProviderTemplatesSuccessSchema, index$9_aiResponsesRequestSchema as aiResponsesRequestSchema, index$9_inputSlotSchema as inputSlotSchema, index$9_paramSchemaSchema as paramSchemaSchema, index$9_v3BasicSuccessSchema as v3BasicSuccessSchema, index$9_v3CapabilitiesDataSchema as v3CapabilitiesDataSchema, index$9_v3CapabilitiesDetailResponseSchema as v3CapabilitiesDetailResponseSchema, index$9_v3CapabilitiesOverviewRequestSchema as v3CapabilitiesOverviewRequestSchema, index$9_v3CapabilitiesOverviewResponseSchema as v3CapabilitiesOverviewResponseSchema, index$9_v3CapabilitiesResponseSchema as v3CapabilitiesResponseSchema, index$9_v3CreditEstimateSchema as v3CreditEstimateSchema, index$9_v3EstimatePriceRequestSchema as v3EstimatePriceRequestSchema, index$9_v3EstimatePriceResponseSchema as v3EstimatePriceResponseSchema, index$9_v3FeatureSchema as v3FeatureSchema, index$9_v3GenerateRequestSchema as v3GenerateRequestSchema, index$9_v3QueueRequestSchema as v3QueueRequestSchema, index$9_v3QueueResponseSchema as v3QueueResponseSchema, index$9_v3QueueTicketSchema as v3QueueTicketSchema, index$9_v3TaskCreatedSchema as v3TaskCreatedSchema, index$9_v3TaskGroupResponseSchema as v3TaskGroupResponseSchema, index$9_v3TaskItemSchema as v3TaskItemSchema, index$9_v3TaskResponseSchema as v3TaskResponseSchema, index$9_v3TaskSSEEventSchema as v3TaskSSEEventSchema, index$9_v3TextChatRequestSchema as v3TextChatRequestSchema, index$9_v3TextGenerateRequestSchema as v3TextGenerateRequestSchema, index$9_v3TextGenerateResponseSchema as v3TextGenerateResponseSchema, index$9_v3ToolExecuteRequestSchema as v3ToolExecuteRequestSchema, index$9_v3ToolExecuteResponseSchema as v3ToolExecuteResponseSchema, index$9_v3ToolFeatureSchema as v3ToolFeatureSchema, index$9_v3ToolsCapabilitiesDataSchema as v3ToolsCapabilitiesDataSchema, index$9_v3ToolsCapabilitiesResponseSchema as v3ToolsCapabilitiesResponseSchema, index$9_v3UploadResponseSchema as v3UploadResponseSchema, index$9_v3VariantSchema as v3VariantSchema };
8758
9215
  }
8759
9216
 
8760
9217
  declare const aiToolsEndpoints: {
@@ -10938,4 +11395,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
10938
11395
  transformer: false;
10939
11396
  }, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
10940
11397
 
10941
- export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatCompletionsRequest, type AiChatModel, type AiChatModelsResponse, type AiChatSessionMetadata, AiClient, type AiClientMetadata, type AiFileUploadOptions, type AiFileUploadResponse, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiResponsesRequest, AiToolsClient, type AnalyzeSkillsRequest, type AnalyzeSkillsResponse, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, type CreateEmbedOptions, type EmbedEventMap, type EmbedInstance, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, MEDIA_FEATURES, MODEL_PROVIDERS, type MarketSkillEntry, type MediaFeatureId, type ModelProviderId, type OrderStatusRequest, type OrderStatusResponse, PaymentClient, type RechargeRequest, type RechargeResponse, type RecommendActionsRequest, type RecommendActionsResponse, RedeemCodeClient, type RedeemCodeRecordItem, type RedeemCodeRecordsRequest, type RedeemCodeRecordsResponse, type RedeemCodeRedeemRequest, type RedeemCodeRedeemResponse, type RedeemCodeSummary, type RefundRequest, type RefundResponse, type ResponseType, SaaSClient, type SaaSClientOptions, SaaSContract, SaaSHttpError, SaaSNetworkError, SaaSSchemaError, type SkillArchiveFormat, type SkillListItem, type SkillMarketCheckUpdatesRequest, type SkillMarketCheckUpdatesResponse, SkillMarketClient, type SkillMarketDetailResponse, type SkillMarketListRequest, type SkillMarketListResponse, type SkillMarketRateRequest, type SkillMarketRateResponse, type SkillOwnerSummary, type SkillSource, type SkillStatus, type SkillType, type SkillVersionSummary, type SkillVisibility, SkillsClient, type SkillsDetailResponse, type SkillsDownloadResponse, type SkillsListRequest, type SkillsListResponse, type SubscribeRequest, type SubscribeResponse, type SummarizeRequest, type SummarizeResponse, type TrpcClientOptions, type UpgradeRequest, type UpgradeResponse, UserClient, type UserMembershipLevel, type UserSelf, type UserSelfRequest, type UserSelfResponse, type V3BasicSuccess, type V3CapabilitiesData, type V3CapabilitiesDetailResponse, type V3CapabilitiesOverviewRequest, type V3CapabilitiesOverviewResponse, type V3CapabilitiesResponse, type V3CreditEstimate, type V3EstimatePriceRequest, type V3EstimatePriceResponse, type V3Feature, type V3GenerateRequest, type V3InputSlot, type V3ParamSchema, type V3QueueRequest, type V3QueueResponse, type V3QueueTicket, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3TaskSSEEvent, type V3TextChatRequest, type V3TextGenerateRequest, type V3TextGenerateResponse, type V3ToolExecuteRequest, type V3ToolExecuteResponse, type V3ToolFeature, type V3UploadResponse, type V3Variant, aiChatCompletionsRequestSchema, aiChatModelSchema, aiChatModelsPayloadSchema, aiChatModelsResponseSchema, aiChatModelsSuccessSchema, aiChatSessionMetadataSchema, aiClientMetadataSchema, aiEndpoints, aiErrorResponseSchema, aiModelCapabilitiesInputSchema, aiModelCapabilitiesOutputSchema, aiModelCapabilitiesSchema, aiModelCapabilityCommonSchema, aiModelParameterFieldSchema, aiModelParamsSchema, aiModelSchema, aiModelsRequestSchema, aiModelsUpdatedAtDataSchema, aiModelsUpdatedAtResponseSchema, aiModelsUpdatedAtSuccessSchema, index$9 as aiModule, aiProviderTemplateModelSchema, aiProviderTemplateSchema, aiProviderTemplatesPayloadSchema, aiProviderTemplatesRequestSchema, aiProviderTemplatesResponseSchema, aiProviderTemplatesSuccessSchema, aiResponsesRequestSchema, aiToolsEndpoints, index$8 as aiToolsModule, analyzeSkillsRequestSchema, analyzeSkillsResponseSchema, authEndpoints, authExchangeRequestSchema, authExchangeResponseSchema, authLogoutRequestSchema, authLogoutResponseSchema, index$7 as authModule, authRefreshErrorSchema, authRefreshRequestSchema, authRefreshResponseSchema, authRefreshSuccessSchema, authRefreshUserSchema, auxiliaryEndpoints, auxiliaryInferRequestSchema, auxiliaryInferResponseSchema, index$6 as auxiliaryModule, auxiliaryQuotaResponseSchema, contract, createEmbed, createPricingEmbed, createRechargeEmbed, createTrpcClient, feedbackDetailPayloadSchema, feedbackDetailRequestSchema, feedbackDetailResponseSchema, feedbackEndpoints, feedbackItemSchema, feedbackListPayloadSchema, feedbackListRequestSchema, feedbackListResponseSchema, index$5 as feedbackModule, feedbackSaasStatusSchema, feedbackSourceSchema, feedbackSubmitErrorSchema, feedbackSubmitRequestSchema, feedbackSubmitResponseSchema, feedbackTypeSchema, inputSlotSchema, marketSkillEntrySchema, mergeHeaders, normalizeHeaders, orderStatusRequestSchema, orderStatusResponseSchema, paramSchemaSchema, paymentEndpoints, index$4 as paymentModule, rechargeRequestSchema, rechargeResponseSchema, recommendActionsRequestSchema, recommendActionsResponseSchema, redeemCodeEndpoints, redeemCodeMembershipLevelSchema, index$3 as redeemCodeModule, redeemCodeRecordItemSchema, redeemCodeRecordsRequestSchema, redeemCodeRecordsResponseSchema, redeemCodeRedeemRequestSchema, redeemCodeRedeemResponseSchema, redeemCodeSummarySchema, refundRequestSchema, refundResponseSchema, request, skillArchiveFormatSchema, skillListItemSchema, skillMarketCheckUpdatesRequestSchema, skillMarketCheckUpdatesResponseSchema, skillMarketDetailResponseSchema, skillMarketEndpoints, skillMarketListRequestSchema, skillMarketListResponseSchema, index$2 as skillMarketModule, skillMarketRateRequestSchema, skillMarketRateResponseSchema, skillOwnerSummarySchema, skillSourceSchema, skillStatusSchema, skillTypeSchema, skillVersionSummarySchema, skillVisibilitySchema, skillsDetailRequestSchema, skillsDetailResponseSchema, skillsDownloadResponseSchema, skillsEndpoints, skillsListRequestSchema, skillsListResponseSchema, index$1 as skillsModule, subscribeRequestSchema, subscribeResponseSchema, summarizeRequestSchema, summarizeResponseSchema, upgradeRequestSchema, upgradeResponseSchema, userEndpoints, userMembershipLevelSchema, index as userModule, userSelfRequestSchema, userSelfResponseSchema, userSelfSchema, v3BasicSuccessSchema, v3CapabilitiesDataSchema, v3CapabilitiesDetailResponseSchema, v3CapabilitiesOverviewRequestSchema, v3CapabilitiesOverviewResponseSchema, v3CapabilitiesResponseSchema, v3CreditEstimateSchema, v3EstimatePriceRequestSchema, v3EstimatePriceResponseSchema, v3FeatureSchema, v3GenerateRequestSchema, v3QueueRequestSchema, v3QueueResponseSchema, v3QueueTicketSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3TaskSSEEventSchema, v3TextChatRequestSchema, v3TextGenerateRequestSchema, v3TextGenerateResponseSchema, v3ToolExecuteRequestSchema, v3ToolExecuteResponseSchema, v3ToolFeatureSchema, v3UploadResponseSchema, v3VariantSchema };
11398
+ export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatCompletionsRequest, type AiChatModel, type AiChatModelsResponse, type AiChatSessionMetadata, AiClient, type AiClientMetadata, type AiFileUploadOptions, type AiFileUploadResponse, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiResponsesRequest, AiToolsClient, type AnalyzeSkillsRequest, type AnalyzeSkillsResponse, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, type CreateEmbedOptions, type EmbedEventMap, type EmbedInstance, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, MEDIA_FEATURES, MODEL_PROVIDERS, type MarketSkillEntry, type MediaFeatureId, type ModelProviderId, type OrderStatusRequest, type OrderStatusResponse, PaymentClient, type RechargeRequest, type RechargeResponse, type RecommendActionsRequest, type RecommendActionsResponse, RedeemCodeClient, type RedeemCodeRecordItem, type RedeemCodeRecordsRequest, type RedeemCodeRecordsResponse, type RedeemCodeRedeemRequest, type RedeemCodeRedeemResponse, type RedeemCodeSummary, type RefundRequest, type RefundResponse, type ResponseType, SaaSClient, type SaaSClientOptions, SaaSContract, SaaSHttpError, SaaSNetworkError, SaaSSchemaError, type SkillArchiveFormat, type SkillListItem, type SkillMarketCheckUpdatesRequest, type SkillMarketCheckUpdatesResponse, SkillMarketClient, type SkillMarketDetailResponse, type SkillMarketListRequest, type SkillMarketListResponse, type SkillMarketRateRequest, type SkillMarketRateResponse, type SkillOwnerSummary, type SkillSource, type SkillStatus, type SkillType, type SkillVersionSummary, type SkillVisibility, SkillsClient, type SkillsDetailResponse, type SkillsDownloadResponse, type SkillsListRequest, type SkillsListResponse, type SubscribeRequest, type SubscribeResponse, type SummarizeRequest, type SummarizeResponse, type TrpcClientOptions, type UpgradeRequest, type UpgradeResponse, UserClient, type UserMembershipLevel, type UserSelf, type UserSelfRequest, type UserSelfResponse, type V3BasicSuccess, type V3CapabilitiesData, type V3CapabilitiesDetailResponse, type V3CapabilitiesOverviewRequest, type V3CapabilitiesOverviewResponse, type V3CapabilitiesResponse, type V3CreditEstimate, type V3EstimatePriceRequest, type V3EstimatePriceResponse, type V3Feature, type V3GenerateRequest, type V3InputSlot, type V3ParamSchema, type V3QueueRequest, type V3QueueResponse, type V3QueueTicket, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3TaskSSEEvent, type V3TextChatRequest, type V3TextGenerateRequest, type V3TextGenerateResponse, type V3ToolExecuteRequest, type V3ToolExecuteResponse, type V3ToolFeature, type V3ToolsCapabilitiesData, type V3ToolsCapabilitiesResponse, type V3UploadResponse, type V3Variant, aiChatCompletionsRequestSchema, aiChatModelSchema, aiChatModelsPayloadSchema, aiChatModelsResponseSchema, aiChatModelsSuccessSchema, aiChatSessionMetadataSchema, aiClientMetadataSchema, aiEndpoints, aiErrorResponseSchema, aiModelCapabilitiesInputSchema, aiModelCapabilitiesOutputSchema, aiModelCapabilitiesSchema, aiModelCapabilityCommonSchema, aiModelParameterFieldSchema, aiModelParamsSchema, aiModelSchema, aiModelsRequestSchema, aiModelsUpdatedAtDataSchema, aiModelsUpdatedAtResponseSchema, aiModelsUpdatedAtSuccessSchema, index$9 as aiModule, aiProviderTemplateModelSchema, aiProviderTemplateSchema, aiProviderTemplatesPayloadSchema, aiProviderTemplatesRequestSchema, aiProviderTemplatesResponseSchema, aiProviderTemplatesSuccessSchema, aiResponsesRequestSchema, aiToolsEndpoints, index$8 as aiToolsModule, analyzeSkillsRequestSchema, analyzeSkillsResponseSchema, authEndpoints, authExchangeRequestSchema, authExchangeResponseSchema, authLogoutRequestSchema, authLogoutResponseSchema, index$7 as authModule, authRefreshErrorSchema, authRefreshRequestSchema, authRefreshResponseSchema, authRefreshSuccessSchema, authRefreshUserSchema, auxiliaryEndpoints, auxiliaryInferRequestSchema, auxiliaryInferResponseSchema, index$6 as auxiliaryModule, auxiliaryQuotaResponseSchema, contract, createEmbed, createPricingEmbed, createRechargeEmbed, createTrpcClient, feedbackDetailPayloadSchema, feedbackDetailRequestSchema, feedbackDetailResponseSchema, feedbackEndpoints, feedbackItemSchema, feedbackListPayloadSchema, feedbackListRequestSchema, feedbackListResponseSchema, index$5 as feedbackModule, feedbackSaasStatusSchema, feedbackSourceSchema, feedbackSubmitErrorSchema, feedbackSubmitRequestSchema, feedbackSubmitResponseSchema, feedbackTypeSchema, inputSlotSchema, marketSkillEntrySchema, mergeHeaders, normalizeHeaders, orderStatusRequestSchema, orderStatusResponseSchema, paramSchemaSchema, paymentEndpoints, index$4 as paymentModule, rechargeRequestSchema, rechargeResponseSchema, recommendActionsRequestSchema, recommendActionsResponseSchema, redeemCodeEndpoints, redeemCodeMembershipLevelSchema, index$3 as redeemCodeModule, redeemCodeRecordItemSchema, redeemCodeRecordsRequestSchema, redeemCodeRecordsResponseSchema, redeemCodeRedeemRequestSchema, redeemCodeRedeemResponseSchema, redeemCodeSummarySchema, refundRequestSchema, refundResponseSchema, request, skillArchiveFormatSchema, skillListItemSchema, skillMarketCheckUpdatesRequestSchema, skillMarketCheckUpdatesResponseSchema, skillMarketDetailResponseSchema, skillMarketEndpoints, skillMarketListRequestSchema, skillMarketListResponseSchema, index$2 as skillMarketModule, skillMarketRateRequestSchema, skillMarketRateResponseSchema, skillOwnerSummarySchema, skillSourceSchema, skillStatusSchema, skillTypeSchema, skillVersionSummarySchema, skillVisibilitySchema, skillsDetailRequestSchema, skillsDetailResponseSchema, skillsDownloadResponseSchema, skillsEndpoints, skillsListRequestSchema, skillsListResponseSchema, index$1 as skillsModule, subscribeRequestSchema, subscribeResponseSchema, summarizeRequestSchema, summarizeResponseSchema, upgradeRequestSchema, upgradeResponseSchema, userEndpoints, userMembershipLevelSchema, index as userModule, userSelfRequestSchema, userSelfResponseSchema, userSelfSchema, v3BasicSuccessSchema, v3CapabilitiesDataSchema, v3CapabilitiesDetailResponseSchema, v3CapabilitiesOverviewRequestSchema, v3CapabilitiesOverviewResponseSchema, v3CapabilitiesResponseSchema, v3CreditEstimateSchema, v3EstimatePriceRequestSchema, v3EstimatePriceResponseSchema, v3FeatureSchema, v3GenerateRequestSchema, v3QueueRequestSchema, v3QueueResponseSchema, v3QueueTicketSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3TaskSSEEventSchema, v3TextChatRequestSchema, v3TextGenerateRequestSchema, v3TextGenerateResponseSchema, v3ToolExecuteRequestSchema, v3ToolExecuteResponseSchema, v3ToolFeatureSchema, v3ToolsCapabilitiesDataSchema, v3ToolsCapabilitiesResponseSchema, v3UploadResponseSchema, v3VariantSchema };