@meetkai/mka1 0.48.38 → 0.48.39
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/bin/mcp-server.js +1002 -741
- package/bin/mcp-server.js.map +38 -40
- package/dist/commonjs/funcs/llmConversationsCreateItems.d.ts +1 -2
- package/dist/commonjs/funcs/llmConversationsCreateItems.d.ts.map +1 -1
- package/dist/commonjs/funcs/llmConversationsCreateItems.js +1 -2
- package/dist/commonjs/funcs/llmConversationsCreateItems.js.map +1 -1
- package/dist/commonjs/funcs/llmConversationsListItems.d.ts +1 -2
- package/dist/commonjs/funcs/llmConversationsListItems.d.ts.map +1 -1
- package/dist/commonjs/funcs/llmConversationsListItems.js +1 -2
- package/dist/commonjs/funcs/llmConversationsListItems.js.map +1 -1
- package/dist/commonjs/funcs/llmPromptsDelete.js +1 -2
- package/dist/commonjs/funcs/llmPromptsDelete.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/conversationobject.d.ts +3 -0
- package/dist/commonjs/models/components/conversationobject.d.ts.map +1 -1
- package/dist/commonjs/models/components/conversationobject.js.map +1 -1
- package/dist/commonjs/models/components/createconversationrequest.d.ts +3 -0
- package/dist/commonjs/models/components/createconversationrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createconversationrequest.js.map +1 -1
- package/dist/commonjs/models/components/evalfewshotconfig.d.ts +4 -3
- package/dist/commonjs/models/components/evalfewshotconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/evalfewshotconfig.js +3 -2
- package/dist/commonjs/models/components/evalfewshotconfig.js.map +1 -1
- package/dist/commonjs/models/components/evalmetric.d.ts +37 -0
- package/dist/commonjs/models/components/evalmetric.d.ts.map +1 -0
- package/dist/commonjs/models/components/{itemlistobject.js → evalmetric.js} +37 -26
- package/dist/commonjs/models/components/evalmetric.js.map +1 -0
- package/dist/commonjs/models/components/evaltask.d.ts +3 -2
- package/dist/commonjs/models/components/evaltask.d.ts.map +1 -1
- package/dist/commonjs/models/components/evaltask.js +3 -2
- package/dist/commonjs/models/components/evaltask.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +1 -3
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -3
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/livekittokenrequest.d.ts +3 -0
- package/dist/commonjs/models/components/livekittokenrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/livekittokenrequest.js.map +1 -1
- package/dist/commonjs/models/components/responseobject.d.ts +2 -11
- package/dist/commonjs/models/components/responseobject.d.ts.map +1 -1
- package/dist/commonjs/models/components/responseobject.js +3 -15
- package/dist/commonjs/models/components/responseobject.js.map +1 -1
- package/dist/commonjs/models/components/responsescreaterequest.d.ts +3 -0
- package/dist/commonjs/models/components/responsescreaterequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/responsescreaterequest.js.map +1 -1
- package/dist/commonjs/models/components/update.d.ts +3 -0
- package/dist/commonjs/models/components/update.d.ts.map +1 -1
- package/dist/commonjs/models/components/update.js.map +1 -1
- package/dist/commonjs/models/components/updateresponserequest.d.ts +3 -0
- package/dist/commonjs/models/components/updateresponserequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/updateresponserequest.js.map +1 -1
- package/dist/commonjs/models/operations/conversationsitemscreate.d.ts +123 -0
- package/dist/commonjs/models/operations/conversationsitemscreate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/conversationsitemscreate.js +219 -1
- package/dist/commonjs/models/operations/conversationsitemscreate.js.map +1 -1
- package/dist/commonjs/models/operations/conversationsitemslist.d.ts +123 -0
- package/dist/commonjs/models/operations/conversationsitemslist.d.ts.map +1 -1
- package/dist/commonjs/models/operations/conversationsitemslist.js +220 -1
- package/dist/commonjs/models/operations/conversationsitemslist.js.map +1 -1
- package/dist/commonjs/models/operations/conversationsitemsretrieve.d.ts +85 -2
- package/dist/commonjs/models/operations/conversationsitemsretrieve.d.ts.map +1 -1
- package/dist/commonjs/models/operations/conversationsitemsretrieve.js +73 -3
- package/dist/commonjs/models/operations/conversationsitemsretrieve.js.map +1 -1
- package/dist/commonjs/models/operations/deleteprompt.d.ts +0 -11
- package/dist/commonjs/models/operations/deleteprompt.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deleteprompt.js +1 -17
- package/dist/commonjs/models/operations/deleteprompt.js.map +1 -1
- package/dist/commonjs/models/operations/listevalsuiteversions.d.ts +8 -8
- package/dist/commonjs/models/operations/listevalsuiteversions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listevalsuiteversions.js +11 -12
- package/dist/commonjs/models/operations/listevalsuiteversions.js.map +1 -1
- package/dist/commonjs/react-query/llmConversationsCreateItems.d.ts +1 -2
- package/dist/commonjs/react-query/llmConversationsCreateItems.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmConversationsCreateItems.js.map +1 -1
- package/dist/commonjs/react-query/llmConversationsListItems.core.d.ts +1 -2
- package/dist/commonjs/react-query/llmConversationsListItems.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmConversationsListItems.core.js.map +1 -1
- package/dist/commonjs/sdk/conversations.d.ts +2 -2
- package/dist/commonjs/sdk/conversations.d.ts.map +1 -1
- package/dist/esm/funcs/llmConversationsCreateItems.d.ts +1 -2
- package/dist/esm/funcs/llmConversationsCreateItems.d.ts.map +1 -1
- package/dist/esm/funcs/llmConversationsCreateItems.js +1 -2
- package/dist/esm/funcs/llmConversationsCreateItems.js.map +1 -1
- package/dist/esm/funcs/llmConversationsListItems.d.ts +1 -2
- package/dist/esm/funcs/llmConversationsListItems.d.ts.map +1 -1
- package/dist/esm/funcs/llmConversationsListItems.js +1 -2
- package/dist/esm/funcs/llmConversationsListItems.js.map +1 -1
- package/dist/esm/funcs/llmPromptsDelete.js +2 -3
- package/dist/esm/funcs/llmPromptsDelete.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/conversationobject.d.ts +3 -0
- package/dist/esm/models/components/conversationobject.d.ts.map +1 -1
- package/dist/esm/models/components/conversationobject.js.map +1 -1
- package/dist/esm/models/components/createconversationrequest.d.ts +3 -0
- package/dist/esm/models/components/createconversationrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createconversationrequest.js.map +1 -1
- package/dist/esm/models/components/evalfewshotconfig.d.ts +4 -3
- package/dist/esm/models/components/evalfewshotconfig.d.ts.map +1 -1
- package/dist/esm/models/components/evalfewshotconfig.js +3 -2
- package/dist/esm/models/components/evalfewshotconfig.js.map +1 -1
- package/dist/esm/models/components/evalmetric.d.ts +37 -0
- package/dist/esm/models/components/evalmetric.d.ts.map +1 -0
- package/dist/esm/models/components/evalmetric.js +49 -0
- package/dist/esm/models/components/evalmetric.js.map +1 -0
- package/dist/esm/models/components/evaltask.d.ts +3 -2
- package/dist/esm/models/components/evaltask.d.ts.map +1 -1
- package/dist/esm/models/components/evaltask.js +3 -2
- package/dist/esm/models/components/evaltask.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +1 -3
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -3
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/livekittokenrequest.d.ts +3 -0
- package/dist/esm/models/components/livekittokenrequest.d.ts.map +1 -1
- package/dist/esm/models/components/livekittokenrequest.js.map +1 -1
- package/dist/esm/models/components/responseobject.d.ts +2 -11
- package/dist/esm/models/components/responseobject.d.ts.map +1 -1
- package/dist/esm/models/components/responseobject.js +2 -12
- package/dist/esm/models/components/responseobject.js.map +1 -1
- package/dist/esm/models/components/responsescreaterequest.d.ts +3 -0
- package/dist/esm/models/components/responsescreaterequest.d.ts.map +1 -1
- package/dist/esm/models/components/responsescreaterequest.js.map +1 -1
- package/dist/esm/models/components/update.d.ts +3 -0
- package/dist/esm/models/components/update.d.ts.map +1 -1
- package/dist/esm/models/components/update.js.map +1 -1
- package/dist/esm/models/components/updateresponserequest.d.ts +3 -0
- package/dist/esm/models/components/updateresponserequest.d.ts.map +1 -1
- package/dist/esm/models/components/updateresponserequest.js.map +1 -1
- package/dist/esm/models/operations/conversationsitemscreate.d.ts +123 -0
- package/dist/esm/models/operations/conversationsitemscreate.d.ts.map +1 -1
- package/dist/esm/models/operations/conversationsitemscreate.js +210 -0
- package/dist/esm/models/operations/conversationsitemscreate.js.map +1 -1
- package/dist/esm/models/operations/conversationsitemslist.d.ts +123 -0
- package/dist/esm/models/operations/conversationsitemslist.d.ts.map +1 -1
- package/dist/esm/models/operations/conversationsitemslist.js +211 -0
- package/dist/esm/models/operations/conversationsitemslist.js.map +1 -1
- package/dist/esm/models/operations/conversationsitemsretrieve.d.ts +85 -2
- package/dist/esm/models/operations/conversationsitemsretrieve.d.ts.map +1 -1
- package/dist/esm/models/operations/conversationsitemsretrieve.js +68 -2
- package/dist/esm/models/operations/conversationsitemsretrieve.js.map +1 -1
- package/dist/esm/models/operations/deleteprompt.d.ts +0 -11
- package/dist/esm/models/operations/deleteprompt.d.ts.map +1 -1
- package/dist/esm/models/operations/deleteprompt.js +0 -14
- package/dist/esm/models/operations/deleteprompt.js.map +1 -1
- package/dist/esm/models/operations/listevalsuiteversions.d.ts +8 -8
- package/dist/esm/models/operations/listevalsuiteversions.d.ts.map +1 -1
- package/dist/esm/models/operations/listevalsuiteversions.js +8 -9
- package/dist/esm/models/operations/listevalsuiteversions.js.map +1 -1
- package/dist/esm/react-query/llmConversationsCreateItems.d.ts +1 -2
- package/dist/esm/react-query/llmConversationsCreateItems.d.ts.map +1 -1
- package/dist/esm/react-query/llmConversationsCreateItems.js.map +1 -1
- package/dist/esm/react-query/llmConversationsListItems.core.d.ts +1 -2
- package/dist/esm/react-query/llmConversationsListItems.core.d.ts.map +1 -1
- package/dist/esm/react-query/llmConversationsListItems.core.js.map +1 -1
- package/dist/esm/sdk/conversations.d.ts +2 -2
- package/dist/esm/sdk/conversations.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/llmConversationsCreateItems.ts +4 -5
- package/src/funcs/llmConversationsListItems.ts +4 -5
- package/src/funcs/llmPromptsDelete.ts +2 -3
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/conversationobject.ts +3 -0
- package/src/models/components/createconversationrequest.ts +3 -0
- package/src/models/components/evalfewshotconfig.ts +11 -5
- package/src/models/components/evalmetric.ts +96 -0
- package/src/models/components/evaltask.ts +10 -4
- package/src/models/components/index.ts +1 -3
- package/src/models/components/livekittokenrequest.ts +3 -0
- package/src/models/components/responseobject.ts +4 -47
- package/src/models/components/responsescreaterequest.ts +3 -0
- package/src/models/components/update.ts +3 -0
- package/src/models/components/updateresponserequest.ts +3 -0
- package/src/models/operations/conversationsitemscreate.ts +488 -0
- package/src/models/operations/conversationsitemslist.ts +496 -0
- package/src/models/operations/conversationsitemsretrieve.ts +168 -4
- package/src/models/operations/deleteprompt.ts +0 -41
- package/src/models/operations/listevalsuiteversions.ts +54 -44
- package/src/react-query/llmConversationsCreateItems.ts +2 -2
- package/src/react-query/llmConversationsListItems.core.ts +2 -2
- package/src/sdk/conversations.ts +2 -2
- package/dist/commonjs/models/components/inputmessagewithid.d.ts +0 -89
- package/dist/commonjs/models/components/inputmessagewithid.d.ts.map +0 -1
- package/dist/commonjs/models/components/inputmessagewithid.js +0 -106
- package/dist/commonjs/models/components/inputmessagewithid.js.map +0 -1
- package/dist/commonjs/models/components/itemlistobject.d.ts +0 -33
- package/dist/commonjs/models/components/itemlistobject.d.ts.map +0 -1
- package/dist/commonjs/models/components/itemlistobject.js.map +0 -1
- package/dist/commonjs/models/components/itemwithid.d.ts +0 -37
- package/dist/commonjs/models/components/itemwithid.d.ts.map +0 -1
- package/dist/commonjs/models/components/itemwithid.js +0 -128
- package/dist/commonjs/models/components/itemwithid.js.map +0 -1
- package/dist/esm/models/components/inputmessagewithid.d.ts +0 -89
- package/dist/esm/models/components/inputmessagewithid.d.ts.map +0 -1
- package/dist/esm/models/components/inputmessagewithid.js +0 -66
- package/dist/esm/models/components/inputmessagewithid.js.map +0 -1
- package/dist/esm/models/components/itemlistobject.d.ts +0 -33
- package/dist/esm/models/components/itemlistobject.d.ts.map +0 -1
- package/dist/esm/models/components/itemlistobject.js +0 -38
- package/dist/esm/models/components/itemlistobject.js.map +0 -1
- package/dist/esm/models/components/itemwithid.d.ts +0 -37
- package/dist/esm/models/components/itemwithid.d.ts.map +0 -1
- package/dist/esm/models/components/itemwithid.js +0 -90
- package/dist/esm/models/components/itemwithid.js.map +0 -1
- package/src/models/components/inputmessagewithid.ts +0 -183
- package/src/models/components/itemlistobject.ts +0 -85
- package/src/models/components/itemwithid.ts +0 -281
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import * as components from "../components/index.js";
|
|
10
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -18,6 +19,59 @@ export type ConversationsItemsRetrieveRequest = {
|
|
|
18
19
|
xOnBehalfOf?: string | undefined;
|
|
19
20
|
};
|
|
20
21
|
|
|
22
|
+
/**
|
|
23
|
+
* The role of the message sender (user, assistant, system, or developer).
|
|
24
|
+
*/
|
|
25
|
+
export const Role = {
|
|
26
|
+
User: "user",
|
|
27
|
+
Assistant: "assistant",
|
|
28
|
+
System: "system",
|
|
29
|
+
Developer: "developer",
|
|
30
|
+
} as const;
|
|
31
|
+
/**
|
|
32
|
+
* The role of the message sender (user, assistant, system, or developer).
|
|
33
|
+
*/
|
|
34
|
+
export type Role = ClosedEnum<typeof Role>;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The message content. Can be a simple text string or an array of multimodal content items (text, images, files, audio).
|
|
38
|
+
*/
|
|
39
|
+
export type Content = string | Array<components.InputMessageContent>;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Input message item: A message with role and content. Use this for user, assistant, system, or developer turns in structured inputs.
|
|
43
|
+
*/
|
|
44
|
+
export type InputMessageItem = {
|
|
45
|
+
/**
|
|
46
|
+
* The item type identifier. Always 'message' for message items.
|
|
47
|
+
*/
|
|
48
|
+
type?: "message" | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* The role of the message sender (user, assistant, system, or developer).
|
|
51
|
+
*/
|
|
52
|
+
role: Role;
|
|
53
|
+
/**
|
|
54
|
+
* The message content. Can be a simple text string or an array of multimodal content items (text, images, files, audio).
|
|
55
|
+
*/
|
|
56
|
+
content: string | Array<components.InputMessageContent>;
|
|
57
|
+
/**
|
|
58
|
+
* The processing status of an individual item. 'in_progress' means currently processing, 'completed' means finished successfully, 'incomplete' means processing stopped before completion.
|
|
59
|
+
*/
|
|
60
|
+
status?: components.Status | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* The unique ID of the message.
|
|
63
|
+
*/
|
|
64
|
+
id: string;
|
|
65
|
+
/**
|
|
66
|
+
* The ID of the response that created this item, if any.
|
|
67
|
+
*/
|
|
68
|
+
responseId?: string | null | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Metadata from the response that created this item, if any.
|
|
71
|
+
*/
|
|
72
|
+
metadata?: { [k: string]: string } | null | undefined;
|
|
73
|
+
};
|
|
74
|
+
|
|
21
75
|
/**
|
|
22
76
|
* OK
|
|
23
77
|
*/
|
|
@@ -41,7 +95,7 @@ export type ConversationsItemsRetrieveResponseBody =
|
|
|
41
95
|
| components.MCPListToolsWithId
|
|
42
96
|
| components.MCPApprovalResponseWithId
|
|
43
97
|
| components.CustomToolCallOutputWithId
|
|
44
|
-
|
|
|
98
|
+
| InputMessageItem
|
|
45
99
|
| components.ReasoningWithId
|
|
46
100
|
| components.LocalShellCallOutputWithId
|
|
47
101
|
| components.ResponseCompactionItemWithId
|
|
@@ -106,6 +160,116 @@ export function conversationsItemsRetrieveRequestFromJSON(
|
|
|
106
160
|
);
|
|
107
161
|
}
|
|
108
162
|
|
|
163
|
+
/** @internal */
|
|
164
|
+
export const Role$inboundSchema: z.ZodNativeEnum<typeof Role> = z.nativeEnum(
|
|
165
|
+
Role,
|
|
166
|
+
);
|
|
167
|
+
/** @internal */
|
|
168
|
+
export const Role$outboundSchema: z.ZodNativeEnum<typeof Role> =
|
|
169
|
+
Role$inboundSchema;
|
|
170
|
+
|
|
171
|
+
/** @internal */
|
|
172
|
+
export const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown> =
|
|
173
|
+
z.union([z.string(), z.array(components.InputMessageContent$inboundSchema)]);
|
|
174
|
+
/** @internal */
|
|
175
|
+
export type Content$Outbound =
|
|
176
|
+
| string
|
|
177
|
+
| Array<components.InputMessageContent$Outbound>;
|
|
178
|
+
|
|
179
|
+
/** @internal */
|
|
180
|
+
export const Content$outboundSchema: z.ZodType<
|
|
181
|
+
Content$Outbound,
|
|
182
|
+
z.ZodTypeDef,
|
|
183
|
+
Content
|
|
184
|
+
> = z.union([
|
|
185
|
+
z.string(),
|
|
186
|
+
z.array(components.InputMessageContent$outboundSchema),
|
|
187
|
+
]);
|
|
188
|
+
|
|
189
|
+
export function contentToJSON(content: Content): string {
|
|
190
|
+
return JSON.stringify(Content$outboundSchema.parse(content));
|
|
191
|
+
}
|
|
192
|
+
export function contentFromJSON(
|
|
193
|
+
jsonString: string,
|
|
194
|
+
): SafeParseResult<Content, SDKValidationError> {
|
|
195
|
+
return safeParse(
|
|
196
|
+
jsonString,
|
|
197
|
+
(x) => Content$inboundSchema.parse(JSON.parse(x)),
|
|
198
|
+
`Failed to parse 'Content' from JSON`,
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/** @internal */
|
|
203
|
+
export const InputMessageItem$inboundSchema: z.ZodType<
|
|
204
|
+
InputMessageItem,
|
|
205
|
+
z.ZodTypeDef,
|
|
206
|
+
unknown
|
|
207
|
+
> = z.object({
|
|
208
|
+
type: z.literal("message").optional(),
|
|
209
|
+
role: Role$inboundSchema,
|
|
210
|
+
content: z.union([
|
|
211
|
+
z.string(),
|
|
212
|
+
z.array(components.InputMessageContent$inboundSchema),
|
|
213
|
+
]),
|
|
214
|
+
status: components.Status$inboundSchema.optional(),
|
|
215
|
+
id: z.string(),
|
|
216
|
+
response_id: z.nullable(z.string()).optional(),
|
|
217
|
+
metadata: z.nullable(z.record(z.string())).optional(),
|
|
218
|
+
}).transform((v) => {
|
|
219
|
+
return remap$(v, {
|
|
220
|
+
"response_id": "responseId",
|
|
221
|
+
});
|
|
222
|
+
});
|
|
223
|
+
/** @internal */
|
|
224
|
+
export type InputMessageItem$Outbound = {
|
|
225
|
+
type?: "message" | undefined;
|
|
226
|
+
role: string;
|
|
227
|
+
content: string | Array<components.InputMessageContent$Outbound>;
|
|
228
|
+
status?: string | undefined;
|
|
229
|
+
id: string;
|
|
230
|
+
response_id?: string | null | undefined;
|
|
231
|
+
metadata?: { [k: string]: string } | null | undefined;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
/** @internal */
|
|
235
|
+
export const InputMessageItem$outboundSchema: z.ZodType<
|
|
236
|
+
InputMessageItem$Outbound,
|
|
237
|
+
z.ZodTypeDef,
|
|
238
|
+
InputMessageItem
|
|
239
|
+
> = z.object({
|
|
240
|
+
type: z.literal("message").optional(),
|
|
241
|
+
role: Role$outboundSchema,
|
|
242
|
+
content: z.union([
|
|
243
|
+
z.string(),
|
|
244
|
+
z.array(components.InputMessageContent$outboundSchema),
|
|
245
|
+
]),
|
|
246
|
+
status: components.Status$outboundSchema.optional(),
|
|
247
|
+
id: z.string(),
|
|
248
|
+
responseId: z.nullable(z.string()).optional(),
|
|
249
|
+
metadata: z.nullable(z.record(z.string())).optional(),
|
|
250
|
+
}).transform((v) => {
|
|
251
|
+
return remap$(v, {
|
|
252
|
+
responseId: "response_id",
|
|
253
|
+
});
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
export function inputMessageItemToJSON(
|
|
257
|
+
inputMessageItem: InputMessageItem,
|
|
258
|
+
): string {
|
|
259
|
+
return JSON.stringify(
|
|
260
|
+
InputMessageItem$outboundSchema.parse(inputMessageItem),
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
export function inputMessageItemFromJSON(
|
|
264
|
+
jsonString: string,
|
|
265
|
+
): SafeParseResult<InputMessageItem, SDKValidationError> {
|
|
266
|
+
return safeParse(
|
|
267
|
+
jsonString,
|
|
268
|
+
(x) => InputMessageItem$inboundSchema.parse(JSON.parse(x)),
|
|
269
|
+
`Failed to parse 'InputMessageItem' from JSON`,
|
|
270
|
+
);
|
|
271
|
+
}
|
|
272
|
+
|
|
109
273
|
/** @internal */
|
|
110
274
|
export const ConversationsItemsRetrieveResponseBody$inboundSchema: z.ZodType<
|
|
111
275
|
ConversationsItemsRetrieveResponseBody,
|
|
@@ -131,7 +295,7 @@ export const ConversationsItemsRetrieveResponseBody$inboundSchema: z.ZodType<
|
|
|
131
295
|
components.MCPListToolsWithId$inboundSchema,
|
|
132
296
|
components.MCPApprovalResponseWithId$inboundSchema,
|
|
133
297
|
components.CustomToolCallOutputWithId$inboundSchema,
|
|
134
|
-
|
|
298
|
+
z.lazy(() => InputMessageItem$inboundSchema),
|
|
135
299
|
components.ReasoningWithId$inboundSchema,
|
|
136
300
|
components.LocalShellCallOutputWithId$inboundSchema,
|
|
137
301
|
components.ResponseCompactionItemWithId$inboundSchema,
|
|
@@ -158,7 +322,7 @@ export type ConversationsItemsRetrieveResponseBody$Outbound =
|
|
|
158
322
|
| components.MCPListToolsWithId$Outbound
|
|
159
323
|
| components.MCPApprovalResponseWithId$Outbound
|
|
160
324
|
| components.CustomToolCallOutputWithId$Outbound
|
|
161
|
-
|
|
|
325
|
+
| InputMessageItem$Outbound
|
|
162
326
|
| components.ReasoningWithId$Outbound
|
|
163
327
|
| components.LocalShellCallOutputWithId$Outbound
|
|
164
328
|
| components.ResponseCompactionItemWithId$Outbound
|
|
@@ -189,7 +353,7 @@ export const ConversationsItemsRetrieveResponseBody$outboundSchema: z.ZodType<
|
|
|
189
353
|
components.MCPListToolsWithId$outboundSchema,
|
|
190
354
|
components.MCPApprovalResponseWithId$outboundSchema,
|
|
191
355
|
components.CustomToolCallOutputWithId$outboundSchema,
|
|
192
|
-
|
|
356
|
+
z.lazy(() => InputMessageItem$outboundSchema),
|
|
193
357
|
components.ReasoningWithId$outboundSchema,
|
|
194
358
|
components.LocalShellCallOutputWithId$outboundSchema,
|
|
195
359
|
components.ResponseCompactionItemWithId$outboundSchema,
|
|
@@ -8,50 +8,14 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export type DeletePromptRequestBody = {};
|
|
12
|
-
|
|
13
11
|
export type DeletePromptRequest = {
|
|
14
12
|
id: string;
|
|
15
13
|
/**
|
|
16
14
|
* Optional external end-user identifier forwarded by the API gateway.
|
|
17
15
|
*/
|
|
18
16
|
xOnBehalfOf?: string | undefined;
|
|
19
|
-
requestBody?: DeletePromptRequestBody | undefined;
|
|
20
17
|
};
|
|
21
18
|
|
|
22
|
-
/** @internal */
|
|
23
|
-
export const DeletePromptRequestBody$inboundSchema: z.ZodType<
|
|
24
|
-
DeletePromptRequestBody,
|
|
25
|
-
z.ZodTypeDef,
|
|
26
|
-
unknown
|
|
27
|
-
> = z.object({});
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type DeletePromptRequestBody$Outbound = {};
|
|
30
|
-
|
|
31
|
-
/** @internal */
|
|
32
|
-
export const DeletePromptRequestBody$outboundSchema: z.ZodType<
|
|
33
|
-
DeletePromptRequestBody$Outbound,
|
|
34
|
-
z.ZodTypeDef,
|
|
35
|
-
DeletePromptRequestBody
|
|
36
|
-
> = z.object({});
|
|
37
|
-
|
|
38
|
-
export function deletePromptRequestBodyToJSON(
|
|
39
|
-
deletePromptRequestBody: DeletePromptRequestBody,
|
|
40
|
-
): string {
|
|
41
|
-
return JSON.stringify(
|
|
42
|
-
DeletePromptRequestBody$outboundSchema.parse(deletePromptRequestBody),
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
export function deletePromptRequestBodyFromJSON(
|
|
46
|
-
jsonString: string,
|
|
47
|
-
): SafeParseResult<DeletePromptRequestBody, SDKValidationError> {
|
|
48
|
-
return safeParse(
|
|
49
|
-
jsonString,
|
|
50
|
-
(x) => DeletePromptRequestBody$inboundSchema.parse(JSON.parse(x)),
|
|
51
|
-
`Failed to parse 'DeletePromptRequestBody' from JSON`,
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
19
|
/** @internal */
|
|
56
20
|
export const DeletePromptRequest$inboundSchema: z.ZodType<
|
|
57
21
|
DeletePromptRequest,
|
|
@@ -60,18 +24,15 @@ export const DeletePromptRequest$inboundSchema: z.ZodType<
|
|
|
60
24
|
> = z.object({
|
|
61
25
|
id: z.string(),
|
|
62
26
|
"X-On-Behalf-Of": z.string().optional(),
|
|
63
|
-
RequestBody: z.lazy(() => DeletePromptRequestBody$inboundSchema).optional(),
|
|
64
27
|
}).transform((v) => {
|
|
65
28
|
return remap$(v, {
|
|
66
29
|
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
67
|
-
"RequestBody": "requestBody",
|
|
68
30
|
});
|
|
69
31
|
});
|
|
70
32
|
/** @internal */
|
|
71
33
|
export type DeletePromptRequest$Outbound = {
|
|
72
34
|
id: string;
|
|
73
35
|
"X-On-Behalf-Of"?: string | undefined;
|
|
74
|
-
RequestBody?: DeletePromptRequestBody$Outbound | undefined;
|
|
75
36
|
};
|
|
76
37
|
|
|
77
38
|
/** @internal */
|
|
@@ -82,11 +43,9 @@ export const DeletePromptRequest$outboundSchema: z.ZodType<
|
|
|
82
43
|
> = z.object({
|
|
83
44
|
id: z.string(),
|
|
84
45
|
xOnBehalfOf: z.string().optional(),
|
|
85
|
-
requestBody: z.lazy(() => DeletePromptRequestBody$outboundSchema).optional(),
|
|
86
46
|
}).transform((v) => {
|
|
87
47
|
return remap$(v, {
|
|
88
48
|
xOnBehalfOf: "X-On-Behalf-Of",
|
|
89
|
-
requestBody: "RequestBody",
|
|
90
49
|
});
|
|
91
50
|
});
|
|
92
51
|
|
|
@@ -24,7 +24,7 @@ export type ListEvalSuiteVersionsManifest = {
|
|
|
24
24
|
metadata?: { [k: string]: any } | undefined;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type ListEvalSuiteVersionsData = {
|
|
28
28
|
id: string;
|
|
29
29
|
object: "eval.suite.version";
|
|
30
30
|
suiteId: string;
|
|
@@ -40,7 +40,7 @@ export type Data = {
|
|
|
40
40
|
*/
|
|
41
41
|
export type ListEvalSuiteVersionsResponseBody = {
|
|
42
42
|
object: "list";
|
|
43
|
-
data: Array<
|
|
43
|
+
data: Array<ListEvalSuiteVersionsData>;
|
|
44
44
|
firstId?: string | undefined;
|
|
45
45
|
lastId?: string | undefined;
|
|
46
46
|
hasMore: boolean;
|
|
@@ -162,25 +162,28 @@ export function listEvalSuiteVersionsManifestFromJSON(
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/** @internal */
|
|
165
|
-
export const
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
165
|
+
export const ListEvalSuiteVersionsData$inboundSchema: z.ZodType<
|
|
166
|
+
ListEvalSuiteVersionsData,
|
|
167
|
+
z.ZodTypeDef,
|
|
168
|
+
unknown
|
|
169
|
+
> = z.object({
|
|
170
|
+
id: z.string(),
|
|
171
|
+
object: z.literal("eval.suite.version"),
|
|
172
|
+
suite_id: z.string(),
|
|
173
|
+
version: z.number().int(),
|
|
174
|
+
manifest: z.lazy(() => ListEvalSuiteVersionsManifest$inboundSchema),
|
|
175
|
+
dataset_file_ids: z.array(z.string()),
|
|
176
|
+
metadata: z.record(z.string()),
|
|
177
|
+
created_at: z.number().int(),
|
|
178
|
+
}).transform((v) => {
|
|
179
|
+
return remap$(v, {
|
|
180
|
+
"suite_id": "suiteId",
|
|
181
|
+
"dataset_file_ids": "datasetFileIds",
|
|
182
|
+
"created_at": "createdAt",
|
|
181
183
|
});
|
|
184
|
+
});
|
|
182
185
|
/** @internal */
|
|
183
|
-
export type
|
|
186
|
+
export type ListEvalSuiteVersionsData$Outbound = {
|
|
184
187
|
id: string;
|
|
185
188
|
object: "eval.suite.version";
|
|
186
189
|
suite_id: string;
|
|
@@ -192,34 +195,41 @@ export type Data$Outbound = {
|
|
|
192
195
|
};
|
|
193
196
|
|
|
194
197
|
/** @internal */
|
|
195
|
-
export const
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
198
|
+
export const ListEvalSuiteVersionsData$outboundSchema: z.ZodType<
|
|
199
|
+
ListEvalSuiteVersionsData$Outbound,
|
|
200
|
+
z.ZodTypeDef,
|
|
201
|
+
ListEvalSuiteVersionsData
|
|
202
|
+
> = z.object({
|
|
203
|
+
id: z.string(),
|
|
204
|
+
object: z.literal("eval.suite.version"),
|
|
205
|
+
suiteId: z.string(),
|
|
206
|
+
version: z.number().int(),
|
|
207
|
+
manifest: z.lazy(() => ListEvalSuiteVersionsManifest$outboundSchema),
|
|
208
|
+
datasetFileIds: z.array(z.string()),
|
|
209
|
+
metadata: z.record(z.string()),
|
|
210
|
+
createdAt: z.number().int(),
|
|
211
|
+
}).transform((v) => {
|
|
212
|
+
return remap$(v, {
|
|
213
|
+
suiteId: "suite_id",
|
|
214
|
+
datasetFileIds: "dataset_file_ids",
|
|
215
|
+
createdAt: "created_at",
|
|
211
216
|
});
|
|
217
|
+
});
|
|
212
218
|
|
|
213
|
-
export function
|
|
214
|
-
|
|
219
|
+
export function listEvalSuiteVersionsDataToJSON(
|
|
220
|
+
listEvalSuiteVersionsData: ListEvalSuiteVersionsData,
|
|
221
|
+
): string {
|
|
222
|
+
return JSON.stringify(
|
|
223
|
+
ListEvalSuiteVersionsData$outboundSchema.parse(listEvalSuiteVersionsData),
|
|
224
|
+
);
|
|
215
225
|
}
|
|
216
|
-
export function
|
|
226
|
+
export function listEvalSuiteVersionsDataFromJSON(
|
|
217
227
|
jsonString: string,
|
|
218
|
-
): SafeParseResult<
|
|
228
|
+
): SafeParseResult<ListEvalSuiteVersionsData, SDKValidationError> {
|
|
219
229
|
return safeParse(
|
|
220
230
|
jsonString,
|
|
221
|
-
(x) =>
|
|
222
|
-
`Failed to parse '
|
|
231
|
+
(x) => ListEvalSuiteVersionsData$inboundSchema.parse(JSON.parse(x)),
|
|
232
|
+
`Failed to parse 'ListEvalSuiteVersionsData' from JSON`,
|
|
223
233
|
);
|
|
224
234
|
}
|
|
225
235
|
|
|
@@ -230,7 +240,7 @@ export const ListEvalSuiteVersionsResponseBody$inboundSchema: z.ZodType<
|
|
|
230
240
|
unknown
|
|
231
241
|
> = z.object({
|
|
232
242
|
object: z.literal("list"),
|
|
233
|
-
data: z.array(z.lazy(() =>
|
|
243
|
+
data: z.array(z.lazy(() => ListEvalSuiteVersionsData$inboundSchema)),
|
|
234
244
|
first_id: z.string().optional(),
|
|
235
245
|
last_id: z.string().optional(),
|
|
236
246
|
has_more: z.boolean(),
|
|
@@ -244,7 +254,7 @@ export const ListEvalSuiteVersionsResponseBody$inboundSchema: z.ZodType<
|
|
|
244
254
|
/** @internal */
|
|
245
255
|
export type ListEvalSuiteVersionsResponseBody$Outbound = {
|
|
246
256
|
object: "list";
|
|
247
|
-
data: Array<
|
|
257
|
+
data: Array<ListEvalSuiteVersionsData$Outbound>;
|
|
248
258
|
first_id?: string | undefined;
|
|
249
259
|
last_id?: string | undefined;
|
|
250
260
|
has_more: boolean;
|
|
@@ -257,7 +267,7 @@ export const ListEvalSuiteVersionsResponseBody$outboundSchema: z.ZodType<
|
|
|
257
267
|
ListEvalSuiteVersionsResponseBody
|
|
258
268
|
> = z.object({
|
|
259
269
|
object: z.literal("list"),
|
|
260
|
-
data: z.array(z.lazy(() =>
|
|
270
|
+
data: z.array(z.lazy(() => ListEvalSuiteVersionsData$outboundSchema)),
|
|
261
271
|
firstId: z.string().optional(),
|
|
262
272
|
lastId: z.string().optional(),
|
|
263
273
|
hasMore: z.boolean(),
|
|
@@ -11,7 +11,6 @@ import { SDKCore } from "../core.js";
|
|
|
11
11
|
import { llmConversationsCreateItems } from "../funcs/llmConversationsCreateItems.js";
|
|
12
12
|
import { combineSignals } from "../lib/primitives.js";
|
|
13
13
|
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
-
import * as components from "../models/components/index.js";
|
|
15
14
|
import {
|
|
16
15
|
ConnectionError,
|
|
17
16
|
InvalidRequestError,
|
|
@@ -32,7 +31,8 @@ export type LlmConversationsCreateItemsMutationVariables = {
|
|
|
32
31
|
options?: RequestOptions;
|
|
33
32
|
};
|
|
34
33
|
|
|
35
|
-
export type LlmConversationsCreateItemsMutationData =
|
|
34
|
+
export type LlmConversationsCreateItemsMutationData =
|
|
35
|
+
operations.ConversationsItemsCreateResponseBody;
|
|
36
36
|
|
|
37
37
|
export type LlmConversationsCreateItemsMutationError =
|
|
38
38
|
| SDKError
|
|
@@ -11,10 +11,10 @@ import { SDKCore } from "../core.js";
|
|
|
11
11
|
import { llmConversationsListItems } from "../funcs/llmConversationsListItems.js";
|
|
12
12
|
import { combineSignals } from "../lib/primitives.js";
|
|
13
13
|
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
-
import * as components from "../models/components/index.js";
|
|
15
14
|
import * as operations from "../models/operations/index.js";
|
|
16
15
|
import { unwrapAsync } from "../types/fp.js";
|
|
17
|
-
export type LlmConversationsListItemsQueryData =
|
|
16
|
+
export type LlmConversationsListItemsQueryData =
|
|
17
|
+
operations.ConversationsItemsListResponseBody;
|
|
18
18
|
|
|
19
19
|
export function prefetchLlmConversationsListItems(
|
|
20
20
|
queryClient: QueryClient,
|
package/src/sdk/conversations.ts
CHANGED
|
@@ -112,7 +112,7 @@ export class Conversations extends ClientSDK {
|
|
|
112
112
|
async listItems(
|
|
113
113
|
request: operations.ConversationsItemsListRequest,
|
|
114
114
|
options?: RequestOptions,
|
|
115
|
-
): Promise<
|
|
115
|
+
): Promise<operations.ConversationsItemsListResponseBody> {
|
|
116
116
|
return unwrapAsync(llmConversationsListItems(
|
|
117
117
|
this,
|
|
118
118
|
request,
|
|
@@ -129,7 +129,7 @@ export class Conversations extends ClientSDK {
|
|
|
129
129
|
async createItems(
|
|
130
130
|
request: operations.ConversationsItemsCreateRequest,
|
|
131
131
|
options?: RequestOptions,
|
|
132
|
-
): Promise<
|
|
132
|
+
): Promise<operations.ConversationsItemsCreateResponseBody> {
|
|
133
133
|
return unwrapAsync(llmConversationsCreateItems(
|
|
134
134
|
this,
|
|
135
135
|
request,
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
import { InputMessageContent, InputMessageContent$Outbound } from "./inputmessagecontent.js";
|
|
6
|
-
import { Status } from "./status.js";
|
|
7
|
-
/**
|
|
8
|
-
* The role of the message sender (user, assistant, system, or developer).
|
|
9
|
-
*/
|
|
10
|
-
export declare const InputMessageWithIdRole: {
|
|
11
|
-
readonly User: "user";
|
|
12
|
-
readonly Assistant: "assistant";
|
|
13
|
-
readonly System: "system";
|
|
14
|
-
readonly Developer: "developer";
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* The role of the message sender (user, assistant, system, or developer).
|
|
18
|
-
*/
|
|
19
|
-
export type InputMessageWithIdRole = ClosedEnum<typeof InputMessageWithIdRole>;
|
|
20
|
-
/**
|
|
21
|
-
* The message content. Can be a simple text string or an array of multimodal content items (text, images, files, audio).
|
|
22
|
-
*/
|
|
23
|
-
export type InputMessageWithIdContent = string | Array<InputMessageContent>;
|
|
24
|
-
/**
|
|
25
|
-
* Input message item: A message with role and content. Use this for user, assistant, system, or developer turns in structured inputs.
|
|
26
|
-
*/
|
|
27
|
-
export type InputMessageWithId = {
|
|
28
|
-
/**
|
|
29
|
-
* The item type identifier. Always 'message' for message items.
|
|
30
|
-
*/
|
|
31
|
-
type?: "message" | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* The role of the message sender (user, assistant, system, or developer).
|
|
34
|
-
*/
|
|
35
|
-
role: InputMessageWithIdRole;
|
|
36
|
-
/**
|
|
37
|
-
* The message content. Can be a simple text string or an array of multimodal content items (text, images, files, audio).
|
|
38
|
-
*/
|
|
39
|
-
content: string | Array<InputMessageContent>;
|
|
40
|
-
/**
|
|
41
|
-
* The processing status of an individual item. 'in_progress' means currently processing, 'completed' means finished successfully, 'incomplete' means processing stopped before completion.
|
|
42
|
-
*/
|
|
43
|
-
status?: Status | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* The unique ID of the message.
|
|
46
|
-
*/
|
|
47
|
-
id: string;
|
|
48
|
-
/**
|
|
49
|
-
* The ID of the response that created this item, if any.
|
|
50
|
-
*/
|
|
51
|
-
responseId?: string | null | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Metadata from the response that created this item, if any.
|
|
54
|
-
*/
|
|
55
|
-
metadata?: {
|
|
56
|
-
[k: string]: string;
|
|
57
|
-
} | null | undefined;
|
|
58
|
-
};
|
|
59
|
-
/** @internal */
|
|
60
|
-
export declare const InputMessageWithIdRole$inboundSchema: z.ZodNativeEnum<typeof InputMessageWithIdRole>;
|
|
61
|
-
/** @internal */
|
|
62
|
-
export declare const InputMessageWithIdRole$outboundSchema: z.ZodNativeEnum<typeof InputMessageWithIdRole>;
|
|
63
|
-
/** @internal */
|
|
64
|
-
export declare const InputMessageWithIdContent$inboundSchema: z.ZodType<InputMessageWithIdContent, z.ZodTypeDef, unknown>;
|
|
65
|
-
/** @internal */
|
|
66
|
-
export type InputMessageWithIdContent$Outbound = string | Array<InputMessageContent$Outbound>;
|
|
67
|
-
/** @internal */
|
|
68
|
-
export declare const InputMessageWithIdContent$outboundSchema: z.ZodType<InputMessageWithIdContent$Outbound, z.ZodTypeDef, InputMessageWithIdContent>;
|
|
69
|
-
export declare function inputMessageWithIdContentToJSON(inputMessageWithIdContent: InputMessageWithIdContent): string;
|
|
70
|
-
export declare function inputMessageWithIdContentFromJSON(jsonString: string): SafeParseResult<InputMessageWithIdContent, SDKValidationError>;
|
|
71
|
-
/** @internal */
|
|
72
|
-
export declare const InputMessageWithId$inboundSchema: z.ZodType<InputMessageWithId, z.ZodTypeDef, unknown>;
|
|
73
|
-
/** @internal */
|
|
74
|
-
export type InputMessageWithId$Outbound = {
|
|
75
|
-
type?: "message" | undefined;
|
|
76
|
-
role: string;
|
|
77
|
-
content: string | Array<InputMessageContent$Outbound>;
|
|
78
|
-
status?: string | undefined;
|
|
79
|
-
id: string;
|
|
80
|
-
response_id?: string | null | undefined;
|
|
81
|
-
metadata?: {
|
|
82
|
-
[k: string]: string;
|
|
83
|
-
} | null | undefined;
|
|
84
|
-
};
|
|
85
|
-
/** @internal */
|
|
86
|
-
export declare const InputMessageWithId$outboundSchema: z.ZodType<InputMessageWithId$Outbound, z.ZodTypeDef, InputMessageWithId>;
|
|
87
|
-
export declare function inputMessageWithIdToJSON(inputMessageWithId: InputMessageWithId): string;
|
|
88
|
-
export declare function inputMessageWithIdFromJSON(jsonString: string): SafeParseResult<InputMessageWithId, SDKValidationError>;
|
|
89
|
-
//# sourceMappingURL=inputmessagewithid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inputmessagewithid.d.ts","sourceRoot":"","sources":["../../../../src/models/components/inputmessagewithid.ts"],"names":[],"mappings":"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"}
|