@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.
Files changed (144) hide show
  1. package/.speakeasy/a2a.arazzo.yaml +1 -1
  2. package/.speakeasy/memory.arazzo.yaml +1 -1
  3. package/.speakeasy/tests.arazzo.yaml +1 -1
  4. package/dist/errors.d.ts +1 -144
  5. package/dist/errors.d.ts.map +1 -1
  6. package/dist/errors.js +1 -151
  7. package/dist/errors.js.map +1 -1
  8. package/dist/events.d.ts +46 -1
  9. package/dist/events.d.ts.map +1 -1
  10. package/dist/events.js.map +1 -1
  11. package/dist/index.d.ts +4 -3
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +1 -1
  14. package/dist/index.js.map +1 -1
  15. package/dist/resources/agent.d.ts +8 -6
  16. package/dist/resources/agent.d.ts.map +1 -1
  17. package/dist/resources/agent.js +267 -30
  18. package/dist/resources/agent.js.map +1 -1
  19. package/dist/resources/directory.d.ts +8 -0
  20. package/dist/resources/directory.d.ts.map +1 -1
  21. package/dist/resources/directory.js +8 -0
  22. package/dist/resources/directory.js.map +1 -1
  23. package/dist/resources/inference.d.ts +7 -6
  24. package/dist/resources/inference.d.ts.map +1 -1
  25. package/dist/resources/inference.js +38 -13
  26. package/dist/resources/inference.js.map +1 -1
  27. package/dist/resources/workflow.d.ts +6 -5
  28. package/dist/resources/workflow.d.ts.map +1 -1
  29. package/dist/resources/workflow.js +41 -24
  30. package/dist/resources/workflow.js.map +1 -1
  31. package/dist/stream.d.ts +3 -0
  32. package/dist/stream.d.ts.map +1 -0
  33. package/dist/stream.js +2 -0
  34. package/dist/stream.js.map +1 -0
  35. package/dist/streaming/sse.d.ts +1 -29
  36. package/dist/streaming/sse.d.ts.map +1 -1
  37. package/dist/streaming/sse.js +1 -125
  38. package/dist/streaming/sse.js.map +1 -1
  39. package/dist/types/index.d.ts +54 -253
  40. package/dist/types/index.d.ts.map +1 -1
  41. package/dist/version.d.ts +1 -1
  42. package/dist/version.d.ts.map +1 -1
  43. package/dist/version.js +1 -1
  44. package/dist/version.js.map +1 -1
  45. package/generated/inference/esm/lib/config.d.ts +3 -3
  46. package/generated/inference/esm/lib/config.js +3 -3
  47. package/generated/inference/esm/lib/config.js.map +1 -1
  48. package/generated/inference/esm/models/audio-speech-create-request.d.ts +5 -5
  49. package/generated/inference/esm/models/audio-speech-create-request.d.ts.map +1 -1
  50. package/generated/inference/esm/models/audio-speech-create-request.js +3 -3
  51. package/generated/inference/esm/models/audio-speech-create-request.js.map +1 -1
  52. package/generated/inference/esm/models/audio-transcription-create-request.d.ts +5 -5
  53. package/generated/inference/esm/models/audio-transcription-create-request.d.ts.map +1 -1
  54. package/generated/inference/esm/models/audio-transcription-create-request.js +3 -3
  55. package/generated/inference/esm/models/audio-transcription-create-request.js.map +1 -1
  56. package/generated/inference/esm/models/chat-completions-create-request.d.ts +8 -8
  57. package/generated/inference/esm/models/chat-completions-create-request.d.ts.map +1 -1
  58. package/generated/inference/esm/models/chat-completions-create-request.js +5 -5
  59. package/generated/inference/esm/models/chat-completions-create-request.js.map +1 -1
  60. package/generated/inference/esm/models/chat-message.d.ts +4 -4
  61. package/generated/inference/esm/models/chat-message.d.ts.map +1 -1
  62. package/generated/inference/esm/models/chat-message.js +2 -2
  63. package/generated/inference/esm/models/chat-message.js.map +1 -1
  64. package/generated/inference/esm/models/compose-attachment-input.d.ts +5 -5
  65. package/generated/inference/esm/models/compose-attachment-input.d.ts.map +1 -1
  66. package/generated/inference/esm/models/compose-attachment-input.js +3 -3
  67. package/generated/inference/esm/models/compose-attachment-input.js.map +1 -1
  68. package/generated/inference/esm/models/compose-attachment.d.ts +8 -8
  69. package/generated/inference/esm/models/compose-attachment.d.ts.map +1 -1
  70. package/generated/inference/esm/models/compose-attachment.js +5 -5
  71. package/generated/inference/esm/models/compose-attachment.js.map +1 -1
  72. package/generated/inference/esm/models/embeddings-create-request.d.ts +5 -5
  73. package/generated/inference/esm/models/embeddings-create-request.d.ts.map +1 -1
  74. package/generated/inference/esm/models/embeddings-create-request.js +3 -3
  75. package/generated/inference/esm/models/embeddings-create-request.js.map +1 -1
  76. package/generated/inference/esm/models/images-generate-request.d.ts +5 -5
  77. package/generated/inference/esm/models/images-generate-request.d.ts.map +1 -1
  78. package/generated/inference/esm/models/images-generate-request.js +3 -3
  79. package/generated/inference/esm/models/images-generate-request.js.map +1 -1
  80. package/generated/inference/esm/models/operations/inference-images-edit.d.ts +4 -4
  81. package/generated/inference/esm/models/operations/inference-images-edit.d.ts.map +1 -1
  82. package/generated/inference/esm/models/operations/inference-images-edit.js +2 -2
  83. package/generated/inference/esm/models/operations/inference-images-edit.js.map +1 -1
  84. package/generated/inference/esm/models/responses-create-request.d.ts +5 -5
  85. package/generated/inference/esm/models/responses-create-request.d.ts.map +1 -1
  86. package/generated/inference/esm/models/responses-create-request.js +3 -3
  87. package/generated/inference/esm/models/responses-create-request.js.map +1 -1
  88. package/generated/inference/esm/models/video-generate-request.d.ts +5 -5
  89. package/generated/inference/esm/models/video-generate-request.d.ts.map +1 -1
  90. package/generated/inference/esm/models/video-generate-request.js +3 -3
  91. package/generated/inference/esm/models/video-generate-request.js.map +1 -1
  92. package/generated/inference/package.json +1 -1
  93. package/generated/inference/src/lib/config.ts +3 -3
  94. package/generated/inference/src/models/audio-speech-create-request.ts +9 -9
  95. package/generated/inference/src/models/audio-transcription-create-request.ts +9 -9
  96. package/generated/inference/src/models/chat-completions-create-request.ts +15 -15
  97. package/generated/inference/src/models/chat-message.ts +7 -7
  98. package/generated/inference/src/models/compose-attachment-input.ts +12 -12
  99. package/generated/inference/src/models/compose-attachment.ts +14 -14
  100. package/generated/inference/src/models/embeddings-create-request.ts +9 -9
  101. package/generated/inference/src/models/images-generate-request.ts +9 -9
  102. package/generated/inference/src/models/operations/inference-images-edit.ts +6 -6
  103. package/generated/inference/src/models/responses-create-request.ts +9 -9
  104. package/generated/inference/src/models/video-generate-request.ts +9 -9
  105. package/generated/manowar/esm/lib/config.d.ts +3 -3
  106. package/generated/manowar/esm/lib/config.js +3 -3
  107. package/generated/manowar/esm/lib/config.js.map +1 -1
  108. package/generated/manowar/esm/models/agent-chat-request.d.ts +5 -5
  109. package/generated/manowar/esm/models/agent-chat-request.d.ts.map +1 -1
  110. package/generated/manowar/esm/models/agent-chat-request.js +3 -3
  111. package/generated/manowar/esm/models/agent-chat-request.js.map +1 -1
  112. package/generated/manowar/esm/models/compose-attachment-input.d.ts +5 -5
  113. package/generated/manowar/esm/models/compose-attachment-input.d.ts.map +1 -1
  114. package/generated/manowar/esm/models/compose-attachment-input.js +3 -3
  115. package/generated/manowar/esm/models/compose-attachment-input.js.map +1 -1
  116. package/generated/manowar/esm/models/compose-attachment.d.ts +4 -4
  117. package/generated/manowar/esm/models/compose-attachment.d.ts.map +1 -1
  118. package/generated/manowar/esm/models/compose-attachment.js +2 -2
  119. package/generated/manowar/esm/models/compose-attachment.js.map +1 -1
  120. package/generated/manowar/esm/models/workflow-chat-request.d.ts +5 -5
  121. package/generated/manowar/esm/models/workflow-chat-request.d.ts.map +1 -1
  122. package/generated/manowar/esm/models/workflow-chat-request.js +3 -3
  123. package/generated/manowar/esm/models/workflow-chat-request.js.map +1 -1
  124. package/generated/manowar/package.json +1 -1
  125. package/generated/manowar/src/lib/config.ts +3 -3
  126. package/generated/manowar/src/models/agent-chat-request.ts +9 -9
  127. package/generated/manowar/src/models/compose-attachment-input.ts +12 -12
  128. package/generated/manowar/src/models/compose-attachment.ts +7 -7
  129. package/generated/manowar/src/models/workflow-chat-request.ts +9 -9
  130. package/generated/memory/esm/lib/config.d.ts +3 -3
  131. package/generated/memory/esm/lib/config.js +3 -3
  132. package/generated/memory/esm/lib/config.js.map +1 -1
  133. package/generated/memory/package.json +1 -1
  134. package/generated/memory/src/lib/config.ts +3 -3
  135. package/generated/x402/esm/lib/config.d.ts +3 -3
  136. package/generated/x402/esm/lib/config.js +3 -3
  137. package/generated/x402/esm/lib/config.js.map +1 -1
  138. package/generated/x402/package.json +1 -1
  139. package/generated/x402/src/lib/config.ts +3 -3
  140. package/package.json +9 -3
  141. package/specs/inference.openapi.yaml +22 -22
  142. package/specs/manowar.openapi.yaml +10 -10
  143. package/specs/memory.openapi.yaml +1 -1
  144. 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
