@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.
Files changed (215) hide show
  1. package/bin/mcp-server.js +1002 -741
  2. package/bin/mcp-server.js.map +38 -40
  3. package/dist/commonjs/funcs/llmConversationsCreateItems.d.ts +1 -2
  4. package/dist/commonjs/funcs/llmConversationsCreateItems.d.ts.map +1 -1
  5. package/dist/commonjs/funcs/llmConversationsCreateItems.js +1 -2
  6. package/dist/commonjs/funcs/llmConversationsCreateItems.js.map +1 -1
  7. package/dist/commonjs/funcs/llmConversationsListItems.d.ts +1 -2
  8. package/dist/commonjs/funcs/llmConversationsListItems.d.ts.map +1 -1
  9. package/dist/commonjs/funcs/llmConversationsListItems.js +1 -2
  10. package/dist/commonjs/funcs/llmConversationsListItems.js.map +1 -1
  11. package/dist/commonjs/funcs/llmPromptsDelete.js +1 -2
  12. package/dist/commonjs/funcs/llmPromptsDelete.js.map +1 -1
  13. package/dist/commonjs/lib/config.d.ts +2 -2
  14. package/dist/commonjs/lib/config.js +2 -2
  15. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  16. package/dist/commonjs/mcp-server/server.js +1 -1
  17. package/dist/commonjs/models/components/conversationobject.d.ts +3 -0
  18. package/dist/commonjs/models/components/conversationobject.d.ts.map +1 -1
  19. package/dist/commonjs/models/components/conversationobject.js.map +1 -1
  20. package/dist/commonjs/models/components/createconversationrequest.d.ts +3 -0
  21. package/dist/commonjs/models/components/createconversationrequest.d.ts.map +1 -1
  22. package/dist/commonjs/models/components/createconversationrequest.js.map +1 -1
  23. package/dist/commonjs/models/components/evalfewshotconfig.d.ts +4 -3
  24. package/dist/commonjs/models/components/evalfewshotconfig.d.ts.map +1 -1
  25. package/dist/commonjs/models/components/evalfewshotconfig.js +3 -2
  26. package/dist/commonjs/models/components/evalfewshotconfig.js.map +1 -1
  27. package/dist/commonjs/models/components/evalmetric.d.ts +37 -0
  28. package/dist/commonjs/models/components/evalmetric.d.ts.map +1 -0
  29. package/dist/commonjs/models/components/{itemlistobject.js → evalmetric.js} +37 -26
  30. package/dist/commonjs/models/components/evalmetric.js.map +1 -0
  31. package/dist/commonjs/models/components/evaltask.d.ts +3 -2
  32. package/dist/commonjs/models/components/evaltask.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/evaltask.js +3 -2
  34. package/dist/commonjs/models/components/evaltask.js.map +1 -1
  35. package/dist/commonjs/models/components/index.d.ts +1 -3
  36. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/index.js +1 -3
  38. package/dist/commonjs/models/components/index.js.map +1 -1
  39. package/dist/commonjs/models/components/livekittokenrequest.d.ts +3 -0
  40. package/dist/commonjs/models/components/livekittokenrequest.d.ts.map +1 -1
  41. package/dist/commonjs/models/components/livekittokenrequest.js.map +1 -1
  42. package/dist/commonjs/models/components/responseobject.d.ts +2 -11
  43. package/dist/commonjs/models/components/responseobject.d.ts.map +1 -1
  44. package/dist/commonjs/models/components/responseobject.js +3 -15
  45. package/dist/commonjs/models/components/responseobject.js.map +1 -1
  46. package/dist/commonjs/models/components/responsescreaterequest.d.ts +3 -0
  47. package/dist/commonjs/models/components/responsescreaterequest.d.ts.map +1 -1
  48. package/dist/commonjs/models/components/responsescreaterequest.js.map +1 -1
  49. package/dist/commonjs/models/components/update.d.ts +3 -0
  50. package/dist/commonjs/models/components/update.d.ts.map +1 -1
  51. package/dist/commonjs/models/components/update.js.map +1 -1
  52. package/dist/commonjs/models/components/updateresponserequest.d.ts +3 -0
  53. package/dist/commonjs/models/components/updateresponserequest.d.ts.map +1 -1
  54. package/dist/commonjs/models/components/updateresponserequest.js.map +1 -1
  55. package/dist/commonjs/models/operations/conversationsitemscreate.d.ts +123 -0
  56. package/dist/commonjs/models/operations/conversationsitemscreate.d.ts.map +1 -1
  57. package/dist/commonjs/models/operations/conversationsitemscreate.js +219 -1
  58. package/dist/commonjs/models/operations/conversationsitemscreate.js.map +1 -1
  59. package/dist/commonjs/models/operations/conversationsitemslist.d.ts +123 -0
  60. package/dist/commonjs/models/operations/conversationsitemslist.d.ts.map +1 -1
  61. package/dist/commonjs/models/operations/conversationsitemslist.js +220 -1
  62. package/dist/commonjs/models/operations/conversationsitemslist.js.map +1 -1
  63. package/dist/commonjs/models/operations/conversationsitemsretrieve.d.ts +85 -2
  64. package/dist/commonjs/models/operations/conversationsitemsretrieve.d.ts.map +1 -1
  65. package/dist/commonjs/models/operations/conversationsitemsretrieve.js +73 -3
  66. package/dist/commonjs/models/operations/conversationsitemsretrieve.js.map +1 -1
  67. package/dist/commonjs/models/operations/deleteprompt.d.ts +0 -11
  68. package/dist/commonjs/models/operations/deleteprompt.d.ts.map +1 -1
  69. package/dist/commonjs/models/operations/deleteprompt.js +1 -17
  70. package/dist/commonjs/models/operations/deleteprompt.js.map +1 -1
  71. package/dist/commonjs/models/operations/listevalsuiteversions.d.ts +8 -8
  72. package/dist/commonjs/models/operations/listevalsuiteversions.d.ts.map +1 -1
  73. package/dist/commonjs/models/operations/listevalsuiteversions.js +11 -12
  74. package/dist/commonjs/models/operations/listevalsuiteversions.js.map +1 -1
  75. package/dist/commonjs/react-query/llmConversationsCreateItems.d.ts +1 -2
  76. package/dist/commonjs/react-query/llmConversationsCreateItems.d.ts.map +1 -1
  77. package/dist/commonjs/react-query/llmConversationsCreateItems.js.map +1 -1
  78. package/dist/commonjs/react-query/llmConversationsListItems.core.d.ts +1 -2
  79. package/dist/commonjs/react-query/llmConversationsListItems.core.d.ts.map +1 -1
  80. package/dist/commonjs/react-query/llmConversationsListItems.core.js.map +1 -1
  81. package/dist/commonjs/sdk/conversations.d.ts +2 -2
  82. package/dist/commonjs/sdk/conversations.d.ts.map +1 -1
  83. package/dist/esm/funcs/llmConversationsCreateItems.d.ts +1 -2
  84. package/dist/esm/funcs/llmConversationsCreateItems.d.ts.map +1 -1
  85. package/dist/esm/funcs/llmConversationsCreateItems.js +1 -2
  86. package/dist/esm/funcs/llmConversationsCreateItems.js.map +1 -1
  87. package/dist/esm/funcs/llmConversationsListItems.d.ts +1 -2
  88. package/dist/esm/funcs/llmConversationsListItems.d.ts.map +1 -1
  89. package/dist/esm/funcs/llmConversationsListItems.js +1 -2
  90. package/dist/esm/funcs/llmConversationsListItems.js.map +1 -1
  91. package/dist/esm/funcs/llmPromptsDelete.js +2 -3
  92. package/dist/esm/funcs/llmPromptsDelete.js.map +1 -1
  93. package/dist/esm/lib/config.d.ts +2 -2
  94. package/dist/esm/lib/config.js +2 -2
  95. package/dist/esm/mcp-server/mcp-server.js +1 -1
  96. package/dist/esm/mcp-server/server.js +1 -1
  97. package/dist/esm/models/components/conversationobject.d.ts +3 -0
  98. package/dist/esm/models/components/conversationobject.d.ts.map +1 -1
  99. package/dist/esm/models/components/conversationobject.js.map +1 -1
  100. package/dist/esm/models/components/createconversationrequest.d.ts +3 -0
  101. package/dist/esm/models/components/createconversationrequest.d.ts.map +1 -1
  102. package/dist/esm/models/components/createconversationrequest.js.map +1 -1
  103. package/dist/esm/models/components/evalfewshotconfig.d.ts +4 -3
  104. package/dist/esm/models/components/evalfewshotconfig.d.ts.map +1 -1
  105. package/dist/esm/models/components/evalfewshotconfig.js +3 -2
  106. package/dist/esm/models/components/evalfewshotconfig.js.map +1 -1
  107. package/dist/esm/models/components/evalmetric.d.ts +37 -0
  108. package/dist/esm/models/components/evalmetric.d.ts.map +1 -0
  109. package/dist/esm/models/components/evalmetric.js +49 -0
  110. package/dist/esm/models/components/evalmetric.js.map +1 -0
  111. package/dist/esm/models/components/evaltask.d.ts +3 -2
  112. package/dist/esm/models/components/evaltask.d.ts.map +1 -1
  113. package/dist/esm/models/components/evaltask.js +3 -2
  114. package/dist/esm/models/components/evaltask.js.map +1 -1
  115. package/dist/esm/models/components/index.d.ts +1 -3
  116. package/dist/esm/models/components/index.d.ts.map +1 -1
  117. package/dist/esm/models/components/index.js +1 -3
  118. package/dist/esm/models/components/index.js.map +1 -1
  119. package/dist/esm/models/components/livekittokenrequest.d.ts +3 -0
  120. package/dist/esm/models/components/livekittokenrequest.d.ts.map +1 -1
  121. package/dist/esm/models/components/livekittokenrequest.js.map +1 -1
  122. package/dist/esm/models/components/responseobject.d.ts +2 -11
  123. package/dist/esm/models/components/responseobject.d.ts.map +1 -1
  124. package/dist/esm/models/components/responseobject.js +2 -12
  125. package/dist/esm/models/components/responseobject.js.map +1 -1
  126. package/dist/esm/models/components/responsescreaterequest.d.ts +3 -0
  127. package/dist/esm/models/components/responsescreaterequest.d.ts.map +1 -1
  128. package/dist/esm/models/components/responsescreaterequest.js.map +1 -1
  129. package/dist/esm/models/components/update.d.ts +3 -0
  130. package/dist/esm/models/components/update.d.ts.map +1 -1
  131. package/dist/esm/models/components/update.js.map +1 -1
  132. package/dist/esm/models/components/updateresponserequest.d.ts +3 -0
  133. package/dist/esm/models/components/updateresponserequest.d.ts.map +1 -1
  134. package/dist/esm/models/components/updateresponserequest.js.map +1 -1
  135. package/dist/esm/models/operations/conversationsitemscreate.d.ts +123 -0
  136. package/dist/esm/models/operations/conversationsitemscreate.d.ts.map +1 -1
  137. package/dist/esm/models/operations/conversationsitemscreate.js +210 -0
  138. package/dist/esm/models/operations/conversationsitemscreate.js.map +1 -1
  139. package/dist/esm/models/operations/conversationsitemslist.d.ts +123 -0
  140. package/dist/esm/models/operations/conversationsitemslist.d.ts.map +1 -1
  141. package/dist/esm/models/operations/conversationsitemslist.js +211 -0
  142. package/dist/esm/models/operations/conversationsitemslist.js.map +1 -1
  143. package/dist/esm/models/operations/conversationsitemsretrieve.d.ts +85 -2
  144. package/dist/esm/models/operations/conversationsitemsretrieve.d.ts.map +1 -1
  145. package/dist/esm/models/operations/conversationsitemsretrieve.js +68 -2
  146. package/dist/esm/models/operations/conversationsitemsretrieve.js.map +1 -1
  147. package/dist/esm/models/operations/deleteprompt.d.ts +0 -11
  148. package/dist/esm/models/operations/deleteprompt.d.ts.map +1 -1
  149. package/dist/esm/models/operations/deleteprompt.js +0 -14
  150. package/dist/esm/models/operations/deleteprompt.js.map +1 -1
  151. package/dist/esm/models/operations/listevalsuiteversions.d.ts +8 -8
  152. package/dist/esm/models/operations/listevalsuiteversions.d.ts.map +1 -1
  153. package/dist/esm/models/operations/listevalsuiteversions.js +8 -9
  154. package/dist/esm/models/operations/listevalsuiteversions.js.map +1 -1
  155. package/dist/esm/react-query/llmConversationsCreateItems.d.ts +1 -2
  156. package/dist/esm/react-query/llmConversationsCreateItems.d.ts.map +1 -1
  157. package/dist/esm/react-query/llmConversationsCreateItems.js.map +1 -1
  158. package/dist/esm/react-query/llmConversationsListItems.core.d.ts +1 -2
  159. package/dist/esm/react-query/llmConversationsListItems.core.d.ts.map +1 -1
  160. package/dist/esm/react-query/llmConversationsListItems.core.js.map +1 -1
  161. package/dist/esm/sdk/conversations.d.ts +2 -2
  162. package/dist/esm/sdk/conversations.d.ts.map +1 -1
  163. package/jsr.json +1 -1
  164. package/package.json +1 -1
  165. package/src/funcs/llmConversationsCreateItems.ts +4 -5
  166. package/src/funcs/llmConversationsListItems.ts +4 -5
  167. package/src/funcs/llmPromptsDelete.ts +2 -3
  168. package/src/lib/config.ts +2 -2
  169. package/src/mcp-server/mcp-server.ts +1 -1
  170. package/src/mcp-server/server.ts +1 -1
  171. package/src/models/components/conversationobject.ts +3 -0
  172. package/src/models/components/createconversationrequest.ts +3 -0
  173. package/src/models/components/evalfewshotconfig.ts +11 -5
  174. package/src/models/components/evalmetric.ts +96 -0
  175. package/src/models/components/evaltask.ts +10 -4
  176. package/src/models/components/index.ts +1 -3
  177. package/src/models/components/livekittokenrequest.ts +3 -0
  178. package/src/models/components/responseobject.ts +4 -47
  179. package/src/models/components/responsescreaterequest.ts +3 -0
  180. package/src/models/components/update.ts +3 -0
  181. package/src/models/components/updateresponserequest.ts +3 -0
  182. package/src/models/operations/conversationsitemscreate.ts +488 -0
  183. package/src/models/operations/conversationsitemslist.ts +496 -0
  184. package/src/models/operations/conversationsitemsretrieve.ts +168 -4
  185. package/src/models/operations/deleteprompt.ts +0 -41
  186. package/src/models/operations/listevalsuiteversions.ts +54 -44
  187. package/src/react-query/llmConversationsCreateItems.ts +2 -2
  188. package/src/react-query/llmConversationsListItems.core.ts +2 -2
  189. package/src/sdk/conversations.ts +2 -2
  190. package/dist/commonjs/models/components/inputmessagewithid.d.ts +0 -89
  191. package/dist/commonjs/models/components/inputmessagewithid.d.ts.map +0 -1
  192. package/dist/commonjs/models/components/inputmessagewithid.js +0 -106
  193. package/dist/commonjs/models/components/inputmessagewithid.js.map +0 -1
  194. package/dist/commonjs/models/components/itemlistobject.d.ts +0 -33
  195. package/dist/commonjs/models/components/itemlistobject.d.ts.map +0 -1
  196. package/dist/commonjs/models/components/itemlistobject.js.map +0 -1
  197. package/dist/commonjs/models/components/itemwithid.d.ts +0 -37
  198. package/dist/commonjs/models/components/itemwithid.d.ts.map +0 -1
  199. package/dist/commonjs/models/components/itemwithid.js +0 -128
  200. package/dist/commonjs/models/components/itemwithid.js.map +0 -1
  201. package/dist/esm/models/components/inputmessagewithid.d.ts +0 -89
  202. package/dist/esm/models/components/inputmessagewithid.d.ts.map +0 -1
  203. package/dist/esm/models/components/inputmessagewithid.js +0 -66
  204. package/dist/esm/models/components/inputmessagewithid.js.map +0 -1
  205. package/dist/esm/models/components/itemlistobject.d.ts +0 -33
  206. package/dist/esm/models/components/itemlistobject.d.ts.map +0 -1
  207. package/dist/esm/models/components/itemlistobject.js +0 -38
  208. package/dist/esm/models/components/itemlistobject.js.map +0 -1
  209. package/dist/esm/models/components/itemwithid.d.ts +0 -37
  210. package/dist/esm/models/components/itemwithid.d.ts.map +0 -1
  211. package/dist/esm/models/components/itemwithid.js +0 -90
  212. package/dist/esm/models/components/itemwithid.js.map +0 -1
  213. package/src/models/components/inputmessagewithid.ts +0 -183
  214. package/src/models/components/itemlistobject.ts +0 -85
  215. package/src/models/components/itemwithid.ts +0 -281
