@meetkai/mka1 0.48.38 → 0.48.40
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 +1027 -746
- package/bin/mcp-server.js.map +53 -55
- package/dist/commonjs/funcs/budgetsApiKeyEvents.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsApiKeyEvents.js +1 -1
- package/dist/commonjs/funcs/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/funcs/budgetsGetApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsGetApiKey.js +1 -1
- package/dist/commonjs/funcs/budgetsList.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsList.js +1 -1
- package/dist/commonjs/funcs/budgetsSetApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsSetApiKey.js +1 -1
- 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/mcp-server/tools/budgetsApiKeyEvents.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsApiKeyEvents.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsDeleteApiKey.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsGetApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsGetApiKey.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsList.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsSetApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsSetApiKey.js.map +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/getapikeybudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/getapikeybudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getapikeybudgets.js +4 -0
- package/dist/commonjs/models/operations/getapikeybudgets.js.map +1 -1
- package/dist/commonjs/models/operations/getorgbudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/getorgbudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getorgbudgets.js +4 -0
- package/dist/commonjs/models/operations/getorgbudgets.js.map +1 -1
- package/dist/commonjs/models/operations/listbudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/listbudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbudgets.js +4 -0
- package/dist/commonjs/models/operations/listbudgets.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/models/operations/setapikeybudget.d.ts +2 -0
- package/dist/commonjs/models/operations/setapikeybudget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/setapikeybudget.js +4 -0
- package/dist/commonjs/models/operations/setapikeybudget.js.map +1 -1
- package/dist/commonjs/models/operations/setorgbudget.d.ts +2 -0
- package/dist/commonjs/models/operations/setorgbudget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/setorgbudget.js +4 -0
- package/dist/commonjs/models/operations/setorgbudget.js.map +1 -1
- package/dist/commonjs/react-query/budgetsApiKeyEvents.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsApiKeyEvents.js +2 -2
- package/dist/commonjs/react-query/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/commonjs/react-query/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/react-query/budgetsGetApiKey.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsGetApiKey.js +2 -2
- package/dist/commonjs/react-query/budgetsList.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsList.js +2 -2
- package/dist/commonjs/react-query/budgetsSetApiKey.d.ts +1 -1
- package/dist/commonjs/react-query/budgetsSetApiKey.js +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/budgets.d.ts +5 -5
- package/dist/commonjs/sdk/budgets.js +5 -5
- package/dist/commonjs/sdk/conversations.d.ts +2 -2
- package/dist/commonjs/sdk/conversations.d.ts.map +1 -1
- package/dist/esm/funcs/budgetsApiKeyEvents.d.ts +1 -1
- package/dist/esm/funcs/budgetsApiKeyEvents.js +1 -1
- package/dist/esm/funcs/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/funcs/budgetsGetApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsGetApiKey.js +1 -1
- package/dist/esm/funcs/budgetsList.d.ts +1 -1
- package/dist/esm/funcs/budgetsList.js +1 -1
- package/dist/esm/funcs/budgetsSetApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsSetApiKey.js +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/mcp-server/tools/budgetsApiKeyEvents.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsApiKeyEvents.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsDeleteApiKey.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsGetApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsGetApiKey.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsList.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsSetApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsSetApiKey.js.map +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/getapikeybudgets.d.ts +2 -0
- package/dist/esm/models/operations/getapikeybudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/getapikeybudgets.js +4 -0
- package/dist/esm/models/operations/getapikeybudgets.js.map +1 -1
- package/dist/esm/models/operations/getorgbudgets.d.ts +2 -0
- package/dist/esm/models/operations/getorgbudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/getorgbudgets.js +4 -0
- package/dist/esm/models/operations/getorgbudgets.js.map +1 -1
- package/dist/esm/models/operations/listbudgets.d.ts +2 -0
- package/dist/esm/models/operations/listbudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/listbudgets.js +4 -0
- package/dist/esm/models/operations/listbudgets.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/models/operations/setapikeybudget.d.ts +2 -0
- package/dist/esm/models/operations/setapikeybudget.d.ts.map +1 -1
- package/dist/esm/models/operations/setapikeybudget.js +4 -0
- package/dist/esm/models/operations/setapikeybudget.js.map +1 -1
- package/dist/esm/models/operations/setorgbudget.d.ts +2 -0
- package/dist/esm/models/operations/setorgbudget.d.ts.map +1 -1
- package/dist/esm/models/operations/setorgbudget.js +4 -0
- package/dist/esm/models/operations/setorgbudget.js.map +1 -1
- package/dist/esm/react-query/budgetsApiKeyEvents.d.ts +2 -2
- package/dist/esm/react-query/budgetsApiKeyEvents.js +2 -2
- package/dist/esm/react-query/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/esm/react-query/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/react-query/budgetsGetApiKey.d.ts +2 -2
- package/dist/esm/react-query/budgetsGetApiKey.js +2 -2
- package/dist/esm/react-query/budgetsList.d.ts +2 -2
- package/dist/esm/react-query/budgetsList.js +2 -2
- package/dist/esm/react-query/budgetsSetApiKey.d.ts +1 -1
- package/dist/esm/react-query/budgetsSetApiKey.js +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/budgets.d.ts +5 -5
- package/dist/esm/sdk/budgets.js +5 -5
- 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/budgetsApiKeyEvents.ts +1 -1
- package/src/funcs/budgetsDeleteApiKey.ts +1 -1
- package/src/funcs/budgetsGetApiKey.ts +1 -1
- package/src/funcs/budgetsList.ts +1 -1
- package/src/funcs/budgetsSetApiKey.ts +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/mcp-server/tools/budgetsApiKeyEvents.ts +1 -1
- package/src/mcp-server/tools/budgetsDeleteApiKey.ts +1 -1
- package/src/mcp-server/tools/budgetsGetApiKey.ts +1 -1
- package/src/mcp-server/tools/budgetsList.ts +1 -1
- package/src/mcp-server/tools/budgetsSetApiKey.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/getapikeybudgets.ts +6 -0
- package/src/models/operations/getorgbudgets.ts +6 -0
- package/src/models/operations/listbudgets.ts +6 -0
- package/src/models/operations/listevalsuiteversions.ts +54 -44
- package/src/models/operations/setapikeybudget.ts +6 -0
- package/src/models/operations/setorgbudget.ts +6 -0
- package/src/react-query/budgetsApiKeyEvents.ts +2 -2
- package/src/react-query/budgetsDeleteApiKey.ts +1 -1
- package/src/react-query/budgetsGetApiKey.ts +2 -2
- package/src/react-query/budgetsList.ts +2 -2
- package/src/react-query/budgetsSetApiKey.ts +1 -1
- package/src/react-query/llmConversationsCreateItems.ts +2 -2
- package/src/react-query/llmConversationsListItems.core.ts +2 -2
- package/src/sdk/budgets.ts +5 -5
- 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
|
@@ -54,7 +54,7 @@ export type BudgetsApiKeyEventsQueryError =
|
|
|
54
54
|
* List apikey budget events
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
|
-
* Returns recent threshold-alert and block events for the scope's budgets.
|
|
57
|
+
* Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
58
58
|
*/
|
|
59
59
|
export function useBudgetsApiKeyEvents(
|
|
60
60
|
request: operations.ListApiKeyBudgetEventsRequest,
|
|
@@ -78,7 +78,7 @@ export function useBudgetsApiKeyEvents(
|
|
|
78
78
|
* List apikey budget events
|
|
79
79
|
*
|
|
80
80
|
* @remarks
|
|
81
|
-
* Returns recent threshold-alert and block events for the scope's budgets.
|
|
81
|
+
* Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
82
82
|
*/
|
|
83
83
|
export function useBudgetsApiKeyEventsSuspense(
|
|
84
84
|
request: operations.ListApiKeyBudgetEventsRequest,
|
|
@@ -48,7 +48,7 @@ export type BudgetsDeleteApiKeyMutationError =
|
|
|
48
48
|
* Delete a apikey budget
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
* Removes the apikey's budget for the given owner; enforcement and alerts stop.
|
|
51
|
+
* Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
52
52
|
*/
|
|
53
53
|
export function useBudgetsDeleteApiKeyMutation(
|
|
54
54
|
options?: MutationHookOptions<
|
|
@@ -54,7 +54,7 @@ export type BudgetsGetApiKeyQueryError =
|
|
|
54
54
|
* List apikey budgets
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
|
-
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.
|
|
57
|
+
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
58
58
|
*/
|
|
59
59
|
export function useBudgetsGetApiKey(
|
|
60
60
|
request: operations.GetApiKeyBudgetsRequest,
|
|
@@ -78,7 +78,7 @@ export function useBudgetsGetApiKey(
|
|
|
78
78
|
* List apikey budgets
|
|
79
79
|
*
|
|
80
80
|
* @remarks
|
|
81
|
-
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.
|
|
81
|
+
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
82
82
|
*/
|
|
83
83
|
export function useBudgetsGetApiKeySuspense(
|
|
84
84
|
request: operations.GetApiKeyBudgetsRequest,
|
|
@@ -49,7 +49,7 @@ export type BudgetsListQueryError =
|
|
|
49
49
|
* List budgets
|
|
50
50
|
*
|
|
51
51
|
* @remarks
|
|
52
|
-
* Cluster admins see all budgets; org admins see their org's budgets.
|
|
52
|
+
* Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.
|
|
53
53
|
*/
|
|
54
54
|
export function useBudgetsList(
|
|
55
55
|
options?: QueryHookOptions<BudgetsListQueryData, BudgetsListQueryError>,
|
|
@@ -68,7 +68,7 @@ export function useBudgetsList(
|
|
|
68
68
|
* List budgets
|
|
69
69
|
*
|
|
70
70
|
* @remarks
|
|
71
|
-
* Cluster admins see all budgets; org admins see their org's budgets.
|
|
71
|
+
* Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.
|
|
72
72
|
*/
|
|
73
73
|
export function useBudgetsListSuspense(
|
|
74
74
|
options?: SuspenseQueryHookOptions<
|
|
@@ -48,7 +48,7 @@ export type BudgetsSetApiKeyMutationError =
|
|
|
48
48
|
* Set a apikey budget
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.
|
|
51
|
+
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
52
52
|
*/
|
|
53
53
|
export function useBudgetsSetApiKeyMutation(
|
|
54
54
|
options?: MutationHookOptions<
|
|
@@ -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/budgets.ts
CHANGED
|
@@ -22,7 +22,7 @@ export class Budgets extends ClientSDK {
|
|
|
22
22
|
* List budgets
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Cluster admins see all budgets; org admins see their org's budgets.
|
|
25
|
+
* Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.
|
|
26
26
|
*/
|
|
27
27
|
async list(
|
|
28
28
|
options?: RequestOptions,
|
|
@@ -105,7 +105,7 @@ export class Budgets extends ClientSDK {
|
|
|
105
105
|
* List apikey budgets
|
|
106
106
|
*
|
|
107
107
|
* @remarks
|
|
108
|
-
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.
|
|
108
|
+
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
109
109
|
*/
|
|
110
110
|
async getApiKey(
|
|
111
111
|
request: operations.GetApiKeyBudgetsRequest,
|
|
@@ -122,7 +122,7 @@ export class Budgets extends ClientSDK {
|
|
|
122
122
|
* Set a apikey budget
|
|
123
123
|
*
|
|
124
124
|
* @remarks
|
|
125
|
-
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.
|
|
125
|
+
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
126
126
|
*/
|
|
127
127
|
async setApiKey(
|
|
128
128
|
request: operations.SetApiKeyBudgetRequest,
|
|
@@ -139,7 +139,7 @@ export class Budgets extends ClientSDK {
|
|
|
139
139
|
* Delete a apikey budget
|
|
140
140
|
*
|
|
141
141
|
* @remarks
|
|
142
|
-
* Removes the apikey's budget for the given owner; enforcement and alerts stop.
|
|
142
|
+
* Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
143
143
|
*/
|
|
144
144
|
async deleteApiKey(
|
|
145
145
|
request: operations.DeleteApiKeyBudgetRequest,
|
|
@@ -156,7 +156,7 @@ export class Budgets extends ClientSDK {
|
|
|
156
156
|
* List apikey budget events
|
|
157
157
|
*
|
|
158
158
|
* @remarks
|
|
159
|
-
* Returns recent threshold-alert and block events for the scope's budgets.
|
|
159
|
+
* Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
160
160
|
*/
|
|
161
161
|
async apiKeyEvents(
|
|
162
162
|
request: operations.ListApiKeyBudgetEventsRequest,
|
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":"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,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,MAAM,EAGP,MAAM,aAAa,CAAC;AAErB;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/E;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;I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AgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,4BAA4B,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAalB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.InputMessageWithId$outboundSchema = exports.InputMessageWithId$inboundSchema = exports.InputMessageWithIdContent$outboundSchema = exports.InputMessageWithIdContent$inboundSchema = exports.InputMessageWithIdRole$outboundSchema = exports.InputMessageWithIdRole$inboundSchema = exports.InputMessageWithIdRole = void 0;
|
|
40
|
-
exports.inputMessageWithIdContentToJSON = inputMessageWithIdContentToJSON;
|
|
41
|
-
exports.inputMessageWithIdContentFromJSON = inputMessageWithIdContentFromJSON;
|
|
42
|
-
exports.inputMessageWithIdToJSON = inputMessageWithIdToJSON;
|
|
43
|
-
exports.inputMessageWithIdFromJSON = inputMessageWithIdFromJSON;
|
|
44
|
-
const z = __importStar(require("zod/v3"));
|
|
45
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
46
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
47
|
-
const inputmessagecontent_js_1 = require("./inputmessagecontent.js");
|
|
48
|
-
const status_js_1 = require("./status.js");
|
|
49
|
-
/**
|
|
50
|
-
* The role of the message sender (user, assistant, system, or developer).
|
|
51
|
-
*/
|
|
52
|
-
exports.InputMessageWithIdRole = {
|
|
53
|
-
User: "user",
|
|
54
|
-
Assistant: "assistant",
|
|
55
|
-
System: "system",
|
|
56
|
-
Developer: "developer",
|
|
57
|
-
};
|
|
58
|
-
/** @internal */
|
|
59
|
-
exports.InputMessageWithIdRole$inboundSchema = z.nativeEnum(exports.InputMessageWithIdRole);
|
|
60
|
-
/** @internal */
|
|
61
|
-
exports.InputMessageWithIdRole$outboundSchema = exports.InputMessageWithIdRole$inboundSchema;
|
|
62
|
-
/** @internal */
|
|
63
|
-
exports.InputMessageWithIdContent$inboundSchema = z.union([z.string(), z.array(inputmessagecontent_js_1.InputMessageContent$inboundSchema)]);
|
|
64
|
-
/** @internal */
|
|
65
|
-
exports.InputMessageWithIdContent$outboundSchema = z.union([z.string(), z.array(inputmessagecontent_js_1.InputMessageContent$outboundSchema)]);
|
|
66
|
-
function inputMessageWithIdContentToJSON(inputMessageWithIdContent) {
|
|
67
|
-
return JSON.stringify(exports.InputMessageWithIdContent$outboundSchema.parse(inputMessageWithIdContent));
|
|
68
|
-
}
|
|
69
|
-
function inputMessageWithIdContentFromJSON(jsonString) {
|
|
70
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputMessageWithIdContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputMessageWithIdContent' from JSON`);
|
|
71
|
-
}
|
|
72
|
-
/** @internal */
|
|
73
|
-
exports.InputMessageWithId$inboundSchema = z.object({
|
|
74
|
-
type: z.literal("message").optional(),
|
|
75
|
-
role: exports.InputMessageWithIdRole$inboundSchema,
|
|
76
|
-
content: z.union([z.string(), z.array(inputmessagecontent_js_1.InputMessageContent$inboundSchema)]),
|
|
77
|
-
status: status_js_1.Status$inboundSchema.optional(),
|
|
78
|
-
id: z.string(),
|
|
79
|
-
response_id: z.nullable(z.string()).optional(),
|
|
80
|
-
metadata: z.nullable(z.record(z.string())).optional(),
|
|
81
|
-
}).transform((v) => {
|
|
82
|
-
return (0, primitives_js_1.remap)(v, {
|
|
83
|
-
"response_id": "responseId",
|
|
84
|
-
});
|
|
85
|
-
});
|
|
86
|
-
/** @internal */
|
|
87
|
-
exports.InputMessageWithId$outboundSchema = z.object({
|
|
88
|
-
type: z.literal("message").optional(),
|
|
89
|
-
role: exports.InputMessageWithIdRole$outboundSchema,
|
|
90
|
-
content: z.union([z.string(), z.array(inputmessagecontent_js_1.InputMessageContent$outboundSchema)]),
|
|
91
|
-
status: status_js_1.Status$outboundSchema.optional(),
|
|
92
|
-
id: z.string(),
|
|
93
|
-
responseId: z.nullable(z.string()).optional(),
|
|
94
|
-
metadata: z.nullable(z.record(z.string())).optional(),
|
|
95
|
-
}).transform((v) => {
|
|
96
|
-
return (0, primitives_js_1.remap)(v, {
|
|
97
|
-
responseId: "response_id",
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
function inputMessageWithIdToJSON(inputMessageWithId) {
|
|
101
|
-
return JSON.stringify(exports.InputMessageWithId$outboundSchema.parse(inputMessageWithId));
|
|
102
|
-
}
|
|
103
|
-
function inputMessageWithIdFromJSON(jsonString) {
|
|
104
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InputMessageWithId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InputMessageWithId' from JSON`);
|
|
105
|
-
}
|
|
106
|
-
//# sourceMappingURL=inputmessagewithid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inputmessagewithid.js","sourceRoot":"","sources":["../../../../src/models/components/inputmessagewithid.ts"],"names":[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,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AACD,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { ItemWithId, ItemWithId$Outbound } from "./itemwithid.js";
|
|
5
|
-
export type ItemListObject = {
|
|
6
|
-
object?: "list" | undefined;
|
|
7
|
-
/**
|
|
8
|
-
* A list of conversation items.
|
|
9
|
-
*/
|
|
10
|
-
data: Array<ItemWithId>;
|
|
11
|
-
/**
|
|
12
|
-
* Whether there are more items
|
|
13
|
-
*/
|
|
14
|
-
hasMore: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* ID of the last item in the current page
|
|
17
|
-
*/
|
|
18
|
-
lastId: string;
|
|
19
|
-
};
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const ItemListObject$inboundSchema: z.ZodType<ItemListObject, z.ZodTypeDef, unknown>;
|
|
22
|
-
/** @internal */
|
|
23
|
-
export type ItemListObject$Outbound = {
|
|
24
|
-
object?: "list" | undefined;
|
|
25
|
-
data: Array<ItemWithId$Outbound>;
|
|
26
|
-
has_more: boolean;
|
|
27
|
-
last_id: string;
|
|
28
|
-
};
|
|
29
|
-
/** @internal */
|
|
30
|
-
export declare const ItemListObject$outboundSchema: z.ZodType<ItemListObject$Outbound, z.ZodTypeDef, ItemListObject>;
|
|
31
|
-
export declare function itemListObjectToJSON(itemListObject: ItemListObject): string;
|
|
32
|
-
export declare function itemListObjectFromJSON(jsonString: string): SafeParseResult<ItemListObject, SDKValidationError>;
|
|
33
|
-
//# sourceMappingURL=itemlistobject.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"itemlistobject.d.ts","sourceRoot":"","sources":["../../../../src/models/components/itemlistobject.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IACxB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAWd,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AACD,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"itemlistobject.js","sourceRoot":"","sources":["../../../../src/models/components/itemlistobject.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEH,oDAEC;AACD,wDAQC;AAhFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,mDAKyB;AAkBzB,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE;IACpC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,wCAAwB,CAAC;IACvC,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,SAAS,EAAE,QAAQ;KACpB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE;IACpC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,yCAAyB,CAAC;IACxC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,UAAU;QACnB,MAAM,EAAE,SAAS;KAClB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { CodeInterpreterToolCallWithId, CodeInterpreterToolCallWithId$Outbound } from "./codeinterpretertoolcallwithid.js";
|
|
5
|
-
import { ComputerToolCallOutputWithId, ComputerToolCallOutputWithId$Outbound } from "./computertoolcalloutputwithid.js";
|
|
6
|
-
import { ComputerToolCallWithId, ComputerToolCallWithId$Outbound } from "./computertoolcallwithid.js";
|
|
7
|
-
import { CustomToolCallOutputWithId, CustomToolCallOutputWithId$Outbound } from "./customtoolcalloutputwithid.js";
|
|
8
|
-
import { CustomToolCallWithId, CustomToolCallWithId$Outbound } from "./customtoolcallwithid.js";
|
|
9
|
-
import { FileSearchToolCallWithId, FileSearchToolCallWithId$Outbound } from "./filesearchtoolcallwithid.js";
|
|
10
|
-
import { FunctionToolCallOutputWithId, FunctionToolCallOutputWithId$Outbound } from "./functiontoolcalloutputwithid.js";
|
|
11
|
-
import { FunctionToolCallWithId, FunctionToolCallWithId$Outbound } from "./functiontoolcallwithid.js";
|
|
12
|
-
import { ImageGenerationCallWithId, ImageGenerationCallWithId$Outbound } from "./imagegenerationcallwithid.js";
|
|
13
|
-
import { InputMessageWithId, InputMessageWithId$Outbound } from "./inputmessagewithid.js";
|
|
14
|
-
import { ItemReferenceWithId, ItemReferenceWithId$Outbound } from "./itemreferencewithid.js";
|
|
15
|
-
import { LocalShellCallOutputWithId, LocalShellCallOutputWithId$Outbound } from "./localshellcalloutputwithid.js";
|
|
16
|
-
import { LocalShellCallWithId, LocalShellCallWithId$Outbound } from "./localshellcallwithid.js";
|
|
17
|
-
import { MCPApprovalRequestWithId, MCPApprovalRequestWithId$Outbound } from "./mcpapprovalrequestwithid.js";
|
|
18
|
-
import { MCPApprovalResponseWithId, MCPApprovalResponseWithId$Outbound } from "./mcpapprovalresponsewithid.js";
|
|
19
|
-
import { MCPListToolsWithId, MCPListToolsWithId$Outbound } from "./mcplisttoolswithid.js";
|
|
20
|
-
import { MCPToolCallWithId, MCPToolCallWithId$Outbound } from "./mcptoolcallwithid.js";
|
|
21
|
-
import { OutputAudioItemWithId, OutputAudioItemWithId$Outbound } from "./outputaudioitemwithid.js";
|
|
22
|
-
import { OutputMessageWithId, OutputMessageWithId$Outbound } from "./outputmessagewithid.js";
|
|
23
|
-
import { ReasoningWithId, ReasoningWithId$Outbound } from "./reasoningwithid.js";
|
|
24
|
-
import { ResponseCompactionItemWithId, ResponseCompactionItemWithId$Outbound } from "./responsecompactionitemwithid.js";
|
|
25
|
-
import { ShellCallOutputWithId, ShellCallOutputWithId$Outbound } from "./shellcalloutputwithid.js";
|
|
26
|
-
import { ShellCallWithId, ShellCallWithId$Outbound } from "./shellcallwithid.js";
|
|
27
|
-
import { WebSearchToolCallWithId, WebSearchToolCallWithId$Outbound } from "./websearchtoolcallwithid.js";
|
|
28
|
-
export type ItemWithId = ComputerToolCallWithId | CodeInterpreterToolCallWithId | OutputMessageWithId | OutputAudioItemWithId | FunctionToolCallWithId | LocalShellCallWithId | ShellCallWithId | MCPApprovalRequestWithId | MCPToolCallWithId | CustomToolCallWithId | FileSearchToolCallWithId | ComputerToolCallOutputWithId | WebSearchToolCallWithId | FunctionToolCallOutputWithId | ImageGenerationCallWithId | ShellCallOutputWithId | MCPListToolsWithId | MCPApprovalResponseWithId | CustomToolCallOutputWithId | InputMessageWithId | ReasoningWithId | LocalShellCallOutputWithId | ResponseCompactionItemWithId | ItemReferenceWithId;
|
|
29
|
-
/** @internal */
|
|
30
|
-
export declare const ItemWithId$inboundSchema: z.ZodType<ItemWithId, z.ZodTypeDef, unknown>;
|
|
31
|
-
/** @internal */
|
|
32
|
-
export type ItemWithId$Outbound = ComputerToolCallWithId$Outbound | CodeInterpreterToolCallWithId$Outbound | OutputMessageWithId$Outbound | OutputAudioItemWithId$Outbound | FunctionToolCallWithId$Outbound | LocalShellCallWithId$Outbound | ShellCallWithId$Outbound | MCPApprovalRequestWithId$Outbound | MCPToolCallWithId$Outbound | CustomToolCallWithId$Outbound | FileSearchToolCallWithId$Outbound | ComputerToolCallOutputWithId$Outbound | WebSearchToolCallWithId$Outbound | FunctionToolCallOutputWithId$Outbound | ImageGenerationCallWithId$Outbound | ShellCallOutputWithId$Outbound | MCPListToolsWithId$Outbound | MCPApprovalResponseWithId$Outbound | CustomToolCallOutputWithId$Outbound | InputMessageWithId$Outbound | ReasoningWithId$Outbound | LocalShellCallOutputWithId$Outbound | ResponseCompactionItemWithId$Outbound | ItemReferenceWithId$Outbound;
|
|
33
|
-
/** @internal */
|
|
34
|
-
export declare const ItemWithId$outboundSchema: z.ZodType<ItemWithId$Outbound, z.ZodTypeDef, ItemWithId>;
|
|
35
|
-
export declare function itemWithIdToJSON(itemWithId: ItemWithId): string;
|
|
36
|
-
export declare function itemWithIdFromJSON(jsonString: string): SafeParseResult<ItemWithId, SDKValidationError>;
|
|
37
|
-
//# sourceMappingURL=itemwithid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"itemwithid.d.ts","sourceRoot":"","sources":["../../../../src/models/components/itemwithid.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM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,UAAU,EACZ,OAAO,CA0BP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,mBAAmB,GAC3B,+BAA+B,GAC/B,sCAAsC,GACtC,4BAA4B,GAC5B,8BAA8B,GAC9B,+BAA+B,GAC/B,6BAA6B,GAC7B,wBAAwB,GACxB,iCAAiC,GACjC,0BAA0B,GAC1B,6BAA6B,GAC7B,iCAAiC,GACjC,qCAAqC,GACrC,gCAAgC,GAChC,qCAAqC,GACrC,kCAAkC,GAClC,8BAA8B,GAC9B,2BAA2B,GAC3B,kCAAkC,GAClC,mCAAmC,GACnC,2BAA2B,GAC3B,wBAAwB,GACxB,mCAAmC,GACnC,qCAAqC,GACrC,4BAA4B,CAAC;AAEjC,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,UAAU,CA0BV,CAAC;AAEH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAE/D;AACD,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ItemWithId$outboundSchema = exports.ItemWithId$inboundSchema = void 0;
|
|
40
|
-
exports.itemWithIdToJSON = itemWithIdToJSON;
|
|
41
|
-
exports.itemWithIdFromJSON = itemWithIdFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
const codeinterpretertoolcallwithid_js_1 = require("./codeinterpretertoolcallwithid.js");
|
|
45
|
-
const computertoolcalloutputwithid_js_1 = require("./computertoolcalloutputwithid.js");
|
|
46
|
-
const computertoolcallwithid_js_1 = require("./computertoolcallwithid.js");
|
|
47
|
-
const customtoolcalloutputwithid_js_1 = require("./customtoolcalloutputwithid.js");
|
|
48
|
-
const customtoolcallwithid_js_1 = require("./customtoolcallwithid.js");
|
|
49
|
-
const filesearchtoolcallwithid_js_1 = require("./filesearchtoolcallwithid.js");
|
|
50
|
-
const functiontoolcalloutputwithid_js_1 = require("./functiontoolcalloutputwithid.js");
|
|
51
|
-
const functiontoolcallwithid_js_1 = require("./functiontoolcallwithid.js");
|
|
52
|
-
const imagegenerationcallwithid_js_1 = require("./imagegenerationcallwithid.js");
|
|
53
|
-
const inputmessagewithid_js_1 = require("./inputmessagewithid.js");
|
|
54
|
-
const itemreferencewithid_js_1 = require("./itemreferencewithid.js");
|
|
55
|
-
const localshellcalloutputwithid_js_1 = require("./localshellcalloutputwithid.js");
|
|
56
|
-
const localshellcallwithid_js_1 = require("./localshellcallwithid.js");
|
|
57
|
-
const mcpapprovalrequestwithid_js_1 = require("./mcpapprovalrequestwithid.js");
|
|
58
|
-
const mcpapprovalresponsewithid_js_1 = require("./mcpapprovalresponsewithid.js");
|
|
59
|
-
const mcplisttoolswithid_js_1 = require("./mcplisttoolswithid.js");
|
|
60
|
-
const mcptoolcallwithid_js_1 = require("./mcptoolcallwithid.js");
|
|
61
|
-
const outputaudioitemwithid_js_1 = require("./outputaudioitemwithid.js");
|
|
62
|
-
const outputmessagewithid_js_1 = require("./outputmessagewithid.js");
|
|
63
|
-
const reasoningwithid_js_1 = require("./reasoningwithid.js");
|
|
64
|
-
const responsecompactionitemwithid_js_1 = require("./responsecompactionitemwithid.js");
|
|
65
|
-
const shellcalloutputwithid_js_1 = require("./shellcalloutputwithid.js");
|
|
66
|
-
const shellcallwithid_js_1 = require("./shellcallwithid.js");
|
|
67
|
-
const websearchtoolcallwithid_js_1 = require("./websearchtoolcallwithid.js");
|
|
68
|
-
/** @internal */
|
|
69
|
-
exports.ItemWithId$inboundSchema = z.union([
|
|
70
|
-
computertoolcallwithid_js_1.ComputerToolCallWithId$inboundSchema,
|
|
71
|
-
codeinterpretertoolcallwithid_js_1.CodeInterpreterToolCallWithId$inboundSchema,
|
|
72
|
-
outputmessagewithid_js_1.OutputMessageWithId$inboundSchema,
|
|
73
|
-
outputaudioitemwithid_js_1.OutputAudioItemWithId$inboundSchema,
|
|
74
|
-
functiontoolcallwithid_js_1.FunctionToolCallWithId$inboundSchema,
|
|
75
|
-
localshellcallwithid_js_1.LocalShellCallWithId$inboundSchema,
|
|
76
|
-
shellcallwithid_js_1.ShellCallWithId$inboundSchema,
|
|
77
|
-
mcpapprovalrequestwithid_js_1.MCPApprovalRequestWithId$inboundSchema,
|
|
78
|
-
mcptoolcallwithid_js_1.MCPToolCallWithId$inboundSchema,
|
|
79
|
-
customtoolcallwithid_js_1.CustomToolCallWithId$inboundSchema,
|
|
80
|
-
filesearchtoolcallwithid_js_1.FileSearchToolCallWithId$inboundSchema,
|
|
81
|
-
computertoolcalloutputwithid_js_1.ComputerToolCallOutputWithId$inboundSchema,
|
|
82
|
-
websearchtoolcallwithid_js_1.WebSearchToolCallWithId$inboundSchema,
|
|
83
|
-
functiontoolcalloutputwithid_js_1.FunctionToolCallOutputWithId$inboundSchema,
|
|
84
|
-
imagegenerationcallwithid_js_1.ImageGenerationCallWithId$inboundSchema,
|
|
85
|
-
shellcalloutputwithid_js_1.ShellCallOutputWithId$inboundSchema,
|
|
86
|
-
mcplisttoolswithid_js_1.MCPListToolsWithId$inboundSchema,
|
|
87
|
-
mcpapprovalresponsewithid_js_1.MCPApprovalResponseWithId$inboundSchema,
|
|
88
|
-
customtoolcalloutputwithid_js_1.CustomToolCallOutputWithId$inboundSchema,
|
|
89
|
-
inputmessagewithid_js_1.InputMessageWithId$inboundSchema,
|
|
90
|
-
reasoningwithid_js_1.ReasoningWithId$inboundSchema,
|
|
91
|
-
localshellcalloutputwithid_js_1.LocalShellCallOutputWithId$inboundSchema,
|
|
92
|
-
responsecompactionitemwithid_js_1.ResponseCompactionItemWithId$inboundSchema,
|
|
93
|
-
itemreferencewithid_js_1.ItemReferenceWithId$inboundSchema,
|
|
94
|
-
]);
|
|
95
|
-
/** @internal */
|
|
96
|
-
exports.ItemWithId$outboundSchema = z.union([
|
|
97
|
-
computertoolcallwithid_js_1.ComputerToolCallWithId$outboundSchema,
|
|
98
|
-
codeinterpretertoolcallwithid_js_1.CodeInterpreterToolCallWithId$outboundSchema,
|
|
99
|
-
outputmessagewithid_js_1.OutputMessageWithId$outboundSchema,
|
|
100
|
-
outputaudioitemwithid_js_1.OutputAudioItemWithId$outboundSchema,
|
|
101
|
-
functiontoolcallwithid_js_1.FunctionToolCallWithId$outboundSchema,
|
|
102
|
-
localshellcallwithid_js_1.LocalShellCallWithId$outboundSchema,
|
|
103
|
-
shellcallwithid_js_1.ShellCallWithId$outboundSchema,
|
|
104
|
-
mcpapprovalrequestwithid_js_1.MCPApprovalRequestWithId$outboundSchema,
|
|
105
|
-
mcptoolcallwithid_js_1.MCPToolCallWithId$outboundSchema,
|
|
106
|
-
customtoolcallwithid_js_1.CustomToolCallWithId$outboundSchema,
|
|
107
|
-
filesearchtoolcallwithid_js_1.FileSearchToolCallWithId$outboundSchema,
|
|
108
|
-
computertoolcalloutputwithid_js_1.ComputerToolCallOutputWithId$outboundSchema,
|
|
109
|
-
websearchtoolcallwithid_js_1.WebSearchToolCallWithId$outboundSchema,
|
|
110
|
-
functiontoolcalloutputwithid_js_1.FunctionToolCallOutputWithId$outboundSchema,
|
|
111
|
-
imagegenerationcallwithid_js_1.ImageGenerationCallWithId$outboundSchema,
|
|
112
|
-
shellcalloutputwithid_js_1.ShellCallOutputWithId$outboundSchema,
|
|
113
|
-
mcplisttoolswithid_js_1.MCPListToolsWithId$outboundSchema,
|
|
114
|
-
mcpapprovalresponsewithid_js_1.MCPApprovalResponseWithId$outboundSchema,
|
|
115
|
-
customtoolcalloutputwithid_js_1.CustomToolCallOutputWithId$outboundSchema,
|
|
116
|
-
inputmessagewithid_js_1.InputMessageWithId$outboundSchema,
|
|
117
|
-
reasoningwithid_js_1.ReasoningWithId$outboundSchema,
|
|
118
|
-
localshellcalloutputwithid_js_1.LocalShellCallOutputWithId$outboundSchema,
|
|
119
|
-
responsecompactionitemwithid_js_1.ResponseCompactionItemWithId$outboundSchema,
|
|
120
|
-
itemreferencewithid_js_1.ItemReferenceWithId$outboundSchema,
|
|
121
|
-
]);
|
|
122
|
-
function itemWithIdToJSON(itemWithId) {
|
|
123
|
-
return JSON.stringify(exports.ItemWithId$outboundSchema.parse(itemWithId));
|
|
124
|
-
}
|
|
125
|
-
function itemWithIdFromJSON(jsonString) {
|
|
126
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ItemWithId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemWithId' from JSON`);
|
|
127
|
-
}
|
|
128
|
-
//# sourceMappingURL=itemwithid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"itemwithid.js","sourceRoot":"","sources":["../../../../src/models/components/itemwithid.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2QH,4CAEC;AACD,gDAQC;AApRD,0CAA4B;AAC5B,qDAAiD;AAGjD,yFAK4C;AAC5C,uFAK2C;AAC3C,2EAKqC;AACrC,mFAKyC;AACzC,uEAKmC;AACnC,+EAKuC;AACvC,uFAK2C;AAC3C,2EAKqC;AACrC,iFAKwC;AACxC,mEAKiC;AACjC,qEAKkC;AAClC,mFAKyC;AACzC,uEAKmC;AACnC,+EAKuC;AACvC,iFAKwC;AACxC,mEAKiC;AACjC,iEAKgC;AAChC,yEAKoC;AACpC,qEAKkC;AAClC,6DAK8B;AAC9B,uFAK2C;AAC3C,yEAKoC;AACpC,6DAK8B;AAC9B,6EAKsC;AA4BtC,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,KAAK,CAAC;IACV,gEAAoC;IACpC,8EAA2C;IAC3C,0DAAiC;IACjC,8DAAmC;IACnC,gEAAoC;IACpC,4DAAkC;IAClC,kDAA6B;IAC7B,oEAAsC;IACtC,sDAA+B;IAC/B,4DAAkC;IAClC,oEAAsC;IACtC,4EAA0C;IAC1C,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