@usenaive-sdk/managed-agents 0.12.1 → 0.12.2
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 +54 -29
- package/dist/index.js +165 -74
- 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";
|
|
@@ -6179,7 +6193,9 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
6179
6193
|
description: string | null;
|
|
6180
6194
|
max_timeout_seconds: number | null;
|
|
6181
6195
|
}>;
|
|
6182
|
-
pay: (identity: string, body: WalletPayRequest, select?: WalletSelect
|
|
6196
|
+
pay: (identity: string, body: WalletPayRequest, select?: WalletSelect, opts?: {
|
|
6197
|
+
idempotencyKey?: string;
|
|
6198
|
+
}) => Promise<{
|
|
6183
6199
|
object: "wallet_payment";
|
|
6184
6200
|
paid: boolean;
|
|
6185
6201
|
transaction_id: string | null;
|
|
@@ -6806,7 +6822,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
6806
6822
|
id: string;
|
|
6807
6823
|
object: "social_upload";
|
|
6808
6824
|
identity_id: string;
|
|
6809
|
-
type: "
|
|
6825
|
+
type: "video" | "image" | "document";
|
|
6810
6826
|
url: string | null;
|
|
6811
6827
|
}>;
|
|
6812
6828
|
};
|
|
@@ -7216,7 +7232,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
7216
7232
|
props: {
|
|
7217
7233
|
files: {
|
|
7218
7234
|
id: string;
|
|
7219
|
-
kind: "
|
|
7235
|
+
kind: "video" | "image";
|
|
7220
7236
|
}[];
|
|
7221
7237
|
label?: string | undefined;
|
|
7222
7238
|
};
|
|
@@ -8392,7 +8408,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8392
8408
|
title: string | null;
|
|
8393
8409
|
description: string | null;
|
|
8394
8410
|
tags: string[];
|
|
8395
|
-
kind: "model" | "
|
|
8411
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
8396
8412
|
source: {
|
|
8397
8413
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
8398
8414
|
job_id: string | null;
|
|
@@ -8543,7 +8559,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8543
8559
|
title: string | null;
|
|
8544
8560
|
description: string | null;
|
|
8545
8561
|
tags: string[];
|
|
8546
|
-
kind: "model" | "
|
|
8562
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
8547
8563
|
source: {
|
|
8548
8564
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
8549
8565
|
job_id: string | null;
|
|
@@ -8581,7 +8597,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8581
8597
|
title: string | null;
|
|
8582
8598
|
description: string | null;
|
|
8583
8599
|
tags: string[];
|
|
8584
|
-
kind: "model" | "
|
|
8600
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
8585
8601
|
source: {
|
|
8586
8602
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
8587
8603
|
job_id: string | null;
|
|
@@ -8620,7 +8636,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8620
8636
|
video: string;
|
|
8621
8637
|
prompt: string;
|
|
8622
8638
|
references: string[];
|
|
8623
|
-
mode: "scene" | "outfit_or_object" | "person_swap" | null;
|
|
8639
|
+
mode: "scene" | "outfit_or_object" | "person_swap" | "recast" | null;
|
|
8624
8640
|
result: {
|
|
8625
8641
|
file_id: string;
|
|
8626
8642
|
} | null;
|
|
@@ -8639,7 +8655,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8639
8655
|
video: string;
|
|
8640
8656
|
prompt: string;
|
|
8641
8657
|
references: string[];
|
|
8642
|
-
mode: "scene" | "outfit_or_object" | "person_swap" | null;
|
|
8658
|
+
mode: "scene" | "outfit_or_object" | "person_swap" | "recast" | null;
|
|
8643
8659
|
result: {
|
|
8644
8660
|
file_id: string;
|
|
8645
8661
|
} | null;
|
|
@@ -8771,7 +8787,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8771
8787
|
id: string;
|
|
8772
8788
|
object: "media_skill_build";
|
|
8773
8789
|
name: string;
|
|
8774
|
-
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup";
|
|
8790
|
+
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup" | "finalizing";
|
|
8775
8791
|
urls: string[];
|
|
8776
8792
|
rounds: {
|
|
8777
8793
|
object: "creator_template_round";
|
|
@@ -8799,6 +8815,8 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8799
8815
|
error: string | null;
|
|
8800
8816
|
created_at: string;
|
|
8801
8817
|
finished_at: string | null;
|
|
8818
|
+
edit_job_id: string | null;
|
|
8819
|
+
sample_file_id: string | null;
|
|
8802
8820
|
review: {
|
|
8803
8821
|
state: "failed" | "queued" | "judging" | "decided";
|
|
8804
8822
|
decision: "rejected" | "needs_you" | "accepted" | null;
|
|
@@ -8869,7 +8887,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8869
8887
|
id: string;
|
|
8870
8888
|
object: "media_skill_build";
|
|
8871
8889
|
name: string;
|
|
8872
|
-
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup";
|
|
8890
|
+
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup" | "finalizing";
|
|
8873
8891
|
urls: string[];
|
|
8874
8892
|
rounds: {
|
|
8875
8893
|
object: "creator_template_round";
|
|
@@ -8897,6 +8915,8 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8897
8915
|
error: string | null;
|
|
8898
8916
|
created_at: string;
|
|
8899
8917
|
finished_at: string | null;
|
|
8918
|
+
edit_job_id: string | null;
|
|
8919
|
+
sample_file_id: string | null;
|
|
8900
8920
|
review: {
|
|
8901
8921
|
state: "failed" | "queued" | "judging" | "decided";
|
|
8902
8922
|
decision: "rejected" | "needs_you" | "accepted" | null;
|
|
@@ -8965,7 +8985,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8965
8985
|
id: string;
|
|
8966
8986
|
object: "media_skill_build";
|
|
8967
8987
|
name: string;
|
|
8968
|
-
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup";
|
|
8988
|
+
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup" | "finalizing";
|
|
8969
8989
|
urls: string[];
|
|
8970
8990
|
rounds: {
|
|
8971
8991
|
object: "creator_template_round";
|
|
@@ -8993,6 +9013,8 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
8993
9013
|
error: string | null;
|
|
8994
9014
|
created_at: string;
|
|
8995
9015
|
finished_at: string | null;
|
|
9016
|
+
edit_job_id: string | null;
|
|
9017
|
+
sample_file_id: string | null;
|
|
8996
9018
|
review: {
|
|
8997
9019
|
state: "failed" | "queued" | "judging" | "decided";
|
|
8998
9020
|
decision: "rejected" | "needs_you" | "accepted" | null;
|
|
@@ -9062,7 +9084,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
9062
9084
|
id: string;
|
|
9063
9085
|
object: "media_skill_build";
|
|
9064
9086
|
name: string;
|
|
9065
|
-
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup";
|
|
9087
|
+
state: "ready" | "live" | "building" | "in_review" | "changes_requested" | "setup" | "finalizing";
|
|
9066
9088
|
urls: string[];
|
|
9067
9089
|
rounds: {
|
|
9068
9090
|
object: "creator_template_round";
|
|
@@ -9090,6 +9112,8 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
9090
9112
|
error: string | null;
|
|
9091
9113
|
created_at: string;
|
|
9092
9114
|
finished_at: string | null;
|
|
9115
|
+
edit_job_id: string | null;
|
|
9116
|
+
sample_file_id: string | null;
|
|
9093
9117
|
review: {
|
|
9094
9118
|
state: "failed" | "queued" | "judging" | "decided";
|
|
9095
9119
|
decision: "rejected" | "needs_you" | "accepted" | null;
|
|
@@ -9447,7 +9471,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
9447
9471
|
title: string | null;
|
|
9448
9472
|
description: string | null;
|
|
9449
9473
|
tags: string[];
|
|
9450
|
-
kind: "model" | "
|
|
9474
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
9451
9475
|
source: {
|
|
9452
9476
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
9453
9477
|
job_id: string | null;
|
|
@@ -9484,7 +9508,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
9484
9508
|
title: string | null;
|
|
9485
9509
|
description: string | null;
|
|
9486
9510
|
tags: string[];
|
|
9487
|
-
kind: "model" | "
|
|
9511
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
9488
9512
|
source: {
|
|
9489
9513
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
9490
9514
|
job_id: string | null;
|
|
@@ -9526,7 +9550,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
9526
9550
|
object: "media_model";
|
|
9527
9551
|
id: string;
|
|
9528
9552
|
name: string;
|
|
9529
|
-
kind: "
|
|
9553
|
+
kind: "video" | "image" | "mesh" | "stt" | "tts" | "s2s";
|
|
9530
9554
|
description: string;
|
|
9531
9555
|
prices?: {
|
|
9532
9556
|
texture: boolean;
|
|
@@ -10889,7 +10913,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
10889
10913
|
data: {
|
|
10890
10914
|
id: string;
|
|
10891
10915
|
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";
|
|
10916
|
+
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
10917
|
session_id: string;
|
|
10894
10918
|
data: Record<string, unknown>;
|
|
10895
10919
|
created_at: string;
|
|
@@ -12126,7 +12150,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12126
12150
|
title: string | null;
|
|
12127
12151
|
description: string | null;
|
|
12128
12152
|
tags: string[];
|
|
12129
|
-
kind: "model" | "
|
|
12153
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12130
12154
|
source: {
|
|
12131
12155
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12132
12156
|
job_id: string | null;
|
|
@@ -12158,7 +12182,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12158
12182
|
title: string | null;
|
|
12159
12183
|
description: string | null;
|
|
12160
12184
|
tags: string[];
|
|
12161
|
-
kind: "model" | "
|
|
12185
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12162
12186
|
source: {
|
|
12163
12187
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12164
12188
|
job_id: string | null;
|
|
@@ -12192,7 +12216,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12192
12216
|
title: string | null;
|
|
12193
12217
|
description: string | null;
|
|
12194
12218
|
tags: string[];
|
|
12195
|
-
kind: "model" | "
|
|
12219
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12196
12220
|
source: {
|
|
12197
12221
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12198
12222
|
job_id: string | null;
|
|
@@ -12230,7 +12254,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12230
12254
|
title: string | null;
|
|
12231
12255
|
description: string | null;
|
|
12232
12256
|
tags: string[];
|
|
12233
|
-
kind: "model" | "
|
|
12257
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12234
12258
|
source: {
|
|
12235
12259
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12236
12260
|
job_id: string | null;
|
|
@@ -12266,7 +12290,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12266
12290
|
title: string | null;
|
|
12267
12291
|
description: string | null;
|
|
12268
12292
|
tags: string[];
|
|
12269
|
-
kind: "model" | "
|
|
12293
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12270
12294
|
source: {
|
|
12271
12295
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12272
12296
|
job_id: string | null;
|
|
@@ -12297,7 +12321,7 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
12297
12321
|
title: string | null;
|
|
12298
12322
|
description: string | null;
|
|
12299
12323
|
tags: string[];
|
|
12300
|
-
kind: "model" | "
|
|
12324
|
+
kind: "model" | "video" | "image" | "other" | "audio" | "document";
|
|
12301
12325
|
source: {
|
|
12302
12326
|
type: "screenshot" | "upload" | "url_import" | "image_generation" | "video_generation" | "video_clipping" | "speech_generation" | "mesh_generation" | "model_build" | "sound_effect" | "music";
|
|
12303
12327
|
job_id: string | null;
|
|
@@ -13053,8 +13077,9 @@ declare function createClient(options: Partial<ClientConfig> & Pick<ClientConfig
|
|
|
13053
13077
|
session_id: string | null;
|
|
13054
13078
|
agent_id: string | null;
|
|
13055
13079
|
deployment_id: string | null;
|
|
13080
|
+
resource_id: string | null;
|
|
13056
13081
|
line_items: {
|
|
13057
|
-
tier: "
|
|
13082
|
+
tier: "output" | "input" | "email" | "cache_write" | "cache_read" | "reasoning" | "media" | "computer" | "mobile" | "browser" | "search" | "social" | "storage" | "voice";
|
|
13058
13083
|
amount_micro_usd: number;
|
|
13059
13084
|
}[];
|
|
13060
13085
|
created_at: string;
|