@@ -1,4 +1,5 @@
1
1
  import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
2
3
  import { Result as SafeParseResult } from "../../types/fp.js";
3
4
  import * as components from "../components/index.js";
4
5
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
@@ -10,6 +11,77 @@ export type ConversationsItemsCreateRequest = {
10
11
  xOnBehalfOf?: string | undefined;
11
12
  createItemsRequest: components.CreateItemsRequest;
12
13
  };
14
+ /**
15
+ * The role of the message sender (user, assistant, system, or developer).
16
+ */
17
+ export declare const DataRole: {
18
+ readonly User: "user";
19
+ readonly Assistant: "assistant";
20
+ readonly System: "system";
21
+ readonly Developer: "developer";
22
+ };
23
+ /**
24
+ * The role of the message sender (user, assistant, system, or developer).
25
+ */
26
+ export type DataRole = ClosedEnum<typeof DataRole>;
27
+ /**
28
+ * The message content. Can be a simple text string or an array of multimodal content items (text, images, files, audio).
29
+ */
30
+ export type DataContent = string | Array<components.InputMessageContent>;
31
+ /**
32
+ * Input message item: A message with role and content. Use this for user, assistant, system, or developer turns in structured inputs.
33
+ */
34
+ export type DataInputMessageItem = {
35
+ /**
36
+ * The item type identifier. Always 'message' for message items.
37
+ */
38
+ type?: "message" | undefined;
39
+ /**
40
+ * The role of the message sender (user, assistant, system, or developer).
41
+ */
42
+ role: DataRole;
43
+ /**
44
+ * The message content. Can be a simple text string or an array of multimodal content items (text, images, files, audio).
45
+ */
46
+ content: string | Array<components.InputMessageContent>;
47
+ /**
48
+ * The processing status of an individual item. 'in_progress' means currently processing, 'completed' means finished successfully, 'incomplete' means processing stopped before completion.
49
+ */
50
+ status?: components.Status | undefined;
51
+ /**
52
+ * The unique ID of the message.
53
+ */
54
+ id: string;
55
+ /**
56
+ * The ID of the response that created this item, if any.
57
+ */
58
+ responseId?: string | null | undefined;
59
+ /**
60
+ * Metadata from the response that created this item, if any.
61
+ */
62
+ metadata?: {
63
+ [k: string]: string;
64
+ } | null | undefined;
65
+ };
66
+ export type ConversationsItemsCreateData = components.ComputerToolCallWithId | components.CodeInterpreterToolCallWithId | components.OutputMessageWithId | components.OutputAudioItemWithId | components.FunctionToolCallWithId | components.LocalShellCallWithId | components.ShellCallWithId | components.MCPApprovalRequestWithId | components.MCPToolCallWithId | components.CustomToolCallWithId | components.FileSearchToolCallWithId | components.ComputerToolCallOutputWithId | components.WebSearchToolCallWithId | components.FunctionToolCallOutputWithId | components.ImageGenerationCallWithId | components.ShellCallOutputWithId | components.MCPListToolsWithId | components.MCPApprovalResponseWithId | components.CustomToolCallOutputWithId | DataInputMessageItem | components.ReasoningWithId | components.LocalShellCallOutputWithId | components.ResponseCompactionItemWithId | components.ItemReferenceWithId;
67
+ /**
68
+ * OK
69
+ */
70
+ export type ConversationsItemsCreateResponseBody = {
71
+ object?: "list" | undefined;
72
+ /**
73
+ * A list of conversation items.
74
+ */
75
+ data: Array<components.ComputerToolCallWithId | components.CodeInterpreterToolCallWithId | components.OutputMessageWithId | components.OutputAudioItemWithId | components.FunctionToolCallWithId | components.LocalShellCallWithId | components.ShellCallWithId | components.MCPApprovalRequestWithId | components.MCPToolCallWithId | components.CustomToolCallWithId | components.FileSearchToolCallWithId | components.ComputerToolCallOutputWithId | components.WebSearchToolCallWithId | components.FunctionToolCallOutputWithId | components.ImageGenerationCallWithId | components.ShellCallOutputWithId | components.MCPListToolsWithId | components.MCPApprovalResponseWithId | components.CustomToolCallOutputWithId | DataInputMessageItem | components.ReasoningWithId | components.LocalShellCallOutputWithId | components.ResponseCompactionItemWithId | components.ItemReferenceWithId>;
76
+ /**
77
+ * Whether there are more items
78
+ */
79
+ hasMore: boolean;
80
+ /**
81
+ * ID of the last item in the current page
82
+ */
83
+ lastId: string;
84
+ };
13
85
  /** @internal */
