@compose-market/sdk 0.7.0 → 0.7.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/.speakeasy/a2a.arazzo.yaml +1 -1
- package/.speakeasy/memory.arazzo.yaml +1 -1
- package/.speakeasy/tests.arazzo.yaml +1 -1
- package/dist/errors.d.ts +1 -144
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +1 -151
- package/dist/errors.js.map +1 -1
- package/dist/events.d.ts +46 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/resources/agent.d.ts +8 -6
- package/dist/resources/agent.d.ts.map +1 -1
- package/dist/resources/agent.js +267 -30
- package/dist/resources/agent.js.map +1 -1
- package/dist/resources/directory.d.ts +8 -0
- package/dist/resources/directory.d.ts.map +1 -1
- package/dist/resources/directory.js +8 -0
- package/dist/resources/directory.js.map +1 -1
- package/dist/resources/inference.d.ts +7 -6
- package/dist/resources/inference.d.ts.map +1 -1
- package/dist/resources/inference.js +38 -13
- package/dist/resources/inference.js.map +1 -1
- package/dist/resources/workflow.d.ts +6 -5
- package/dist/resources/workflow.d.ts.map +1 -1
- package/dist/resources/workflow.js +41 -24
- package/dist/resources/workflow.js.map +1 -1
- package/dist/stream.d.ts +3 -0
- package/dist/stream.d.ts.map +1 -0
- package/dist/stream.js +2 -0
- package/dist/stream.js.map +1 -0
- package/dist/streaming/sse.d.ts +1 -29
- package/dist/streaming/sse.d.ts.map +1 -1
- package/dist/streaming/sse.js +1 -125
- package/dist/streaming/sse.js.map +1 -1
- package/dist/types/index.d.ts +54 -253
- package/dist/types/index.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/generated/inference/esm/lib/config.d.ts +3 -3
- package/generated/inference/esm/lib/config.js +3 -3
- package/generated/inference/esm/lib/config.js.map +1 -1
- package/generated/inference/esm/models/audio-speech-create-request.d.ts +5 -5
- package/generated/inference/esm/models/audio-speech-create-request.d.ts.map +1 -1
- package/generated/inference/esm/models/audio-speech-create-request.js +3 -3
- package/generated/inference/esm/models/audio-speech-create-request.js.map +1 -1
- package/generated/inference/esm/models/audio-transcription-create-request.d.ts +5 -5
- package/generated/inference/esm/models/audio-transcription-create-request.d.ts.map +1 -1
- package/generated/inference/esm/models/audio-transcription-create-request.js +3 -3
- package/generated/inference/esm/models/audio-transcription-create-request.js.map +1 -1
- package/generated/inference/esm/models/chat-completions-create-request.d.ts +8 -8
- package/generated/inference/esm/models/chat-completions-create-request.d.ts.map +1 -1
- package/generated/inference/esm/models/chat-completions-create-request.js +5 -5
- package/generated/inference/esm/models/chat-completions-create-request.js.map +1 -1
- package/generated/inference/esm/models/chat-message.d.ts +4 -4
- package/generated/inference/esm/models/chat-message.d.ts.map +1 -1
- package/generated/inference/esm/models/chat-message.js +2 -2
- package/generated/inference/esm/models/chat-message.js.map +1 -1
- package/generated/inference/esm/models/compose-attachment-input.d.ts +5 -5
- package/generated/inference/esm/models/compose-attachment-input.d.ts.map +1 -1
- package/generated/inference/esm/models/compose-attachment-input.js +3 -3
- package/generated/inference/esm/models/compose-attachment-input.js.map +1 -1
- package/generated/inference/esm/models/compose-attachment.d.ts +8 -8
- package/generated/inference/esm/models/compose-attachment.d.ts.map +1 -1
- package/generated/inference/esm/models/compose-attachment.js +5 -5
- package/generated/inference/esm/models/compose-attachment.js.map +1 -1
- package/generated/inference/esm/models/embeddings-create-request.d.ts +5 -5
- package/generated/inference/esm/models/embeddings-create-request.d.ts.map +1 -1
- package/generated/inference/esm/models/embeddings-create-request.js +3 -3
- package/generated/inference/esm/models/embeddings-create-request.js.map +1 -1
- package/generated/inference/esm/models/images-generate-request.d.ts +5 -5
- package/generated/inference/esm/models/images-generate-request.d.ts.map +1 -1
- package/generated/inference/esm/models/images-generate-request.js +3 -3
- package/generated/inference/esm/models/images-generate-request.js.map +1 -1
- package/generated/inference/esm/models/operations/inference-images-edit.d.ts +4 -4
- package/generated/inference/esm/models/operations/inference-images-edit.d.ts.map +1 -1
- package/generated/inference/esm/models/operations/inference-images-edit.js +2 -2
- package/generated/inference/esm/models/operations/inference-images-edit.js.map +1 -1
- package/generated/inference/esm/models/responses-create-request.d.ts +5 -5
- package/generated/inference/esm/models/responses-create-request.d.ts.map +1 -1
- package/generated/inference/esm/models/responses-create-request.js +3 -3
- package/generated/inference/esm/models/responses-create-request.js.map +1 -1
- package/generated/inference/esm/models/video-generate-request.d.ts +5 -5
- package/generated/inference/esm/models/video-generate-request.d.ts.map +1 -1
- package/generated/inference/esm/models/video-generate-request.js +3 -3
- package/generated/inference/esm/models/video-generate-request.js.map +1 -1
- package/generated/inference/package.json +1 -1
- package/generated/inference/src/lib/config.ts +3 -3
- package/generated/inference/src/models/audio-speech-create-request.ts +9 -9
- package/generated/inference/src/models/audio-transcription-create-request.ts +9 -9
- package/generated/inference/src/models/chat-completions-create-request.ts +15 -15
- package/generated/inference/src/models/chat-message.ts +7 -7
- package/generated/inference/src/models/compose-attachment-input.ts +12 -12
- package/generated/inference/src/models/compose-attachment.ts +14 -14
- package/generated/inference/src/models/embeddings-create-request.ts +9 -9
- package/generated/inference/src/models/images-generate-request.ts +9 -9
- package/generated/inference/src/models/operations/inference-images-edit.ts +6 -6
- package/generated/inference/src/models/responses-create-request.ts +9 -9
- package/generated/inference/src/models/video-generate-request.ts +9 -9
- package/generated/manowar/esm/lib/config.d.ts +3 -3
- package/generated/manowar/esm/lib/config.js +3 -3
- package/generated/manowar/esm/lib/config.js.map +1 -1
- package/generated/manowar/esm/models/agent-chat-request.d.ts +5 -5
- package/generated/manowar/esm/models/agent-chat-request.d.ts.map +1 -1
- package/generated/manowar/esm/models/agent-chat-request.js +3 -3
- package/generated/manowar/esm/models/agent-chat-request.js.map +1 -1
- package/generated/manowar/esm/models/compose-attachment-input.d.ts +5 -5
- package/generated/manowar/esm/models/compose-attachment-input.d.ts.map +1 -1
- package/generated/manowar/esm/models/compose-attachment-input.js +3 -3
- package/generated/manowar/esm/models/compose-attachment-input.js.map +1 -1
- package/generated/manowar/esm/models/compose-attachment.d.ts +4 -4
- package/generated/manowar/esm/models/compose-attachment.d.ts.map +1 -1
- package/generated/manowar/esm/models/compose-attachment.js +2 -2
- package/generated/manowar/esm/models/compose-attachment.js.map +1 -1
- package/generated/manowar/esm/models/workflow-chat-request.d.ts +5 -5
- package/generated/manowar/esm/models/workflow-chat-request.d.ts.map +1 -1
- package/generated/manowar/esm/models/workflow-chat-request.js +3 -3
- package/generated/manowar/esm/models/workflow-chat-request.js.map +1 -1
- package/generated/manowar/package.json +1 -1
- package/generated/manowar/src/lib/config.ts +3 -3
- package/generated/manowar/src/models/agent-chat-request.ts +9 -9
- package/generated/manowar/src/models/compose-attachment-input.ts +12 -12
- package/generated/manowar/src/models/compose-attachment.ts +7 -7
- package/generated/manowar/src/models/workflow-chat-request.ts +9 -9
- package/generated/memory/esm/lib/config.d.ts +3 -3
- package/generated/memory/esm/lib/config.js +3 -3
- package/generated/memory/esm/lib/config.js.map +1 -1
- package/generated/memory/package.json +1 -1
- package/generated/memory/src/lib/config.ts +3 -3
- package/generated/x402/esm/lib/config.d.ts +3 -3
- package/generated/x402/esm/lib/config.js +3 -3
- package/generated/x402/esm/lib/config.js.map +1 -1
- package/generated/x402/package.json +1 -1
- package/generated/x402/src/lib/config.ts +3 -3
- package/package.json +9 -3
- package/specs/inference.openapi.yaml +22 -22
- package/specs/manowar.openapi.yaml +10 -10
- package/specs/memory.openapi.yaml +1 -1
- package/specs/x402.openapi.yaml +1 -1
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
AttachmentInput,
|
|
9
|
+
AttachmentInput$Outbound,
|
|
10
|
+
AttachmentInput$outboundSchema,
|
|
11
11
|
} from "./compose-attachment-input.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelProvider,
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
export type AudioSpeechCreateRequest = {
|
|
18
18
|
model: string;
|
|
19
19
|
input: string;
|
|
20
|
-
attachments?: Array<
|
|
21
|
-
attachment?:
|
|
20
|
+
attachments?: Array<AttachmentInput> | undefined;
|
|
21
|
+
attachment?: AttachmentInput | undefined;
|
|
22
22
|
voice?: string | undefined;
|
|
23
23
|
responseFormat?: string | undefined;
|
|
24
24
|
speed?: number | undefined;
|
|
@@ -31,8 +31,8 @@ export type AudioSpeechCreateRequest = {
|
|
|
31
31
|
export type AudioSpeechCreateRequest$Outbound = {
|
|
32
32
|
model: string;
|
|
33
33
|
input: string;
|
|
34
|
-
attachments?: Array<
|
|
35
|
-
attachment?:
|
|
34
|
+
attachments?: Array<AttachmentInput$Outbound> | undefined;
|
|
35
|
+
attachment?: AttachmentInput$Outbound | undefined;
|
|
36
36
|
voice?: string | undefined;
|
|
37
37
|
response_format?: string | undefined;
|
|
38
38
|
speed?: number | undefined;
|
|
@@ -50,8 +50,8 @@ export const AudioSpeechCreateRequest$outboundSchema: z.ZodMiniType<
|
|
|
50
50
|
z.object({
|
|
51
51
|
model: z.string(),
|
|
52
52
|
input: z.string(),
|
|
53
|
-
attachments: z.optional(z.array(
|
|
54
|
-
attachment: z.optional(
|
|
53
|
+
attachments: z.optional(z.array(AttachmentInput$outboundSchema)),
|
|
54
|
+
attachment: z.optional(AttachmentInput$outboundSchema),
|
|
55
55
|
voice: z.optional(z.string()),
|
|
56
56
|
responseFormat: z.optional(z.string()),
|
|
57
57
|
speed: z.optional(z.number()),
|
|
@@ -6,9 +6,9 @@ import * as z from "zod/v4-mini";
|
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
AttachmentInput,
|
|
10
|
+
AttachmentInput$Outbound,
|
|
11
|
+
AttachmentInput$outboundSchema,
|
|
12
12
|
} from "./compose-attachment-input.js";
|
|
13
13
|
import {
|
|
14
14
|
ModelProvider,
|
|
@@ -24,8 +24,8 @@ export type TimestampGranularity = ClosedEnum<typeof TimestampGranularity>;
|
|
|
24
24
|
export type AudioTranscriptionCreateRequest = {
|
|
25
25
|
model: string;
|
|
26
26
|
file: string;
|
|
27
|
-
attachments?: Array<
|
|
28
|
-
attachment?:
|
|
27
|
+
attachments?: Array<AttachmentInput> | undefined;
|
|
28
|
+
attachment?: AttachmentInput | undefined;
|
|
29
29
|
filename?: string | undefined;
|
|
30
30
|
language?: string | undefined;
|
|
31
31
|
responseFormat?: string | undefined;
|
|
@@ -45,8 +45,8 @@ export const TimestampGranularity$outboundSchema: z.ZodMiniEnum<
|
|
|
45
45
|
export type AudioTranscriptionCreateRequest$Outbound = {
|
|
46
46
|
model: string;
|
|
47
47
|
file: string;
|
|
48
|
-
attachments?: Array<
|
|
49
|
-
attachment?:
|
|
48
|
+
attachments?: Array<AttachmentInput$Outbound> | undefined;
|
|
49
|
+
attachment?: AttachmentInput$Outbound | undefined;
|
|
50
50
|
filename?: string | undefined;
|
|
51
51
|
language?: string | undefined;
|
|
52
52
|
response_format?: string | undefined;
|
|
@@ -66,8 +66,8 @@ export const AudioTranscriptionCreateRequest$outboundSchema: z.ZodMiniType<
|
|
|
66
66
|
z.object({
|
|
67
67
|
model: z.string(),
|
|
68
68
|
file: z.string(),
|
|
69
|
-
attachments: z.optional(z.array(
|
|
70
|
-
attachment: z.optional(
|
|
69
|
+
attachments: z.optional(z.array(AttachmentInput$outboundSchema)),
|
|
70
|
+
attachment: z.optional(AttachmentInput$outboundSchema),
|
|
71
71
|
filename: z.optional(z.string()),
|
|
72
72
|
language: z.optional(z.string()),
|
|
73
73
|
responseFormat: z.optional(z.string()),
|
|
@@ -6,14 +6,14 @@ import * as z from "zod/v4-mini";
|
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import { smartUnion } from "../types/smart-union.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Message,
|
|
10
|
+
Message$Outbound,
|
|
11
|
+
Message$outboundSchema,
|
|
12
12
|
} from "./chat-message.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
AttachmentInput,
|
|
15
|
+
AttachmentInput$Outbound,
|
|
16
|
+
AttachmentInput$outboundSchema,
|
|
17
17
|
} from "./compose-attachment-input.js";
|
|
18
18
|
import {
|
|
19
19
|
ModelProvider,
|
|
@@ -41,9 +41,9 @@ export type ChatCompletionsCreateRequest = {
|
|
|
41
41
|
model: string;
|
|
42
42
|
provider?: ModelProvider | undefined;
|
|
43
43
|
stream?: boolean | undefined;
|
|
44
|
-
messages: Array<
|
|
45
|
-
attachments?: Array<
|
|
46
|
-
attachment?:
|
|
44
|
+
messages: Array<Message>;
|
|
45
|
+
attachments?: Array<AttachmentInput> | undefined;
|
|
46
|
+
attachment?: AttachmentInput | undefined;
|
|
47
47
|
temperature?: number | undefined;
|
|
48
48
|
topP?: number | undefined;
|
|
49
49
|
n?: number | undefined;
|
|
@@ -88,9 +88,9 @@ export type ChatCompletionsCreateRequest$Outbound = {
|
|
|
88
88
|
model: string;
|
|
89
89
|
provider?: string | undefined;
|
|
90
90
|
stream?: boolean | undefined;
|
|
91
|
-
messages: Array<
|
|
92
|
-
attachments?: Array<
|
|
93
|
-
attachment?:
|
|
91
|
+
messages: Array<Message$Outbound>;
|
|
92
|
+
attachments?: Array<AttachmentInput$Outbound> | undefined;
|
|
93
|
+
attachment?: AttachmentInput$Outbound | undefined;
|
|
94
94
|
temperature?: number | undefined;
|
|
95
95
|
top_p?: number | undefined;
|
|
96
96
|
n?: number | undefined;
|
|
@@ -129,9 +129,9 @@ export const ChatCompletionsCreateRequest$outboundSchema: z.ZodMiniType<
|
|
|
129
129
|
model: z.string(),
|
|
130
130
|
provider: z.optional(ModelProvider$outboundSchema),
|
|
131
131
|
stream: z.optional(z.boolean()),
|
|
132
|
-
messages: z.array(
|
|
133
|
-
attachments: z.optional(z.array(
|
|
134
|
-
attachment: z.optional(
|
|
132
|
+
messages: z.array(Message$outboundSchema),
|
|
133
|
+
attachments: z.optional(z.array(AttachmentInput$outboundSchema)),
|
|
134
|
+
attachment: z.optional(AttachmentInput$outboundSchema),
|
|
135
135
|
temperature: z.optional(z.number()),
|
|
136
136
|
topP: z.optional(z.number()),
|
|
137
137
|
n: z.optional(z.int()),
|
|
@@ -18,7 +18,7 @@ export type Role = ClosedEnum<typeof Role>;
|
|
|
18
18
|
|
|
19
19
|
export type Content = string | Array<{ [k: string]: any }>;
|
|
20
20
|
|
|
21
|
-
export type
|
|
21
|
+
export type Message = {
|
|
22
22
|
role: Role;
|
|
23
23
|
content: string | Array<{ [k: string]: any }> | null;
|
|
24
24
|
name?: string | undefined;
|
|
@@ -42,7 +42,7 @@ export function contentToJSON(content: Content): string {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/** @internal */
|
|
45
|
-
export type
|
|
45
|
+
export type Message$Outbound = {
|
|
46
46
|
role: string;
|
|
47
47
|
content: string | Array<{ [k: string]: any }> | null;
|
|
48
48
|
name?: string | undefined;
|
|
@@ -52,9 +52,9 @@ export type ChatMessage$Outbound = {
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
/** @internal */
|
|
55
|
-
export const
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
export const Message$outboundSchema: z.ZodMiniType<
|
|
56
|
+
Message$Outbound,
|
|
57
|
+
Message
|
|
58
58
|
> = z.pipe(
|
|
59
59
|
z.catchall(
|
|
60
60
|
z.object({
|
|
@@ -78,6 +78,6 @@ export const ChatMessage$outboundSchema: z.ZodMiniType<
|
|
|
78
78
|
}),
|
|
79
79
|
);
|
|
80
80
|
|
|
81
|
-
export function chatMessageToJSON(chatMessage:
|
|
82
|
-
return JSON.stringify(
|
|
81
|
+
export function chatMessageToJSON(chatMessage: Message): string {
|
|
82
|
+
return JSON.stringify(Message$outboundSchema.parse(chatMessage));
|
|
83
83
|
}
|
|
@@ -5,28 +5,28 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { smartUnion } from "../types/smart-union.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Attachment,
|
|
9
|
+
Attachment$Outbound,
|
|
10
|
+
Attachment$outboundSchema,
|
|
11
11
|
} from "./compose-attachment.js";
|
|
12
12
|
|
|
13
|
-
export type
|
|
13
|
+
export type AttachmentInput = Attachment | string;
|
|
14
14
|
|
|
15
15
|
/** @internal */
|
|
16
|
-
export type
|
|
17
|
-
|
|
|
16
|
+
export type AttachmentInput$Outbound =
|
|
17
|
+
| Attachment$Outbound
|
|
18
18
|
| string;
|
|
19
19
|
|
|
20
20
|
/** @internal */
|
|
21
|
-
export const
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
> = smartUnion([
|
|
21
|
+
export const AttachmentInput$outboundSchema: z.ZodMiniType<
|
|
22
|
+
AttachmentInput$Outbound,
|
|
23
|
+
AttachmentInput
|
|
24
|
+
> = smartUnion([Attachment$outboundSchema, z.string()]);
|
|
25
25
|
|
|
26
26
|
export function composeAttachmentInputToJSON(
|
|
27
|
-
composeAttachmentInput:
|
|
27
|
+
composeAttachmentInput: AttachmentInput,
|
|
28
28
|
): string {
|
|
29
29
|
return JSON.stringify(
|
|
30
|
-
|
|
30
|
+
AttachmentInput$outboundSchema.parse(composeAttachmentInput),
|
|
31
31
|
);
|
|
32
32
|
}
|
|
@@ -8,7 +8,7 @@ import { ClosedEnum } from "../types/enums.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* Advisory attachment kind. The SDK/server do not reject unsupported model combinations.
|
|
10
10
|
*/
|
|
11
|
-
export const
|
|
11
|
+
export const AttachmentType = {
|
|
12
12
|
Image: "image",
|
|
13
13
|
Audio: "audio",
|
|
14
14
|
Video: "video",
|
|
@@ -21,7 +21,7 @@ export const ComposeAttachmentType = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Advisory attachment kind. The SDK/server do not reject unsupported model combinations.
|
|
23
23
|
*/
|
|
24
|
-
export type
|
|
24
|
+
export type AttachmentType = ClosedEnum<typeof AttachmentType>;
|
|
25
25
|
|
|
26
26
|
export const Detail = {
|
|
27
27
|
Auto: "auto",
|
|
@@ -30,11 +30,11 @@ export const Detail = {
|
|
|
30
30
|
} as const;
|
|
31
31
|
export type Detail = ClosedEnum<typeof Detail>;
|
|
32
32
|
|
|
33
|
-
export type
|
|
33
|
+
export type Attachment = {
|
|
34
34
|
/**
|
|
35
35
|
* Advisory attachment kind. The SDK/server do not reject unsupported model combinations.
|
|
36
36
|
*/
|
|
37
|
-
type?:
|
|
37
|
+
type?: AttachmentType | undefined;
|
|
38
38
|
url?: string | undefined;
|
|
39
39
|
uri?: string | undefined;
|
|
40
40
|
/**
|
|
@@ -54,9 +54,9 @@ export type ComposeAttachment = {
|
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
/** @internal */
|
|
57
|
-
export const
|
|
58
|
-
typeof
|
|
59
|
-
> = z.enum(
|
|
57
|
+
export const AttachmentType$outboundSchema: z.ZodMiniEnum<
|
|
58
|
+
typeof AttachmentType
|
|
59
|
+
> = z.enum(AttachmentType);
|
|
60
60
|
|
|
61
61
|
/** @internal */
|
|
62
62
|
export const Detail$outboundSchema: z.ZodMiniEnum<typeof Detail> = z.enum(
|
|
@@ -64,7 +64,7 @@ export const Detail$outboundSchema: z.ZodMiniEnum<typeof Detail> = z.enum(
|
|
|
64
64
|
);
|
|
65
65
|
|
|
66
66
|
/** @internal */
|
|
67
|
-
export type
|
|
67
|
+
export type Attachment$Outbound = {
|
|
68
68
|
type?: string | undefined;
|
|
69
69
|
url?: string | undefined;
|
|
70
70
|
uri?: string | undefined;
|
|
@@ -82,12 +82,12 @@ export type ComposeAttachment$Outbound = {
|
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
/** @internal */
|
|
85
|
-
export const
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
export const Attachment$outboundSchema: z.ZodMiniType<
|
|
86
|
+
Attachment$Outbound,
|
|
87
|
+
Attachment
|
|
88
88
|
> = z.catchall(
|
|
89
89
|
z.object({
|
|
90
|
-
type: z.optional(
|
|
90
|
+
type: z.optional(AttachmentType$outboundSchema),
|
|
91
91
|
url: z.optional(z.string()),
|
|
92
92
|
uri: z.optional(z.string()),
|
|
93
93
|
data: z.optional(z.string()),
|
|
@@ -105,9 +105,9 @@ export const ComposeAttachment$outboundSchema: z.ZodMiniType<
|
|
|
105
105
|
);
|
|
106
106
|
|
|
107
107
|
export function composeAttachmentToJSON(
|
|
108
|
-
composeAttachment:
|
|
108
|
+
composeAttachment: Attachment,
|
|
109
109
|
): string {
|
|
110
110
|
return JSON.stringify(
|
|
111
|
-
|
|
111
|
+
Attachment$outboundSchema.parse(composeAttachment),
|
|
112
112
|
);
|
|
113
113
|
}
|
|
@@ -6,9 +6,9 @@ import * as z from "zod/v4-mini";
|
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import { smartUnion } from "../types/smart-union.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
AttachmentInput,
|
|
10
|
+
AttachmentInput$Outbound,
|
|
11
|
+
AttachmentInput$outboundSchema,
|
|
12
12
|
} from "./compose-attachment-input.js";
|
|
13
13
|
import {
|
|
14
14
|
ModelProvider,
|
|
@@ -20,8 +20,8 @@ export type Input = string | Array<string>;
|
|
|
20
20
|
export type EmbeddingsCreateRequest = {
|
|
21
21
|
model: string;
|
|
22
22
|
input: string | Array<string>;
|
|
23
|
-
attachments?: Array<
|
|
24
|
-
attachment?:
|
|
23
|
+
attachments?: Array<AttachmentInput> | undefined;
|
|
24
|
+
attachment?: AttachmentInput | undefined;
|
|
25
25
|
provider?: ModelProvider | undefined;
|
|
26
26
|
dimensions?: number | undefined;
|
|
27
27
|
encodingFormat?: string | undefined;
|
|
@@ -44,8 +44,8 @@ export function inputToJSON(input: Input): string {
|
|
|
44
44
|
export type EmbeddingsCreateRequest$Outbound = {
|
|
45
45
|
model: string;
|
|
46
46
|
input: string | Array<string>;
|
|
47
|
-
attachments?: Array<
|
|
48
|
-
attachment?:
|
|
47
|
+
attachments?: Array<AttachmentInput$Outbound> | undefined;
|
|
48
|
+
attachment?: AttachmentInput$Outbound | undefined;
|
|
49
49
|
provider?: string | undefined;
|
|
50
50
|
dimensions?: number | undefined;
|
|
51
51
|
encoding_format?: string | undefined;
|
|
@@ -62,8 +62,8 @@ export const EmbeddingsCreateRequest$outboundSchema: z.ZodMiniType<
|
|
|
62
62
|
z.object({
|
|
63
63
|
model: z.string(),
|
|
64
64
|
input: smartUnion([z.string(), z.array(z.string())]),
|
|
65
|
-
attachments: z.optional(z.array(
|
|
66
|
-
attachment: z.optional(
|
|
65
|
+
attachments: z.optional(z.array(AttachmentInput$outboundSchema)),
|
|
66
|
+
attachment: z.optional(AttachmentInput$outboundSchema),
|
|
67
67
|
provider: z.optional(ModelProvider$outboundSchema),
|
|
68
68
|
dimensions: z.optional(z.int()),
|
|
69
69
|
encodingFormat: z.optional(z.string()),
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
AttachmentInput,
|
|
9
|
+
AttachmentInput$Outbound,
|
|
10
|
+
AttachmentInput$outboundSchema,
|
|
11
11
|
} from "./compose-attachment-input.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelProvider,
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
export type ImagesGenerateRequest = {
|
|
18
18
|
model: string;
|
|
19
19
|
prompt: string;
|
|
20
|
-
attachments?: Array<
|
|
21
|
-
attachment?:
|
|
20
|
+
attachments?: Array<AttachmentInput> | undefined;
|
|
21
|
+
attachment?: AttachmentInput | undefined;
|
|
22
22
|
n?: number | undefined;
|
|
23
23
|
size?: string | undefined;
|
|
24
24
|
quality?: string | undefined;
|
|
@@ -33,8 +33,8 @@ export type ImagesGenerateRequest = {
|
|
|
33
33
|
export type ImagesGenerateRequest$Outbound = {
|
|
34
34
|
model: string;
|
|
35
35
|
prompt: string;
|
|
36
|
-
attachments?: Array<
|
|
37
|
-
attachment?:
|
|
36
|
+
attachments?: Array<AttachmentInput$Outbound> | undefined;
|
|
37
|
+
attachment?: AttachmentInput$Outbound | undefined;
|
|
38
38
|
n?: number | undefined;
|
|
39
39
|
size?: string | undefined;
|
|
40
40
|
quality?: string | undefined;
|
|
@@ -54,8 +54,8 @@ export const ImagesGenerateRequest$outboundSchema: z.ZodMiniType<
|
|
|
54
54
|
z.object({
|
|
55
55
|
model: z.string(),
|
|
56
56
|
prompt: z.string(),
|
|
57
|
-
attachments: z.optional(z.array(
|
|
58
|
-
attachment: z.optional(
|
|
57
|
+
attachments: z.optional(z.array(AttachmentInput$outboundSchema)),
|
|
58
|
+
attachment: z.optional(AttachmentInput$outboundSchema),
|
|
59
59
|
n: z.optional(z.int()),
|
|
60
60
|
size: z.optional(z.string()),
|
|
61
61
|
quality: z.optional(z.string()),
|
|
@@ -18,8 +18,8 @@ export type InferenceImagesEditSecurity = {
|
|
|
18
18
|
export type InferenceImagesEditRequestBody = {
|
|
19
19
|
model: string;
|
|
20
20
|
prompt: string;
|
|
21
|
-
attachments?: Array<models.
|
|
22
|
-
attachment?: models.
|
|
21
|
+
attachments?: Array<models.AttachmentInput> | undefined;
|
|
22
|
+
attachment?: models.AttachmentInput | undefined;
|
|
23
23
|
n?: number | undefined;
|
|
24
24
|
size?: string | undefined;
|
|
25
25
|
quality?: string | undefined;
|
|
@@ -96,8 +96,8 @@ export function inferenceImagesEditSecurityToJSON(
|
|
|
96
96
|
export type InferenceImagesEditRequestBody$Outbound = {
|
|
97
97
|
model: string;
|
|
98
98
|
prompt: string;
|
|
99
|
-
attachments?: Array<models.
|
|
100
|
-
attachment?: models.
|
|
99
|
+
attachments?: Array<models.AttachmentInput$Outbound> | undefined;
|
|
100
|
+
attachment?: models.AttachmentInput$Outbound | undefined;
|
|
101
101
|
n?: number | undefined;
|
|
102
102
|
size?: string | undefined;
|
|
103
103
|
quality?: string | undefined;
|
|
@@ -120,9 +120,9 @@ export const InferenceImagesEditRequestBody$outboundSchema: z.ZodMiniType<
|
|
|
120
120
|
model: z.string(),
|
|
121
121
|
prompt: z.string(),
|
|
122
122
|
attachments: z.optional(
|
|
123
|
-
z.array(models.
|
|
123
|
+
z.array(models.AttachmentInput$outboundSchema),
|
|
124
124
|
),
|
|
125
|
-
attachment: z.optional(models.
|
|
125
|
+
attachment: z.optional(models.AttachmentInput$outboundSchema),
|
|
126
126
|
n: z.optional(z.int()),
|
|
127
127
|
size: z.optional(z.string()),
|
|
128
128
|
quality: z.optional(z.string()),
|
|
@@ -6,9 +6,9 @@ import * as z from "zod/v4-mini";
|
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
AttachmentInput,
|
|
10
|
+
AttachmentInput$Outbound,
|
|
11
|
+
AttachmentInput$outboundSchema,
|
|
12
12
|
} from "./compose-attachment-input.js";
|
|
13
13
|
import {
|
|
14
14
|
ModelProvider,
|
|
@@ -42,8 +42,8 @@ export type Modality = ClosedEnum<typeof Modality>;
|
|
|
42
42
|
export type ResponsesCreateRequest = {
|
|
43
43
|
model: string;
|
|
44
44
|
input: any;
|
|
45
|
-
attachments?: Array<
|
|
46
|
-
attachment?:
|
|
45
|
+
attachments?: Array<AttachmentInput> | undefined;
|
|
46
|
+
attachment?: AttachmentInput | undefined;
|
|
47
47
|
provider?: ModelProvider | undefined;
|
|
48
48
|
stream?: boolean | undefined;
|
|
49
49
|
modalities?: Array<Modality> | undefined;
|
|
@@ -87,8 +87,8 @@ export const Modality$outboundSchema: z.ZodMiniEnum<typeof Modality> = z.enum(
|
|
|
87
87
|
export type ResponsesCreateRequest$Outbound = {
|
|
88
88
|
model: string;
|
|
89
89
|
input: any;
|
|
90
|
-
attachments?: Array<
|
|
91
|
-
attachment?:
|
|
90
|
+
attachments?: Array<AttachmentInput$Outbound> | undefined;
|
|
91
|
+
attachment?: AttachmentInput$Outbound | undefined;
|
|
92
92
|
provider?: string | undefined;
|
|
93
93
|
stream?: boolean | undefined;
|
|
94
94
|
modalities?: Array<string> | undefined;
|
|
@@ -132,8 +132,8 @@ export const ResponsesCreateRequest$outboundSchema: z.ZodMiniType<
|
|
|
132
132
|
z.object({
|
|
133
133
|
model: z.string(),
|
|
134
134
|
input: z.any(),
|
|
135
|
-
attachments: z.optional(z.array(
|
|
136
|
-
attachment: z.optional(
|
|
135
|
+
attachments: z.optional(z.array(AttachmentInput$outboundSchema)),
|
|
136
|
+
attachment: z.optional(AttachmentInput$outboundSchema),
|
|
137
137
|
provider: z.optional(ModelProvider$outboundSchema),
|
|
138
138
|
stream: z.optional(z.boolean()),
|
|
139
139
|
modalities: z.optional(z.array(Modality$outboundSchema)),
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
AttachmentInput,
|
|
9
|
+
AttachmentInput$Outbound,
|
|
10
|
+
AttachmentInput$outboundSchema,
|
|
11
11
|
} from "./compose-attachment-input.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelProvider,
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
export type VideoGenerateRequest = {
|
|
18
18
|
model: string;
|
|
19
19
|
prompt?: string | undefined;
|
|
20
|
-
attachments?: Array<
|
|
21
|
-
attachment?:
|
|
20
|
+
attachments?: Array<AttachmentInput> | undefined;
|
|
21
|
+
attachment?: AttachmentInput | undefined;
|
|
22
22
|
duration?: number | undefined;
|
|
23
23
|
aspectRatio?: string | undefined;
|
|
24
24
|
resolution?: string | undefined;
|
|
@@ -35,8 +35,8 @@ export type VideoGenerateRequest = {
|
|
|
35
35
|
export type VideoGenerateRequest$Outbound = {
|
|
36
36
|
model: string;
|
|
37
37
|
prompt?: string | undefined;
|
|
38
|
-
attachments?: Array<
|
|
39
|
-
attachment?:
|
|
38
|
+
attachments?: Array<AttachmentInput$Outbound> | undefined;
|
|
39
|
+
attachment?: AttachmentInput$Outbound | undefined;
|
|
40
40
|
duration?: number | undefined;
|
|
41
41
|
aspect_ratio?: string | undefined;
|
|
42
42
|
resolution?: string | undefined;
|
|
@@ -58,8 +58,8 @@ export const VideoGenerateRequest$outboundSchema: z.ZodMiniType<
|
|
|
58
58
|
z.object({
|
|
59
59
|
model: z.string(),
|
|
60
60
|
prompt: z.optional(z.string()),
|
|
61
|
-
attachments: z.optional(z.array(
|
|
62
|
-
attachment: z.optional(
|
|
61
|
+
attachments: z.optional(z.array(AttachmentInput$outboundSchema)),
|
|
62
|
+
attachment: z.optional(AttachmentInput$outboundSchema),
|
|
63
63
|
duration: z.optional(z.int()),
|
|
64
64
|
aspectRatio: z.optional(z.string()),
|
|
65
65
|
resolution: z.optional(z.string()),
|
|
@@ -46,9 +46,9 @@ export type SDKOptions = {
|
|
|
46
46
|
export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
47
47
|
export declare const SDK_METADATA: {
|
|
48
48
|
readonly language: "typescript";
|
|
49
|
-
readonly openapiDocVersion: "0.7.
|
|
50
|
-
readonly sdkVersion: "0.7.
|
|
49
|
+
readonly openapiDocVersion: "0.7.2";
|
|
50
|
+
readonly sdkVersion: "0.7.2";
|
|
51
51
|
readonly genVersion: "2.884.4";
|
|
52
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.7.
|
|
52
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.7.2 2.884.4 0.6.92 @compose-market/sdk";
|
|
53
53
|
};
|
|
54
54
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -34,9 +34,9 @@ export function serverURLFromOptions(options) {
|
|
|
34
34
|
}
|
|
35
35
|
export const SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
|
-
openapiDocVersion: "0.7.
|
|
38
|
-
sdkVersion: "0.7.
|
|
37
|
+
openapiDocVersion: "0.7.2",
|
|
38
|
+
sdkVersion: "0.7.2",
|
|
39
39
|
genVersion: "2.884.4",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.7.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.7.2 2.884.4 0.6.92 @compose-market/sdk",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,EAAU,UAAU,EAAE,MAAM,UAAU,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AACvC;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC;AAC9C;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AACnC;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,CAAC,aAAa,CAAC,EAAE,gCAAgC;IACjD,CAAC,gBAAgB,CAAC,EAAE,4BAA4B;IAChD,CAAC,WAAW,CAAC,EAAE,uBAAuB;CAC9B,CAAC;AA0BX,MAAM,UAAU,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,aAAa,CAAC;QAC/C,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,EAAU,UAAU,EAAE,MAAM,UAAU,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AACvC;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC;AAC9C;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AACnC;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,CAAC,aAAa,CAAC,EAAE,gCAAgC;IACjD,CAAC,gBAAgB,CAAC,EAAE,4BAA4B;IAChD,CAAC,WAAW,CAAC,EAAE,uBAAuB;CAC9B,CAAC;AA0BX,MAAM,UAAU,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,aAAa,CAAC;QAC/C,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,OAAO;IACnB,UAAU,EAAE,SAAS;IACrB,SAAS,EACP,mEAAmE;CAC7D,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
|
-
import {
|
|
2
|
+
import { AttachmentInput, AttachmentInput$Outbound } from "./compose-attachment-input.js";
|
|
3
3
|
export type AgentChatRequest = {
|
|
4
4
|
message: string;
|
|
5
5
|
threadId?: string | undefined;
|
|
6
6
|
composeRunId?: string | undefined;
|
|
7
7
|
workflowWallet?: string | undefined;
|
|
8
8
|
userAddress?: string | undefined;
|
|
9
|
-
attachment?:
|
|
10
|
-
attachments?: Array<
|
|
9
|
+
attachment?: AttachmentInput | undefined;
|
|
10
|
+
attachments?: Array<AttachmentInput> | undefined;
|
|
11
11
|
sessionGrants?: Array<string> | undefined;
|
|
12
12
|
cloudPermissions?: Array<string> | undefined;
|
|
13
13
|
backpackAccounts?: Array<{
|
|
@@ -22,8 +22,8 @@ export type AgentChatRequest$Outbound = {
|
|
|
22
22
|
composeRunId?: string | undefined;
|
|
23
23
|
workflowWallet?: string | undefined;
|
|
24
24
|
userAddress?: string | undefined;
|
|
25
|
-
attachment?:
|
|
26
|
-
attachments?: Array<
|
|
25
|
+
attachment?: AttachmentInput$Outbound | undefined;
|
|
26
|
+
attachments?: Array<AttachmentInput$Outbound> | undefined;
|
|
27
27
|
sessionGrants?: Array<string> | undefined;
|
|
28
28
|
cloudPermissions?: Array<string> | undefined;
|
|
29
29
|
backpackAccounts?: Array<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-chat-request.d.ts","sourceRoot":"","sources":["../../src/models/agent-chat-request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"agent-chat-request.d.ts","sourceRoot":"","sources":["../../src/models/agent-chat-request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EACL,eAAe,EACf,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACzC,WAAW,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;IACjD,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC1C,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC7C,gBAAgB,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IAC3D,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IAClD,WAAW,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC;IAC1D,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC1C,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC7C,gBAAgB,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IAC3D,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,WAAW,CACzD,yBAAyB,EACzB,gBAAgB,CAejB,CAAC;AAEF,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
|
-
import {
|
|
5
|
+
import { AttachmentInput$outboundSchema, } from "./compose-attachment-input.js";
|
|
6
6
|
/** @internal */
|
|
7
7
|
export const AgentChatRequest$outboundSchema = z.catchall(z.object({
|
|
8
8
|
message: z.string(),
|
|
@@ -10,8 +10,8 @@ export const AgentChatRequest$outboundSchema = z.catchall(z.object({
|
|
|
10
10
|
composeRunId: z.optional(z.string()),
|
|
11
11
|
workflowWallet: z.optional(z.string()),
|
|
12
12
|
userAddress: z.optional(z.string()),
|
|
13
|
-
attachment: z.optional(
|
|
14
|
-
attachments: z.optional(z.array(
|
|
13
|
+
attachment: z.optional(AttachmentInput$outboundSchema),
|
|
14
|
+
attachments: z.optional(z.array(AttachmentInput$outboundSchema)),
|
|
15
15
|
sessionGrants: z.optional(z.array(z.string())),
|
|
16
16
|
cloudPermissions: z.optional(z.array(z.string())),
|
|
17
17
|
backpackAccounts: z.optional(z.array(z.record(z.string(), z.any()))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-chat-request.js","sourceRoot":"","sources":["../../src/models/agent-chat-request.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAGL,
|
|
1
|
+
{"version":3,"file":"agent-chat-request.js","sourceRoot":"","sources":["../../src/models/agent-chat-request.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAGL,8BAA8B,GAC/B,MAAM,+BAA+B,CAAC;AA+BvC,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAGxC,CAAC,CAAC,QAAQ,CACZ,CAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAChC,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACpC,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACtD,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAChE,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IAC9C,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACjD,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;CACrE,CAAC,EACF,CAAC,CAAC,GAAG,EAAE,CACR,CAAC;AAEF,MAAM,UAAU,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,+BAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC"}
|