- ComposeAttachmentInput,
9
- ComposeAttachmentInput$Outbound,
10
- ComposeAttachmentInput$outboundSchema,
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<ComposeAttachmentInput> | undefined;
21
- attachment?: ComposeAttachmentInput | undefined;
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<ComposeAttachmentInput$Outbound> | undefined;
35
- attachment?: ComposeAttachmentInput$Outbound | undefined;
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(ComposeAttachmentInput$outboundSchema)),
54
- attachment: z.optional(ComposeAttachmentInput$outboundSchema),
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
- ComposeAttachmentInput,
10
- ComposeAttachmentInput$Outbound,
11
- ComposeAttachmentInput$outboundSchema,
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<ComposeAttachmentInput> | undefined;
28
- attachment?: ComposeAttachmentInput | undefined;
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<ComposeAttachmentInput$Outbound> | undefined;
49
- attachment?: ComposeAttachmentInput$Outbound | undefined;
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(ComposeAttachmentInput$outboundSchema)),
70
- attachment: z.optional(ComposeAttachmentInput$outboundSchema),
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
- ChatMessage,
10
- ChatMessage$Outbound,
11
- ChatMessage$outboundSchema,
9
+ Message,
10
+ Message$Outbound,
11
+ Message$outboundSchema,
12
12
  } from "./chat-message.js";