14
86
  export declare const ConversationsItemsCreateRequest$inboundSchema: z.ZodType<ConversationsItemsCreateRequest, z.ZodTypeDef, unknown>;
15
87
  /** @internal */
@@ -22,4 +94,55 @@ export type ConversationsItemsCreateRequest$Outbound = {
22
94
  export declare const ConversationsItemsCreateRequest$outboundSchema: z.ZodType<ConversationsItemsCreateRequest$Outbound, z.ZodTypeDef, ConversationsItemsCreateRequest>;
23
95
  export declare function conversationsItemsCreateRequestToJSON(conversationsItemsCreateRequest: ConversationsItemsCreateRequest): string;
24
96
  export declare function conversationsItemsCreateRequestFromJSON(jsonString: string): SafeParseResult<ConversationsItemsCreateRequest, SDKValidationError>;
97
+ /** @internal */
98
+ export declare const DataRole$inboundSchema: z.ZodNativeEnum<typeof DataRole>;
99
+ /** @internal */
100
+ export declare const DataRole$outboundSchema: z.ZodNativeEnum<typeof DataRole>;
101
+ /** @internal */
102
+ export declare const DataContent$inboundSchema: z.ZodType<DataContent, z.ZodTypeDef, unknown>;
103
+ /** @internal */
104
+ export type DataContent$Outbound = string | Array<components.InputMessageContent$Outbound>;
105
+ /** @internal */
106
+ export declare const DataContent$outboundSchema: z.ZodType<DataContent$Outbound, z.ZodTypeDef, DataContent>;
107
+ export declare function dataContentToJSON(dataContent: DataContent): string;
108
+ export declare function dataContentFromJSON(jsonString: string): SafeParseResult<DataContent, SDKValidationError>;
109
+ /** @internal */
110
+ export declare const DataInputMessageItem$inboundSchema: z.ZodType<DataInputMessageItem, z.ZodTypeDef, unknown>;
111
+ /** @internal */
112
+ export type DataInputMessageItem$Outbound = {
113
+ type?: "message" | undefined;
114
+ role: string;
115
+ content: string | Array<components.InputMessageContent$Outbound>;
116
+ status?: string | undefined;
117
+ id: string;
118
+ response_id?: string | null | undefined;
119
+ metadata?: {
120
+ [k: string]: string;
121
+ } | null | undefined;
122
+ };
123
+ /** @internal */
124
+ export declare const DataInputMessageItem$outboundSchema: z.ZodType<DataInputMessageItem$Outbound, z.ZodTypeDef, DataInputMessageItem>;
125
+ export declare function dataInputMessageItemToJSON(dataInputMessageItem: DataInputMessageItem): string;
126
+ export declare function dataInputMessageItemFromJSON(jsonString: string): SafeParseResult<DataInputMessageItem, SDKValidationError>;
127
+ /** @internal */
128
+ export declare const ConversationsItemsCreateData$inboundSchema: z.ZodType<ConversationsItemsCreateData, z.ZodTypeDef, unknown>;
129
+ /** @internal */
130
+ export type ConversationsItemsCreateData$Outbound = components.ComputerToolCallWithId$Outbound | components.CodeInterpreterToolCallWithId$Outbound | components.OutputMessageWithId$Outbound | components.OutputAudioItemWithId$Outbound | components.FunctionToolCallWithId$Outbound | components.LocalShellCallWithId$Outbound | components.ShellCallWithId$Outbound | components.MCPApprovalRequestWithId$Outbound | components.MCPToolCallWithId$Outbound | components.CustomToolCallWithId$Outbound | components.FileSearchToolCallWithId$Outbound | components.ComputerToolCallOutputWithId$Outbound | components.WebSearchToolCallWithId$Outbound | components.FunctionToolCallOutputWithId$Outbound | components.ImageGenerationCallWithId$Outbound | components.ShellCallOutputWithId$Outbound | components.MCPListToolsWithId$Outbound | components.MCPApprovalResponseWithId$Outbound | components.CustomToolCallOutputWithId$Outbound | DataInputMessageItem$Outbound | components.ReasoningWithId$Outbound | components.LocalShellCallOutputWithId$Outbound | components.ResponseCompactionItemWithId$Outbound | components.ItemReferenceWithId$Outbound;
131
+ /** @internal */
132
+ export declare const ConversationsItemsCreateData$outboundSchema: z.ZodType<ConversationsItemsCreateData$Outbound, z.ZodTypeDef, ConversationsItemsCreateData>;
133
+ export declare function conversationsItemsCreateDataToJSON(conversationsItemsCreateData: ConversationsItemsCreateData): string;
134
+ export declare function conversationsItemsCreateDataFromJSON(jsonString: string): SafeParseResult<ConversationsItemsCreateData, SDKValidationError>;
135
+ /** @internal */
136
+ export declare const ConversationsItemsCreateResponseBody$inboundSchema: z.ZodType<ConversationsItemsCreateResponseBody, z.ZodTypeDef, unknown>;
137
+ /** @internal */
138
+ export type ConversationsItemsCreateResponseBody$Outbound = {
139
+ object?: "list" | undefined;
140
+ data: Array<components.ComputerToolCallWithId$Outbound | components.CodeInterpreterToolCallWithId$Outbound | components.OutputMessageWithId$Outbound | components.OutputAudioItemWithId$Outbound | components.FunctionToolCallWithId$Outbound | components.LocalShellCallWithId$Outbound | components.ShellCallWithId$Outbound | components.MCPApprovalRequestWithId$Outbound | components.MCPToolCallWithId$Outbound | components.CustomToolCallWithId$Outbound | components.FileSearchToolCallWithId$Outbound | components.ComputerToolCallOutputWithId$Outbound | components.WebSearchToolCallWithId$Outbound | components.FunctionToolCallOutputWithId$Outbound | components.ImageGenerationCallWithId$Outbound | components.ShellCallOutputWithId$Outbound | components.MCPListToolsWithId$Outbound | components.MCPApprovalResponseWithId$Outbound | components.CustomToolCallOutputWithId$Outbound | DataInputMessageItem$Outbound | components.ReasoningWithId$Outbound | components.LocalShellCallOutputWithId$Outbound | components.ResponseCompactionItemWithId$Outbound | components.ItemReferenceWithId$Outbound>;
141
+ has_more: boolean;
142
+ last_id: string;
143
+ };
144
+ /** @internal */
145
+ export declare const ConversationsItemsCreateResponseBody$outboundSchema: z.ZodType<ConversationsItemsCreateResponseBody$Outbound, z.ZodTypeDef, ConversationsItemsCreateResponseBody>;
146
+ export declare function conversationsItemsCreateResponseBodyToJSON(conversationsItemsCreateResponseBody: ConversationsItemsCreateResponseBody): string;
147
+ export declare function conversationsItemsCreateResponseBodyFromJSON(jsonString: string): SafeParseResult<ConversationsItemsCreateResponseBody, SDKValidationError>;
25
148
  //# sourceMappingURL=conversationsitemscreate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"conversationsitemscreate.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/conversationsitemscreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kBAAkB,EAAE,UAAU,CAAC,kBAAkB,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,kBAAkB,EAAE,UAAU,CAAC,2BAA2B,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAW/B,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR;AACD,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
1
+ {"version":3,"file":"conversationsitemscreate.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/conversationsitemscreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kBAAkB,EAAE,UAAU,CAAC,kBAAkB,CAAC;CACnD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;;CAKX,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AA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,GAC7C,UAAU,CAAC,8BAA8B,GACzC,UAAU,CAAC,2BAA2B,GACtC,UAAU,CAAC,kCAAkC,GAC7C,UAAU,CAAC,mCAAmC,GAC9C,6BAA6B,GAC7B,UAAU,CAAC,wBAAwB,GACnC,UAAU,CAAC,mCAAmC,GAC9C,UAAU,CAAC,qCAAqC,GAChD,UAAU,CAAC,4BAA4B,CAC1C,CAAC;IACF,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,6CAA6C,EAC7C,CAAC,CAAC,UAAU,EACZ,oCAAoC,CAsCpC,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,oCAAoC,EAAE,oCAAoC,GACzE,MAAM,CAMR;AACD,wBAAgB,4CAA4C,CAC1D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oCAAoC,EAAE,kBAAkB,CAAC,CAO3E"}
@@ -5,6 +5,15 @@ import * as z from "zod/v3";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  import * as components from "../components/index.js";
8
+ /**
9
+ * The role of the message sender (user, assistant, system, or developer).
10
+ */
11
+ export const DataRole = {
12
+ User: "user",
13
+ Assistant: "assistant",
14
+ System: "system",
15
+ Developer: "developer",
16
+ };
8
17
  /** @internal */
9
18
  export const ConversationsItemsCreateRequest$inboundSchema = z.object({
10
19
  conversation_id: z.string(),
@@ -35,4 +44,205 @@ export function conversationsItemsCreateRequestToJSON(conversationsItemsCreateRe
35
44
  export function conversationsItemsCreateRequestFromJSON(jsonString) {
36
45
  return safeParse(jsonString, (x) => ConversationsItemsCreateRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConversationsItemsCreateRequest' from JSON`);
37
46
  }
47
+ /** @internal */
48
+ export const DataRole$inboundSchema = z
49
+ .nativeEnum(DataRole);
50
+ /** @internal */
51
+ export const DataRole$outboundSchema = DataRole$inboundSchema;
52
+ /** @internal */
53
+ export const DataContent$inboundSchema = z.union([
54
+ z.string(),
55
+ z.array(components.InputMessageContent$inboundSchema),
56
+ ]);
57
+ /** @internal */
58
+ export const DataContent$outboundSchema = z.union([
59
+ z.string(),
60
+ z.array(components.InputMessageContent$outboundSchema),
61
+ ]);
62
+ export function dataContentToJSON(dataContent) {
63
+ return JSON.stringify(DataContent$outboundSchema.parse(dataContent));
64
+ }
65
+ export function dataContentFromJSON(jsonString) {
66
+ return safeParse(jsonString, (x) => DataContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataContent' from JSON`);
67
+ }
68
+ /** @internal */
69
+ export const DataInputMessageItem$inboundSchema = z.object({
70
+ type: z.literal("message").optional(),
71
+ role: DataRole$inboundSchema,
72
+ content: z.union([
73
+ z.string(),
74
+ z.array(components.InputMessageContent$inboundSchema),
75
+ ]),
76
+ status: components.Status$inboundSchema.optional(),
77
+ id: z.string(),
78
+ response_id: z.nullable(z.string()).optional(),
79
+ metadata: z.nullable(z.record(z.string())).optional(),
80
+ }).transform((v) => {
81
+ return remap$(v, {
82
+ "response_id": "responseId",
83
+ });
84
+ });
85
+ /** @internal */
86
+ export const DataInputMessageItem$outboundSchema = z.object({
87
+ type: z.literal("message").optional(),
88
+ role: DataRole$outboundSchema,
89
+ content: z.union([
90
+ z.string(),
91
+ z.array(components.InputMessageContent$outboundSchema),
92
+ ]),
93
+ status: components.Status$outboundSchema.optional(),
94
+ id: z.string(),
95
+ responseId: z.nullable(z.string()).optional(),
96
+ metadata: z.nullable(z.record(z.string())).optional(),
97
+ }).transform((v) => {
98
+ return remap$(v, {
99
+ responseId: "response_id",
100
+ });
101
+ });
102
+ export function dataInputMessageItemToJSON(dataInputMessageItem) {
103
+ return JSON.stringify(DataInputMessageItem$outboundSchema.parse(dataInputMessageItem));
104
+ }
105
+ export function dataInputMessageItemFromJSON(jsonString) {
106
+ return safeParse(jsonString, (x) => DataInputMessageItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataInputMessageItem' from JSON`);
107
+ }
108
+ /** @internal */
109
+ export const ConversationsItemsCreateData$inboundSchema = z.union([
110
+ components.ComputerToolCallWithId$inboundSchema,
111
+ components.CodeInterpreterToolCallWithId$inboundSchema,
112
+ components.OutputMessageWithId$inboundSchema,
113
+ components.OutputAudioItemWithId$inboundSchema,
114
+ components.FunctionToolCallWithId$inboundSchema,
115
+ components.LocalShellCallWithId$inboundSchema,
116
+ components.ShellCallWithId$inboundSchema,
117
+ components.MCPApprovalRequestWithId$inboundSchema,
118
+ components.MCPToolCallWithId$inboundSchema,
119
+ components.CustomToolCallWithId$inboundSchema,
120
+ components.FileSearchToolCallWithId$inboundSchema,
121
+ components.ComputerToolCallOutputWithId$inboundSchema,
122
+ components.WebSearchToolCallWithId$inboundSchema,
123
+ components.FunctionToolCallOutputWithId$inboundSchema,
124
+ components.ImageGenerationCallWithId$inboundSchema,
125
+ components.ShellCallOutputWithId$inboundSchema,
126
+ components.MCPListToolsWithId$inboundSchema,
127
+ components.MCPApprovalResponseWithId$inboundSchema,
128
+ components.CustomToolCallOutputWithId$inboundSchema,
129
+ z.lazy(() => DataInputMessageItem$inboundSchema),
130
+ components.ReasoningWithId$inboundSchema,
131
+ components.LocalShellCallOutputWithId$inboundSchema,
132
+ components.ResponseCompactionItemWithId$inboundSchema,
133
+ components.ItemReferenceWithId$inboundSchema,
134
+ ]);
135
+ /** @internal */
136
+ export const ConversationsItemsCreateData$outboundSchema = z.union([
137
+ components.ComputerToolCallWithId$outboundSchema,
138
+ components.CodeInterpreterToolCallWithId$outboundSchema,
139
+ components.OutputMessageWithId$outboundSchema,
140
+ components.OutputAudioItemWithId$outboundSchema,
141
+ components.FunctionToolCallWithId$outboundSchema,
142
+ components.LocalShellCallWithId$outboundSchema,
143
+ components.ShellCallWithId$outboundSchema,
144
+ components.MCPApprovalRequestWithId$outboundSchema,
145
+ components.MCPToolCallWithId$outboundSchema,
146
+ components.CustomToolCallWithId$outboundSchema,
147
+ components.FileSearchToolCallWithId$outboundSchema,
148
+ components.ComputerToolCallOutputWithId$outboundSchema,
149
+ components.WebSearchToolCallWithId$outboundSchema,
150
+ components.FunctionToolCallOutputWithId$outboundSchema,
151
+ components.ImageGenerationCallWithId$outboundSchema,
152
+ components.ShellCallOutputWithId$outboundSchema,
153
+ components.MCPListToolsWithId$outboundSchema,
154
+ components.MCPApprovalResponseWithId$outboundSchema,
155
+ components.CustomToolCallOutputWithId$outboundSchema,
156
+ z.lazy(() => DataInputMessageItem$outboundSchema),
157
+ components.ReasoningWithId$outboundSchema,
158
+ components.LocalShellCallOutputWithId$outboundSchema,
159
+ components.ResponseCompactionItemWithId$outboundSchema,
160
+ components.ItemReferenceWithId$outboundSchema,
161
+ ]);
162
+ export function conversationsItemsCreateDataToJSON(conversationsItemsCreateData) {
163
+ return JSON.stringify(ConversationsItemsCreateData$outboundSchema.parse(conversationsItemsCreateData));
164
+ }
165
+ export function conversationsItemsCreateDataFromJSON(jsonString) {
166
+ return safeParse(jsonString, (x) => ConversationsItemsCreateData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConversationsItemsCreateData' from JSON`);
167
+ }
168
+ /** @internal */
169
+ export const ConversationsItemsCreateResponseBody$inboundSchema = z.object({
170
+ object: z.literal("list").optional(),
171
+ data: z.array(z.union([
172
+ components.ComputerToolCallWithId$inboundSchema,
173
+ components.CodeInterpreterToolCallWithId$inboundSchema,
174
+ components.OutputMessageWithId$inboundSchema,
175
+ components.OutputAudioItemWithId$inboundSchema,
176
+ components.FunctionToolCallWithId$inboundSchema,
177
+ components.LocalShellCallWithId$inboundSchema,
178
+ components.ShellCallWithId$inboundSchema,
179
+ components.MCPApprovalRequestWithId$inboundSchema,
180
+ components.MCPToolCallWithId$inboundSchema,
181
+ components.CustomToolCallWithId$inboundSchema,
182
+ components.FileSearchToolCallWithId$inboundSchema,
183
+ components.ComputerToolCallOutputWithId$inboundSchema,
184
+ components.WebSearchToolCallWithId$inboundSchema,
185
+ components.FunctionToolCallOutputWithId$inboundSchema,
186
+ components.ImageGenerationCallWithId$inboundSchema,
187
+ components.ShellCallOutputWithId$inboundSchema,
188
+ components.MCPListToolsWithId$inboundSchema,
189
+ components.MCPApprovalResponseWithId$inboundSchema,
190
+ components.CustomToolCallOutputWithId$inboundSchema,
191
+ z.lazy(() => DataInputMessageItem$inboundSchema),
192
+ components.ReasoningWithId$inboundSchema,
193
+ components.LocalShellCallOutputWithId$inboundSchema,
194
+ components.ResponseCompactionItemWithId$inboundSchema,
195
+ components.ItemReferenceWithId$inboundSchema,
196
+ ])),
197
+ has_more: z.boolean(),
198
+ last_id: z.string(),
199
+ }).transform((v) => {
200
+ return remap$(v, {
201
+ "has_more": "hasMore",
202
+ "last_id": "lastId",
203
+ });
204
+ });
205
+ /** @internal */
206
+ export const ConversationsItemsCreateResponseBody$outboundSchema = z.object({
207
+ object: z.literal("list").optional(),
208
+ data: z.array(z.union([
209
+ components.ComputerToolCallWithId$outboundSchema,
210
+ components.CodeInterpreterToolCallWithId$outboundSchema,
211
+ components.OutputMessageWithId$outboundSchema,
212
+ components.OutputAudioItemWithId$outboundSchema,
213
+ components.FunctionToolCallWithId$outboundSchema,
214
+ components.LocalShellCallWithId$outboundSchema,
215
+ components.ShellCallWithId$outboundSchema,
216
+ components.MCPApprovalRequestWithId$outboundSchema,
217
+ components.MCPToolCallWithId$outboundSchema,
218
+ components.CustomToolCallWithId$outboundSchema,
219
+ components.FileSearchToolCallWithId$outboundSchema,
220
+ components.ComputerToolCallOutputWithId$outboundSchema,
221
+ components.WebSearchToolCallWithId$outboundSchema,
222
+ components.FunctionToolCallOutputWithId$outboundSchema,
223
+ components.ImageGenerationCallWithId$outboundSchema,
224
+ components.ShellCallOutputWithId$outboundSchema,
225
+ components.MCPListToolsWithId$outboundSchema,
226
+ components.MCPApprovalResponseWithId$outboundSchema,
227
+ components.CustomToolCallOutputWithId$outboundSchema,
228
+ z.lazy(() => DataInputMessageItem$outboundSchema),
229
+ components.ReasoningWithId$outboundSchema,
230
+ components.LocalShellCallOutputWithId$outboundSchema,
231
+ components.ResponseCompactionItemWithId$outboundSchema,
232
+ components.ItemReferenceWithId$outboundSchema,
233
+ ])),
234
+ hasMore: z.boolean(),
235
+ lastId: z.string(),
236
+ }).transform((v) => {
237
+ return remap$(v, {
238
+ hasMore: "has_more",
239
+ lastId: "last_id",
240
+ });
241
+ });
242
+ export function conversationsItemsCreateResponseBodyToJSON(conversationsItemsCreateResponseBody) {
243
+ return JSON.stringify(ConversationsItemsCreateResponseBody$outboundSchema.parse(conversationsItemsCreateResponseBody));
244
+ }
245
+ export function conversationsItemsCreateResponseBodyFromJSON(jsonString) {
246
+ return safeParse(jsonString, (x) => ConversationsItemsCreateResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConversationsItemsCreateResponseBody' from JSON`);
247
+ }
38
248
  //# sourceMappingURL=conversationsitemscreate.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"conversationsitemscreate.js","sourceRoot":"","sources":["../../../../src/models/operations/conversationsitemscreate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAYrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,kBAAkB,EAAE,UAAU,CAAC,gCAAgC;CAChE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,gBAAgB;QACnC,gBAAgB,EAAE,aAAa;QAC/B,oBAAoB,EAAE,oBAAoB;KAC3C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,kBAAkB,EAAE,UAAU,CAAC,iCAAiC;CACjE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,WAAW,EAAE,gBAAgB;QAC7B,kBAAkB,EAAE,oBAAoB;KACzC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,8CAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,uCAAuC,CACrD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"conversationsitemscreate.js","sourceRoot":"","sources":["../../../../src/models/operations/conversationsitemscreate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAYrD;;GAEG;AAC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,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,kDAAkD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,kEAAkE,CACnE,CAAC;AACJ,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v3";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import * as components from "../components/index.js";
4
5
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
6
  /**
6
7
  * The order to return the input items in. Default is `asc`.
@@ -27,6 +28,77 @@ export type ConversationsItemsListRequest = {
27
28
  */
28
29
  xOnBehalfOf?: string | undefined;
29
30
  };
31
+ /**
32
+ * The role of the message sender (user, assistant, system, or developer).
33
+ */
34
+ export declare const ConversationsItemsListDataRole: {
35
+ readonly User: "user";
36
+ readonly Assistant: "assistant";
37
+ readonly System: "system";
38
+ readonly Developer: "developer";
39
+ };
40
+ /**
41
+ * The role of the message sender (user, assistant, system, or developer).
42
+ */
43
+ export type ConversationsItemsListDataRole = ClosedEnum<typeof ConversationsItemsListDataRole>;
44
+ /**
45
+ * The message content. Can be a simple text string or an array of multimodal content items (text, images, files, audio).
46
+ */
47
+ export type ConversationsItemsListDataContent = string | Array<components.InputMessageContent>;
48
+ /**
49
+ * Input message item: A message with role and content. Use this for user, assistant, system, or developer turns in structured inputs.
50
+ */
51
+ export type ConversationsItemsListDataInputMessageItem = {
52
+ /**
53
+ * The item type identifier. Always 'message' for message items.
54
+ */
55
+ type?: "message" | undefined;
56
+ /**
57
+ * The role of the message sender (user, assistant, system, or developer).
58
+ */
59
+ role: ConversationsItemsListDataRole;
60
+ /**
61
+ * The message content. Can be a simple text string or an array of multimodal content items (text, images, files, audio).
62
+ */
63
+ content: string | Array<components.InputMessageContent>;
64
+ /**
65
+ * The processing status of an individual item. 'in_progress' means currently processing, 'completed' means finished successfully, 'incomplete' means processing stopped before completion.
66
+ */
67
+ status?: components.Status | undefined;
68
+ /**
69
+ * The unique ID of the message.
70
+ */
71
+ id: string;
72
+ /**
73
+ * The ID of the response that created this item, if any.
74
+ */
75
+ responseId?: string | null | undefined;
76
+ /**
77
+ * Metadata from the response that created this item, if any.
78
+ */
79
+ metadata?: {
80
+ [k: string]: string;
81
+ } | null | undefined;
82
+ };
83
+ export type Data = components.ComputerToolCallWithId | components.CodeInterpreterToolCallWithId | components.OutputMessageWithId | components.OutputAudioItemWithId | components.FunctionToolCallWithId | components.LocalShellCallWithId | components.ShellCallWithId | components.MCPApprovalRequestWithId | components.MCPToolCallWithId | components.CustomToolCallWithId | components.FileSearchToolCallWithId | components.ComputerToolCallOutputWithId | components.WebSearchToolCallWithId | components.FunctionToolCallOutputWithId | components.ImageGenerationCallWithId | components.ShellCallOutputWithId | components.MCPListToolsWithId | components.MCPApprovalResponseWithId | components.CustomToolCallOutputWithId | ConversationsItemsListDataInputMessageItem | components.ReasoningWithId | components.LocalShellCallOutputWithId | components.ResponseCompactionItemWithId | components.ItemReferenceWithId;
84
+ /**
85
+ * OK
86
+ */
87
+ export type ConversationsItemsListResponseBody = {
88
+ object?: "list" | undefined;
89
+ /**
90
+ * A list of conversation items.
91
+ */
92
+ data: Array<components.ComputerToolCallWithId | components.CodeInterpreterToolCallWithId | components.OutputMessageWithId | components.OutputAudioItemWithId | components.FunctionToolCallWithId | components.LocalShellCallWithId | components.ShellCallWithId | components.MCPApprovalRequestWithId | components.MCPToolCallWithId | components.CustomToolCallWithId | components.FileSearchToolCallWithId | components.ComputerToolCallOutputWithId | components.WebSearchToolCallWithId | components.FunctionToolCallOutputWithId | components.ImageGenerationCallWithId | components.ShellCallOutputWithId | components.MCPListToolsWithId | components.MCPApprovalResponseWithId | components.CustomToolCallOutputWithId | ConversationsItemsListDataInputMessageItem | components.ReasoningWithId | components.LocalShellCallOutputWithId | components.ResponseCompactionItemWithId | components.ItemReferenceWithId>;
93
+ /**
94
+ * Whether there are more items
95
+ */
96
+ hasMore: boolean;
97
+ /**
98
+ * ID of the last item in the current page
99
+ */
100
+ lastId: string;
101
+ };
30
102
  /** @internal */
31
103
  export declare const QueryParamOrder$inboundSchema: z.ZodNativeEnum<typeof QueryParamOrder>;
32
104
  /** @internal */
@@ -46,4 +118,55 @@ export type ConversationsItemsListRequest$Outbound = {
46
118
  export declare const ConversationsItemsListRequest$outboundSchema: z.ZodType<ConversationsItemsListRequest$Outbound, z.ZodTypeDef, ConversationsItemsListRequest>;
47
119
  export declare function conversationsItemsListRequestToJSON(conversationsItemsListRequest: ConversationsItemsListRequest): string;
48
120
  export declare function conversationsItemsListRequestFromJSON(jsonString: string): SafeParseResult<ConversationsItemsListRequest, SDKValidationError>;
121
+ /** @internal */
122
+ export declare const ConversationsItemsListDataRole$inboundSchema: z.ZodNativeEnum<typeof ConversationsItemsListDataRole>;
123
+ /** @internal */
124
+ export declare const ConversationsItemsListDataRole$outboundSchema: z.ZodNativeEnum<typeof ConversationsItemsListDataRole>;
125
+ /** @internal */
126
+ export declare const ConversationsItemsListDataContent$inboundSchema: z.ZodType<ConversationsItemsListDataContent, z.ZodTypeDef, unknown>;
127
+ /** @internal */
128
+ export type ConversationsItemsListDataContent$Outbound = string | Array<components.InputMessageContent$Outbound>;
129
+ /** @internal */
130
+ export declare const ConversationsItemsListDataContent$outboundSchema: z.ZodType<ConversationsItemsListDataContent$Outbound, z.ZodTypeDef, ConversationsItemsListDataContent>;
131
+ export declare function conversationsItemsListDataContentToJSON(conversationsItemsListDataContent: ConversationsItemsListDataContent): string;
132
+ export declare function conversationsItemsListDataContentFromJSON(jsonString: string): SafeParseResult<ConversationsItemsListDataContent, SDKValidationError>;
133
+ /** @internal */
134
+ export declare const ConversationsItemsListDataInputMessageItem$inboundSchema: z.ZodType<ConversationsItemsListDataInputMessageItem, z.ZodTypeDef, unknown>;
135
+ /** @internal */
136
+ export type ConversationsItemsListDataInputMessageItem$Outbound = {
137
+ type?: "message" | undefined;
138
+ role: string;
139
+ content: string | Array<components.InputMessageContent$Outbound>;
140
+ status?: string | undefined;
141
+ id: string;
142
+ response_id?: string | null | undefined;
143
+ metadata?: {
144
+ [k: string]: string;
145
+ } | null | undefined;
146
+ };
147
+ /** @internal */
148
+ export declare const ConversationsItemsListDataInputMessageItem$outboundSchema: z.ZodType<ConversationsItemsListDataInputMessageItem$Outbound, z.ZodTypeDef, ConversationsItemsListDataInputMessageItem>;
149
+ export declare function conversationsItemsListDataInputMessageItemToJSON(conversationsItemsListDataInputMessageItem: ConversationsItemsListDataInputMessageItem): string;
150
+ export declare function conversationsItemsListDataInputMessageItemFromJSON(jsonString: string): SafeParseResult<ConversationsItemsListDataInputMessageItem, SDKValidationError>;
151
+ /** @internal */
152
+ export declare const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
153
+ /** @internal */
154
+ export type Data$Outbound = components.ComputerToolCallWithId$Outbound | components.CodeInterpreterToolCallWithId$Outbound | components.OutputMessageWithId$Outbound | components.OutputAudioItemWithId$Outbound | components.FunctionToolCallWithId$Outbound | components.LocalShellCallWithId$Outbound | components.ShellCallWithId$Outbound | components.MCPApprovalRequestWithId$Outbound | components.MCPToolCallWithId$Outbound | components.CustomToolCallWithId$Outbound | components.FileSearchToolCallWithId$Outbound | components.ComputerToolCallOutputWithId$Outbound | components.WebSearchToolCallWithId$Outbound | components.FunctionToolCallOutputWithId$Outbound | components.ImageGenerationCallWithId$Outbound | components.ShellCallOutputWithId$Outbound | components.MCPListToolsWithId$Outbound | components.MCPApprovalResponseWithId$Outbound | components.CustomToolCallOutputWithId$Outbound | ConversationsItemsListDataInputMessageItem$Outbound | components.ReasoningWithId$Outbound | components.LocalShellCallOutputWithId$Outbound | components.ResponseCompactionItemWithId$Outbound | components.ItemReferenceWithId$Outbound;
155
+ /** @internal */
156
+ export declare const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data>;
157
+ export declare function dataToJSON(data: Data): string;
158
+ export declare function dataFromJSON(jsonString: string): SafeParseResult<Data, SDKValidationError>;
159
+ /** @internal */
160
+ export declare const ConversationsItemsListResponseBody$inboundSchema: z.ZodType<ConversationsItemsListResponseBody, z.ZodTypeDef, unknown>;
161
+ /** @internal */
162
+ export type ConversationsItemsListResponseBody$Outbound = {
163
+ object?: "list" | undefined;
164
+ data: Array<components.ComputerToolCallWithId$Outbound | components.CodeInterpreterToolCallWithId$Outbound | components.OutputMessageWithId$Outbound | components.OutputAudioItemWithId$Outbound | components.FunctionToolCallWithId$Outbound | components.LocalShellCallWithId$Outbound | components.ShellCallWithId$Outbound | components.MCPApprovalRequestWithId$Outbound | components.MCPToolCallWithId$Outbound | components.CustomToolCallWithId$Outbound | components.FileSearchToolCallWithId$Outbound | components.ComputerToolCallOutputWithId$Outbound | components.WebSearchToolCallWithId$Outbound | components.FunctionToolCallOutputWithId$Outbound | components.ImageGenerationCallWithId$Outbound | components.ShellCallOutputWithId$Outbound | components.MCPListToolsWithId$Outbound | components.MCPApprovalResponseWithId$Outbound | components.CustomToolCallOutputWithId$Outbound | ConversationsItemsListDataInputMessageItem$Outbound | components.ReasoningWithId$Outbound | components.LocalShellCallOutputWithId$Outbound | components.ResponseCompactionItemWithId$Outbound | components.ItemReferenceWithId$Outbound>;
165
+ has_more: boolean;
166
+ last_id: string;
167
+ };
168
+ /** @internal */
169
+ export declare const ConversationsItemsListResponseBody$outboundSchema: z.ZodType<ConversationsItemsListResponseBody$Outbound, z.ZodTypeDef, ConversationsItemsListResponseBody>;
170
+ export declare function conversationsItemsListResponseBodyToJSON(conversationsItemsListResponseBody: ConversationsItemsListResponseBody): string;
171
+ export declare function conversationsItemsListResponseBodyFromJSON(jsonString: string): SafeParseResult<ConversationsItemsListResponseBody, SDKValidationError>;
49
172
  //# sourceMappingURL=conversationsitemslist.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"conversationsitemslist.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/conversationsitemslist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ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AC;IACd,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAa7B,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AACD,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
1
+ {"version":3,"file":"conversationsitemslist.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/conversationsitemslist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE,MAAM,MAAM,6BAA6B,GAAG;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,eAAO,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