@usenaive-sdk/managed-agents 0.12.1 → 0.12.3
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 +60 -29
- package/dist/index.js +188 -79
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -413,7 +413,7 @@ declare const ToolsetSchema: z.ZodObject<{
|
|
|
413
413
|
}>;
|
|
414
414
|
}, z.core.$strip>;
|
|
415
415
|
configs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
416
|
-
enabled: z.ZodBoolean
|
|
416
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
417
417
|
permission: z.ZodEnum<{
|
|
418
418
|
allow: "allow";
|
|
419
419
|
ask: "ask";
|
|
@@ -423,6 +423,8 @@ declare const ToolsetSchema: z.ZodObject<{
|
|
|
423
423
|
}, z.core.$strip>>;
|
|
424
424
|
}, z.core.$strip>;
|
|
425
425
|
type Toolset = z.infer<typeof ToolsetSchema>;
|
|
426
|
+
/** A toolset as a caller may write it: a config's `enabled` may be left out (ADR-1911). */
|
|
427
|
+
type ToolsetInput = z.input<typeof ToolsetSchema>;
|
|
426
428
|
/**
|
|
427
429
|
* `handoffs` on the wire (§28.12): who this agent may `send_to_agent`. `true` — any agent of
|
|
428
430
|
* the organization; `false` — nobody, and none of the agent tools are offered; `"team"` — the agents
|
|
@@ -449,7 +451,7 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
449
451
|
}>;
|
|
450
452
|
}, z.core.$strip>;
|
|
451
453
|
configs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
452
|
-
enabled: z.ZodBoolean
|
|
454
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
453
455
|
permission: z.ZodEnum<{
|
|
454
456
|
allow: "allow";
|
|
455
457
|
ask: "ask";
|
|
@@ -553,6 +555,10 @@ declare const EventSchema: z.ZodObject<{
|
|
|
553
555
|
"span.harness_build.end": "span.harness_build.end";
|
|
554
556
|
"span.box_resume.start": "span.box_resume.start";
|
|
555
557
|
"span.box_resume.end": "span.box_resume.end";
|
|
558
|
+
"span.tools_resolve.start": "span.tools_resolve.start";
|
|
559
|
+
"span.tools_resolve.end": "span.tools_resolve.end";
|
|
560
|
+
"span.model_gate.start": "span.model_gate.start";
|
|
561
|
+
"span.model_gate.end": "span.model_gate.end";
|
|
556
562
|
"thread.created": "thread.created";
|
|
557
563
|
"thread.running": "thread.running";
|
|
558
564
|
"thread.idle": "thread.idle";
|
|
@@ -1637,8 +1643,8 @@ declare const ImageGenerationSchema: z.ZodObject<{
|
|
|
1637
1643
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1638
1644
|
kind: z.ZodDefault<z.ZodEnum<{
|
|
1639
1645
|
model: "model";
|
|
1640
|
-
image: "image";
|
|
1641
1646
|
video: "video";
|
|
1647
|
+
image: "image";
|
|
1642
1648
|
other: "other";
|
|
1643
1649
|
audio: "audio";
|
|
1644
1650
|
document: "document";
|
|
@@ -1721,6 +1727,7 @@ declare const MediaSkillBuildSchema: z.ZodObject<{
|
|
|
1721
1727
|
in_review: "in_review";
|
|
1722
1728
|
changes_requested: "changes_requested";
|
|
1723
1729
|
setup: "setup";
|
|
1730
|
+
finalizing: "finalizing";
|
|
1724
1731
|
}>;
|
|
1725
1732
|
urls: z.ZodArray<z.ZodString>;
|
|
1726
1733
|
rounds: z.ZodArray<z.ZodObject<{
|
|
@@ -1755,6 +1762,8 @@ declare const MediaSkillBuildSchema: z.ZodObject<{
|
|
|
1755
1762
|
error: z.ZodNullable<z.ZodString>;
|
|
1756
1763
|
created_at: z.ZodISODateTime;
|
|
1757
1764
|
finished_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1765
|
+
edit_job_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1766
|
+
sample_file_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1758
1767
|
review: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1759
1768
|
state: z.ZodEnum<{
|
|
1760
1769
|
failed: "failed";
|
|
@@ -1893,6 +1902,7 @@ declare const EditRequestSchema: z.ZodObject<{
|
|
|
1893
1902
|
scene: "scene";
|
|
1894
1903
|
outfit_or_object: "outfit_or_object";
|
|
1895
1904
|
person_swap: "person_swap";
|
|
1905
|
+
recast: "recast";
|
|
1896
1906
|
}>>;
|
|
1897
1907
|
}, z.core.$strip>;
|
|
1898
1908
|
/** What `POST /v1/media/edits` and `GET /v1/media/edits/:id` answer. No checkpoint, route or vendor. */
|
|
@@ -1912,6 +1922,7 @@ declare const EditJobSchema: z.ZodObject<{
|
|
|
1912
1922
|
scene: "scene";
|
|
1913
1923
|
outfit_or_object: "outfit_or_object";
|
|
1914
1924
|
person_swap: "person_swap";
|
|
1925
|
+
recast: "recast";
|
|
1915
1926
|
}>>;
|
|
1916
1927
|
result: z.ZodNullable<z.ZodObject<{
|
|
1917
1928
|
file_id: z.ZodString;
|
|
@@ -2011,8 +2022,8 @@ type Character = z.infer<typeof CharacterSchema>;
|
|
|
2011
2022
|
|
|
2012
2023
|
declare const FileKindSchema: z.ZodEnum<{
|
|
2013
2024
|
model: "model";
|
|
2014
|
-
image: "image";
|
|
2015
2025
|
video: "video";
|
|
2026
|
+
image: "image";
|
|
2016
2027
|
other: "other";
|
|
2017
2028
|
audio: "audio";
|
|
2018
2029
|
document: "document";
|
|
@@ -2833,7 +2844,10 @@ interface SpeechToSpeechCreate {
|
|
|
2833
2844
|
format?: "mp3" | "wav" | "ogg" | undefined;
|
|
2834
2845
|
}
|
|
2835
2846
|
|
|
2836
|
-
|
|
2847
|
+
/** `tools` is the input shape, so a tool config may leave `enabled` out (it defaults to true, ADR-1911). */
|
|
2848
|
+
type AgentConfig = Omit<Agent, "id" | "object" | "harness" | "current_version" | "created_at" | "tools"> & {
|
|
2849
|
+
tools: ToolsetInput;
|
|
2850
|
+
};
|
|
2837
2851
|
/**
|
|
2838
2852
|
* `harness` is the agent loop (§19). `pi` is the default; `harnesses.list()` is the live set.
|
|
2839
2853
|
* `budget` is required, as the route requires it (ADR-1864).
|
|
@@ -2877,8 +2891,8 @@ declare const MediaModelSchema: z.ZodObject<{
|
|
|
2877
2891
|
id: z.ZodString;
|
|
2878
2892
|
name: z.ZodString;
|
|
2879
2893
|
kind: z.ZodEnum<{
|
|
2880
|
-
image: "image";
|
|
2881
2894
|
video: "video";
|
|
2895
|
+
image: "image";
|
|
2882
2896
|
mesh: "mesh";
|
|
2883
2897
|
stt: "stt";
|
|
2884
2898
|
tts: "tts";
|
|
@@ -3243,6 +3257,10 @@ interface ProxyMessageCreate {
|
|
|
3243
3257
|
description?: string;
|
|
3244
3258
|
input_schema: Record<string, unknown>;
|
|
3245
3259
|
}[];
|
|
3260
|
+
/** `disabled` runs the model at its lowest published effort (`client.models.list()` `efforts`). */
|
|
3261
|
+
thinking?: {
|
|
3262
|
+
type: "disabled";
|
|
3263
|
+
};
|
|
3246
3264
|
}
|
|
3247
3265
|
/**
|
|
3248
3266
|
* The reply. `id` is the request id — the same value on `x-request-id` and on the ledger entry, so
|
|
@@ -3293,6 +3311,8 @@ interface ProxyCompletionCreate {
|
|
|
3293
3311
|
max_completion_tokens?: number;
|
|
3294
3312
|
max_tokens?: number;
|
|
3295
3313
|
temperature?: number;
|
|
3314
|
+
/** One of the efforts this model publishes on `client.models.list()`; any other is refused. */
|
|
3315
|
+
reasoning_effort?: "low" | "medium" | "high";
|
|
3296
3316
|
tools?: {
|
|
3297
3317
|
type: "function";
|
|
3298
3318
|
function: {
|
|
@@ -6179,7 +6199,9 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
6179
6199
|
description: string | null;
|
|
6180
6200
|
max_timeout_seconds: number | null;
|
|
6181
6201
|
}>;
|
|
6182
|
-
pay: (identity: string, body: WalletPayRequest, select?: WalletSelect
|
|
6202
|
+
pay: (identity: string, body: WalletPayRequest, select?: WalletSelect, opts?: {
|
|
6203
|
+
idempotencyKey?: string;
|
|
6204
|
+
}) => Promise<{
|
|
6183
6205
|
object: "wallet_payment";
|
|
6184
6206
|
paid: boolean;
|
|
6185
6207
|
transaction_id: string | null;
|
|
@@ -6806,7 +6828,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
6806
6828
|
id: string;
|
|
6807
6829
|
object: "social_upload";
|
|
6808
6830
|
identity_id: string;
|
|
6809
|
-
type: "
|
|
6831
|
+
type: "video" | "image" | "document";
|
|
6810
6832
|
url: string | null;
|
|
6811
6833
|
}>;
|
|
6812
6834
|
};
|
|
@@ -7216,7 +7238,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
7216
7238
|
props: {
|
|
7217
7239
|
files: {
|
|
7218
7240
|
id: string;
|
|
7219
|
-
kind: "
|
|
7241
|
+
kind: "video" | "image";
|
|
7220
7242
|
}[];
|
|
7221
7243
|
label?: string | undefined;
|
|
7222
7244
|
};
|
|
@@ -8392,7 +8414,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8392
8414
|
title: string | null;
|
|
8393
8415
|
description: string | null;
|
|
8394
8416
|
tags: string[];
|
|
8395
|
-
kind: "model" | "
|
|
8417
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
8396
8418
|
source: {
|
|
8397
8419
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
8398
8420
|
job_id: string | null;
|
|
@@ -8543,7 +8565,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8543
8565
|
title: string | null;
|
|
8544
8566
|
description: string | null;
|
|
8545
8567
|
tags: string[];
|
|
8546
|
-
kind: "model" | "
|
|
8568
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
8547
8569
|
source: {
|
|
8548
8570
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
8549
8571
|
job_id: string | null;
|
|
@@ -8581,7 +8603,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8581
8603
|
title: string | null;
|
|
8582
8604
|
description: string | null;
|
|
8583
8605
|
tags: string[];
|
|
8584
|
-
kind: "model" | "
|
|
8606
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
8585
8607
|
source: {
|
|
8586
8608
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
8587
8609
|
job_id: string | null;
|
|
@@ -8620,7 +8642,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8620
8642
|
video: string;
|
|
8621
8643
|
prompt: string;
|
|
8622
8644
|
references: string[];
|
|
8623
|
-
mode: "scene" | "outfit_or_object" | "person_swap" | null;
|
|
8645
|
+
mode: "scene" | "outfit_or_object" | "person_swap" | "recast" | null;
|
|
8624
8646
|
result: {
|
|
8625
8647
|
file_id: string;
|
|
8626
8648
|
} | null;
|
|
@@ -8639,7 +8661,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8639
8661
|
video: string;
|
|
8640
8662
|
prompt: string;
|
|
8641
8663
|
references: string[];
|
|
8642
|
-
mode: "scene" | "outfit_or_object" | "person_swap" | null;
|
|
8664
|
+
mode: "scene" | "outfit_or_object" | "person_swap" | "recast" | null;
|
|
8643
8665
|
result: {
|
|
8644
8666
|
file_id: string;
|
|
8645
8667
|
} | null;
|
|
@@ -8771,7 +8793,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8771
8793
|
id: string;
|
|
8772
8794
|
object: "media_skill_build";
|
|
8773
8795
|
name: string;
|
|
8774
|
-
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup";
|
|
8796
|
+
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup" | "finalizing";
|
|
8775
8797
|
urls: string[];
|
|
8776
8798
|
rounds: {
|
|
8777
8799
|
object: "creator_template_round";
|
|
@@ -8799,6 +8821,8 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8799
8821
|
error: string | null;
|
|
8800
8822
|
created_at: string;
|
|
8801
8823
|
finished_at: string | null;
|
|
8824
|
+
edit_job_id: string | null;
|
|
8825
|
+
sample_file_id: string | null;
|
|
8802
8826
|
review: {
|
|
8803
8827
|
state: "failed" | "queued" | "judging" | "decided";
|
|
8804
8828
|
decision: "rejected" | "needs_you" | "accepted" | null;
|
|
@@ -8869,7 +8893,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8869
8893
|
id: string;
|
|
8870
8894
|
object: "media_skill_build";
|
|
8871
8895
|
name: string;
|
|
8872
|
-
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup";
|
|
8896
|
+
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup" | "finalizing";
|
|
8873
8897
|
urls: string[];
|
|
8874
8898
|
rounds: {
|
|
8875
8899
|
object: "creator_template_round";
|
|
@@ -8897,6 +8921,8 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8897
8921
|
error: string | null;
|
|
8898
8922
|
created_at: string;
|
|
8899
8923
|
finished_at: string | null;
|
|
8924
|
+
edit_job_id: string | null;
|
|
8925
|
+
sample_file_id: string | null;
|
|
8900
8926
|
review: {
|
|
8901
8927
|
state: "failed" | "queued" | "judging" | "decided";
|
|
8902
8928
|
decision: "rejected" | "needs_you" | "accepted" | null;
|
|
@@ -8965,7 +8991,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8965
8991
|
id: string;
|
|
8966
8992
|
object: "media_skill_build";
|
|
8967
8993
|
name: string;
|
|
8968
|
-
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup";
|
|
8994
|
+
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup" | "finalizing";
|
|
8969
8995
|
urls: string[];
|
|
8970
8996
|
rounds: {
|
|
8971
8997
|
object: "creator_template_round";
|
|
@@ -8993,6 +9019,8 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8993
9019
|
error: string | null;
|
|
8994
9020
|
created_at: string;
|
|
8995
9021
|
finished_at: string | null;
|
|
9022
|
+
edit_job_id: string | null;
|
|
9023
|
+
sample_file_id: string | null;
|
|
8996
9024
|
review: {
|
|
8997
9025
|
state: "failed" | "queued" | "judging" | "decided";
|
|
8998
9026
|
decision: "rejected" | "needs_you" | "accepted" | null;
|
|
@@ -9062,7 +9090,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
9062
9090
|
id: string;
|
|
9063
9091
|
object: "media_skill_build";
|
|
9064
9092
|
name: string;
|
|
9065
|
-
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup";
|
|
9093
|
+
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup" | "finalizing";
|
|
9066
9094
|
urls: string[];
|
|
9067
9095
|
rounds: {
|
|
9068
9096
|
object: "creator_template_round";
|
|
@@ -9090,6 +9118,8 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
9090
9118
|
error: string | null;
|
|
9091
9119
|
created_at: string;
|
|
9092
9120
|
finished_at: string | null;
|
|
9121
|
+
edit_job_id: string | null;
|
|
9122
|
+
sample_file_id: string | null;
|
|
9093
9123
|
review: {
|
|
9094
9124
|
state: "failed" | "queued" | "judging" | "decided";
|
|
9095
9125
|
decision: "rejected" | "needs_you" | "accepted" | null;
|
|
@@ -9447,7 +9477,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
9447
9477
|
title: string | null;
|
|
9448
9478
|
description: string | null;
|
|
9449
9479
|
tags: string[];
|
|
9450
|
-
kind: "model" | "
|
|
9480
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
9451
9481
|
source: {
|
|
9452
9482
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
9453
9483
|
job_id: string | null;
|
|
@@ -9484,7 +9514,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
9484
9514
|
title: string | null;
|
|
9485
9515
|
description: string | null;
|
|
9486
9516
|
tags: string[];
|
|
9487
|
-
kind: "model" | "
|
|
9517
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
9488
9518
|
source: {
|
|
9489
9519
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
9490
9520
|
job_id: string | null;
|
|
@@ -9526,7 +9556,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
9526
9556
|
object: "media_model";
|
|
9527
9557
|
id: string;
|
|
9528
9558
|
name: string;
|
|
9529
|
-
kind: "
|
|
9559
|
+
kind: "video" | "image" | "mesh" | "stt" | "tts" | "s2s";
|
|
9530
9560
|
description: string;
|
|
9531
9561
|
prices?: {
|
|
9532
9562
|
texture: boolean;
|
|
@@ -10889,7 +10919,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
10889
10919
|
data: {
|
|
10890
10920
|
id: string;
|
|
10891
10921
|
seq: number;
|
|
10892
|
-
type: "message.delta" | "message.completed" | "message.accepted" | "handoff.sent" | "tool.started" | "tool.completed" | "tool.confirm" | "tool.confirm.resolved" | "tool.confirm.answered" | "session.running" | "session.usage" | "session.idle" | "session.retrying" | "session.mode" | "plan.updated" | "session.degraded" | "session.computer_replaced" | "budget.exceeded" | "span.model_request.start" | "span.model_request.end" | "span.transcript_load.start" | "span.transcript_load.end" | "span.harness_load.start" | "span.harness_load.end" | "span.harness_build.start" | "span.harness_build.end" | "span.box_resume.start" | "span.box_resume.end" | "thread.created" | "thread.running" | "thread.idle" | "thread.terminated" | "outcome.evaluation.started" | "outcome.evaluation.progress" | "outcome.evaluation.completed" | "browser.session.opened" | "browser.session.closed" | "browser.context.saved" | "browser.context.granted" | "browser.context.revoked" | "media.job.queued" | "media.job.completed" | "media.job.failed" | "file.imported" | "app.db.migrated" | "app.storage.bucket.created" | "app.storage.bucket.deleted" | "wallet.created" | "wallet.policy.updated" | "wallet.transaction.confirmed" | "wallet.swept" | "card.issued" | "card.failed" | "card.cancelled" | "card.refunded" | "card.credentials_revealed";
|
|
10922
|
+
type: "message.delta" | "message.completed" | "message.accepted" | "handoff.sent" | "tool.started" | "tool.completed" | "tool.confirm" | "tool.confirm.resolved" | "tool.confirm.answered" | "session.running" | "session.usage" | "session.idle" | "session.retrying" | "session.mode" | "plan.updated" | "session.degraded" | "session.computer_replaced" | "budget.exceeded" | "span.model_request.start" | "span.model_request.end" | "span.transcript_load.start" | "span.transcript_load.end" | "span.harness_load.start" | "span.harness_load.end" | "span.harness_build.start" | "span.harness_build.end" | "span.box_resume.start" | "span.box_resume.end" | "span.tools_resolve.start" | "span.tools_resolve.end" | "span.model_gate.start" | "span.model_gate.end" | "thread.created" | "thread.running" | "thread.idle" | "thread.terminated" | "outcome.evaluation.started" | "outcome.evaluation.progress" | "outcome.evaluation.completed" | "browser.session.opened" | "browser.session.closed" | "browser.context.saved" | "browser.context.granted" | "browser.context.revoked" | "media.job.queued" | "media.job.completed" | "media.job.failed" | "file.imported" | "app.db.migrated" | "app.storage.bucket.created" | "app.storage.bucket.deleted" | "wallet.created" | "wallet.policy.updated" | "wallet.transaction.confirmed" | "wallet.swept" | "card.issued" | "card.failed" | "card.cancelled" | "card.refunded" | "card.credentials_revealed";
|
|
10893
10923
|
session_id: string;
|
|
10894
10924
|
data: Record<string, unknown>;
|
|
10895
10925
|
created_at: string;
|
|
@@ -12126,7 +12156,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12126
12156
|
title: string | null;
|
|
12127
12157
|
description: string | null;
|
|
12128
12158
|
tags: string[];
|
|
12129
|
-
kind: "model" | "
|
|
12159
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12130
12160
|
source: {
|
|
12131
12161
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12132
12162
|
job_id: string | null;
|
|
@@ -12158,7 +12188,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12158
12188
|
title: string | null;
|
|
12159
12189
|
description: string | null;
|
|
12160
12190
|
tags: string[];
|
|
12161
|
-
kind: "model" | "
|
|
12191
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12162
12192
|
source: {
|
|
12163
12193
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12164
12194
|
job_id: string | null;
|
|
@@ -12192,7 +12222,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12192
12222
|
title: string | null;
|
|
12193
12223
|
description: string | null;
|
|
12194
12224
|
tags: string[];
|
|
12195
|
-
kind: "model" | "
|
|
12225
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12196
12226
|
source: {
|
|
12197
12227
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12198
12228
|
job_id: string | null;
|
|
@@ -12230,7 +12260,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12230
12260
|
title: string | null;
|
|
12231
12261
|
description: string | null;
|
|
12232
12262
|
tags: string[];
|
|
12233
|
-
kind: "model" | "
|
|
12263
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12234
12264
|
source: {
|
|
12235
12265
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12236
12266
|
job_id: string | null;
|
|
@@ -12266,7 +12296,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12266
12296
|
title: string | null;
|
|
12267
12297
|
description: string | null;
|
|
12268
12298
|
tags: string[];
|
|
12269
|
-
kind: "model" | "
|
|
12299
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12270
12300
|
source: {
|
|
12271
12301
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12272
12302
|
job_id: string | null;
|
|
@@ -12297,7 +12327,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12297
12327
|
title: string | null;
|
|
12298
12328
|
description: string | null;
|
|
12299
12329
|
tags: string[];
|
|
12300
|
-
kind: "model" | "
|
|
12330
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12301
12331
|
source: {
|
|
12302
12332
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12303
12333
|
job_id: string | null;
|
|
@@ -13053,8 +13083,9 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
13053
13083
|
session_id: string | null;
|
|
13054
13084
|
agent_id: string | null;
|
|
13055
13085
|
deployment_id: string | null;
|
|
13086
|
+
resource_id: string | null;
|
|
13056
13087
|
line_items: {
|
|
13057
|
-
tier: "
|
|
13088
|
+
tier: "output" | "input" | "email" | "cache_write" | "cache_read" | "reasoning" | "media" | "computer" | "mobile" | "browser" | "search" | "social" | "storage" | "voice";
|
|
13058
13089
|
amount_micro_usd: number;
|
|
13059
13090
|
}[];
|
|
13060
13091
|
created_at: string;
|