13
13
  import {
14
- ComposeAttachmentInput,
15
- ComposeAttachmentInput$Outbound,
16
- ComposeAttachmentInput$outboundSchema,
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<ChatMessage>;
45
- attachments?: Array<ComposeAttachmentInput> | undefined;
46
- attachment?: ComposeAttachmentInput | undefined;
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<ChatMessage$Outbound>;
92
- attachments?: Array<ComposeAttachmentInput$Outbound> | undefined;
93
- attachment?: ComposeAttachmentInput$Outbound | undefined;
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(ChatMessage$outboundSchema),
133
- attachments: z.optional(z.array(ComposeAttachmentInput$outboundSchema)),
134
- attachment: z.optional(ComposeAttachmentInput$outboundSchema),
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 ChatMessage = {
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 ChatMessage$Outbound = {
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 ChatMessage$outboundSchema: z.ZodMiniType<
56
- ChatMessage$Outbound,
57
- ChatMessage
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: ChatMessage): string {
82
- return JSON.stringify(ChatMessage$outboundSchema.parse(chatMessage));
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
- ComposeAttachment,
9
- ComposeAttachment$Outbound,
10
- ComposeAttachment$outboundSchema,
8
+ Attachment,
9
+ Attachment$Outbound,
10
+ Attachment$outboundSchema,
11
11
  } from "./compose-attachment.js";
12
12
 
13
- export type ComposeAttachmentInput = ComposeAttachment | string;
13
+ export type AttachmentInput = Attachment | string;
14
14
 
15
15
  /** @internal */
16
- export type ComposeAttachmentInput$Outbound =
17
- | ComposeAttachment$Outbound
16
+ export type AttachmentInput$Outbound =
17
+ | Attachment$Outbound
18
18
  | string;
19
19
 
20
20
  /** @internal */
21
- export const ComposeAttachmentInput$outboundSchema: z.ZodMiniType<
22
- ComposeAttachmentInput$Outbound,
23
- ComposeAttachmentInput
24
- > = smartUnion([ComposeAttachment$outboundSchema, z.string()]);
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: ComposeAttachmentInput,
27
+ composeAttachmentInput: AttachmentInput,
28
28
  ): string {
29
29
  return JSON.stringify(
30
- ComposeAttachmentInput$outboundSchema.parse(composeAttachmentInput),
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 ComposeAttachmentType = {
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 ComposeAttachmentType = ClosedEnum<typeof ComposeAttachmentType>;
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 ComposeAttachment = {
33
+ export type Attachment = {
34
34
  /**
35
35
  * Advisory attachment kind. The SDK/server do not reject unsupported model combinations.
36
36
  */
37
- type?: ComposeAttachmentType | undefined;
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 ComposeAttachmentType$outboundSchema: z.ZodMiniEnum<
58
- typeof ComposeAttachmentType
59
- > = z.enum(ComposeAttachmentType);
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 ComposeAttachment$Outbound = {
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 ComposeAttachment$outboundSchema: z.ZodMiniType<
86
- ComposeAttachment$Outbound,
87
- ComposeAttachment
85
+ export const Attachment$outboundSchema: z.ZodMiniType<
86
+ Attachment$Outbound,
87
+ Attachment
88
88
  > = z.catchall(
89
89
  z.object({
90
- type: z.optional(ComposeAttachmentType$outboundSchema),
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: ComposeAttachment,
108
+ composeAttachment: Attachment,
109
109
  ): string {
110
110
  return JSON.stringify(
111
- ComposeAttachment$outboundSchema.parse(composeAttachment),
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
- ComposeAttachmentInput,
10
- ComposeAttachmentInput$Outbound,
11
- ComposeAttachmentInput$outboundSchema,
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<ComposeAttachmentInput> | undefined;
24
- attachment?: ComposeAttachmentInput | undefined;
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<ComposeAttachmentInput$Outbound> | undefined;
48
- attachment?: ComposeAttachmentInput$Outbound | undefined;
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(ComposeAttachmentInput$outboundSchema)),
66
- attachment: z.optional(ComposeAttachmentInput$outboundSchema),
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
- ComposeAttachmentInput,
9
- ComposeAttachmentInput$Outbound,
10
- ComposeAttachmentInput$outboundSchema,
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<ComposeAttachmentInput> | undefined;
21
- attachment?: ComposeAttachmentInput | undefined;
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<ComposeAttachmentInput$Outbound> | undefined;
37
- attachment?: ComposeAttachmentInput$Outbound | undefined;
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(ComposeAttachmentInput$outboundSchema)),
58
- attachment: z.optional(ComposeAttachmentInput$outboundSchema),
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.ComposeAttachmentInput> | undefined;
22
- attachment?: models.ComposeAttachmentInput | undefined;
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.ComposeAttachmentInput$Outbound> | undefined;
100
- attachment?: models.ComposeAttachmentInput$Outbound | undefined;
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.ComposeAttachmentInput$outboundSchema),
123
+ z.array(models.AttachmentInput$outboundSchema),
124
124
  ),
125
- attachment: z.optional(models.ComposeAttachmentInput$outboundSchema),
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
- ComposeAttachmentInput,
10
- ComposeAttachmentInput$Outbound,
11
- ComposeAttachmentInput$outboundSchema,
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<ComposeAttachmentInput> | undefined;
46
- attachment?: ComposeAttachmentInput | undefined;
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<ComposeAttachmentInput$Outbound> | undefined;
91
- attachment?: ComposeAttachmentInput$Outbound | undefined;
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(ComposeAttachmentInput$outboundSchema)),
136
- attachment: z.optional(ComposeAttachmentInput$outboundSchema),
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
- ComposeAttachmentInput,
9
- ComposeAttachmentInput$Outbound,
10
- ComposeAttachmentInput$outboundSchema,
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<ComposeAttachmentInput> | undefined;
21
- attachment?: ComposeAttachmentInput | undefined;
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<ComposeAttachmentInput$Outbound> | undefined;
39
- attachment?: ComposeAttachmentInput$Outbound | undefined;
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(ComposeAttachmentInput$outboundSchema)),
62
- attachment: z.optional(ComposeAttachmentInput$outboundSchema),
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.00";
50
- readonly sdkVersion: "0.7.00";
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.00 2.884.4 0.6.92 @compose-market/sdk";
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.00",
38
- sdkVersion: "0.7.00",
37
+ openapiDocVersion: "0.7.2",
38
+ sdkVersion: "0.7.2",
39
39
  genVersion: "2.884.4",
40
- userAgent: "speakeasy-sdk/typescript 0.7.00 2.884.4 0.6.92 @compose-market/sdk",
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,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,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 { ComposeAttachmentInput, ComposeAttachmentInput$Outbound } from "./compose-attachment-input.js";
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?: ComposeAttachmentInput | undefined;
10
- attachments?: Array<ComposeAttachmentInput> | undefined;
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?: ComposeAttachmentInput$Outbound | undefined;
26
- attachments?: Array<ComposeAttachmentInput$Outbound> | undefined;
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,sBAAsB,EACtB,+BAA+B,EAEhC,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,sBAAsB,GAAG,SAAS,CAAC;IAChD,WAAW,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;IACxD,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,MA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EDIT.
3
3
  */
4
4
  import * as z from "zod/v4-mini";
5
- import { ComposeAttachmentInput$outboundSchema, } from "./compose-attachment-input.js";
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(ComposeAttachmentInput$outboundSchema),
14
- attachments: z.optional(z.array(ComposeAttachmentInput$outboundSchema)),
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,qCAAqC,GACtC,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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