@meetkai/mka1 0.54.6 → 0.54.8
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/README.md +302 -275
- package/bin/mcp-server.js +3943 -2309
- package/bin/mcp-server.js.map +78 -43
- package/dist/commonjs/funcs/computePricingGetPricing.d.ts +19 -0
- package/dist/commonjs/funcs/computePricingGetPricing.d.ts.map +1 -0
- package/dist/commonjs/funcs/computePricingGetPricing.js +135 -0
- package/dist/commonjs/funcs/computePricingGetPricing.js.map +1 -0
- package/dist/commonjs/funcs/computePricingPutPricing.d.ts +19 -0
- package/dist/commonjs/funcs/computePricingPutPricing.d.ts.map +1 -0
- package/dist/commonjs/funcs/computePricingPutPricing.js +143 -0
- package/dist/commonjs/funcs/computePricingPutPricing.js.map +1 -0
- package/dist/commonjs/funcs/computeVolumesCreateStandaloneVolume.d.ts +16 -0
- package/dist/commonjs/funcs/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
- package/dist/commonjs/funcs/computeVolumesCreateStandaloneVolume.js +128 -0
- package/dist/commonjs/funcs/computeVolumesCreateStandaloneVolume.js.map +1 -0
- package/dist/commonjs/funcs/computeVolumesDeleteStandaloneVolume.d.ts +19 -0
- package/dist/commonjs/funcs/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
- package/dist/commonjs/funcs/computeVolumesDeleteStandaloneVolume.js +133 -0
- package/dist/commonjs/funcs/computeVolumesDeleteStandaloneVolume.js.map +1 -0
- package/dist/commonjs/funcs/computeVolumesGetStandaloneVolume.d.ts +16 -0
- package/dist/commonjs/funcs/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
- package/dist/commonjs/funcs/computeVolumesGetStandaloneVolume.js +130 -0
- package/dist/commonjs/funcs/computeVolumesGetStandaloneVolume.js.map +1 -0
- package/dist/commonjs/funcs/computeVolumesListStandaloneVolumeAttachments.d.ts +16 -0
- package/dist/commonjs/funcs/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
- package/dist/commonjs/funcs/computeVolumesListStandaloneVolumeAttachments.js +136 -0
- package/dist/commonjs/funcs/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
- package/dist/commonjs/funcs/computeVolumesListStandaloneVolumes.d.ts +16 -0
- package/dist/commonjs/funcs/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
- package/dist/commonjs/funcs/computeVolumesListStandaloneVolumes.js +130 -0
- package/dist/commonjs/funcs/computeVolumesListStandaloneVolumes.js.map +1 -0
- package/dist/commonjs/hooks/multipartFilename.d.ts +12 -0
- package/dist/commonjs/hooks/multipartFilename.d.ts.map +1 -0
- package/dist/commonjs/hooks/multipartFilename.js +50 -0
- package/dist/commonjs/hooks/multipartFilename.js.map +1 -0
- package/dist/commonjs/hooks/registration.d.ts.map +1 -1
- package/dist/commonjs/hooks/registration.js +2 -1
- package/dist/commonjs/hooks/registration.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +15 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/computePricingGetPricing.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/computePricingGetPricing.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/computePricingGetPricing.js +64 -0
- package/dist/commonjs/mcp-server/tools/computePricingGetPricing.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/computePricingPutPricing.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/computePricingPutPricing.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/computePricingPutPricing.js +64 -0
- package/dist/commonjs/mcp-server/tools/computePricingPutPricing.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesCreateStandaloneVolume.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesCreateStandaloneVolume.js +62 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesCreateStandaloneVolume.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesDeleteStandaloneVolume.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesDeleteStandaloneVolume.js +64 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesDeleteStandaloneVolume.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesGetStandaloneVolume.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesGetStandaloneVolume.js +62 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesGetStandaloneVolume.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.js +62 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumes.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumes.js +62 -0
- package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumes.js.map +1 -0
- package/dist/commonjs/models/components/agentschedulespec.d.ts +2 -1
- package/dist/commonjs/models/components/agentschedulespec.d.ts.map +1 -1
- package/dist/commonjs/models/components/agentschedulespec.js +6 -5
- package/dist/commonjs/models/components/agentschedulespec.js.map +1 -1
- package/dist/commonjs/models/components/chunkingstrategy.d.ts +2 -1
- package/dist/commonjs/models/components/chunkingstrategy.d.ts.map +1 -1
- package/dist/commonjs/models/components/chunkingstrategy.js +6 -5
- package/dist/commonjs/models/components/chunkingstrategy.js.map +1 -1
- package/dist/commonjs/models/components/codeinterpreteroutput.d.ts +2 -1
- package/dist/commonjs/models/components/codeinterpreteroutput.d.ts.map +1 -1
- package/dist/commonjs/models/components/codeinterpreteroutput.js +5 -4
- package/dist/commonjs/models/components/codeinterpreteroutput.js.map +1 -1
- package/dist/commonjs/models/components/computejob.d.ts +3 -0
- package/dist/commonjs/models/components/computejob.d.ts.map +1 -1
- package/dist/commonjs/models/components/computejob.js +3 -0
- package/dist/commonjs/models/components/computejob.js.map +1 -1
- package/dist/commonjs/models/components/computejobcreate.d.ts +3 -0
- package/dist/commonjs/models/components/computejobcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/computejobcreate.js +3 -0
- package/dist/commonjs/models/components/computejobcreate.js.map +1 -1
- package/dist/commonjs/models/components/computeoffer.d.ts +2 -0
- package/dist/commonjs/models/components/computeoffer.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeoffer.js +4 -0
- package/dist/commonjs/models/components/computeoffer.js.map +1 -1
- package/dist/commonjs/models/components/computepricing.d.ts +24 -0
- package/dist/commonjs/models/components/computepricing.d.ts.map +1 -0
- package/dist/commonjs/models/components/computepricing.js +73 -0
- package/dist/commonjs/models/components/computepricing.js.map +1 -0
- package/dist/commonjs/models/components/computepricingupdate.d.ts +20 -0
- package/dist/commonjs/models/components/computepricingupdate.d.ts.map +1 -0
- package/dist/commonjs/models/components/computepricingupdate.js +67 -0
- package/dist/commonjs/models/components/computepricingupdate.js.map +1 -0
- package/dist/commonjs/models/components/computeraction.d.ts +2 -1
- package/dist/commonjs/models/components/computeraction.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeraction.js +12 -11
- package/dist/commonjs/models/components/computeraction.js.map +1 -1
- package/dist/commonjs/models/components/computeresourcecreate.d.ts +3 -0
- package/dist/commonjs/models/components/computeresourcecreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeresourcecreate.js +3 -0
- package/dist/commonjs/models/components/computeresourcecreate.js.map +1 -1
- package/dist/commonjs/models/components/computeservice.d.ts +3 -0
- package/dist/commonjs/models/components/computeservice.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeservice.js +3 -0
- package/dist/commonjs/models/components/computeservice.js.map +1 -1
- package/dist/commonjs/models/components/computestandalonevolume.d.ts +47 -0
- package/dist/commonjs/models/components/computestandalonevolume.d.ts.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolume.js +117 -0
- package/dist/commonjs/models/components/computestandalonevolume.js.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachment.d.ts +34 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachment.d.ts.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachment.js +94 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachment.js.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachmentlist.d.ts +22 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachmentlist.d.ts.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachmentlist.js +72 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachmentlist.js.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachmentstate.d.ts +16 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachmentstate.d.ts.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachmentstate.js +53 -0
- package/dist/commonjs/models/components/computestandalonevolumeattachmentstate.js.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumecreate.d.ts +17 -0
- package/dist/commonjs/models/components/computestandalonevolumecreate.d.ts.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumecreate.js +58 -0
- package/dist/commonjs/models/components/computestandalonevolumecreate.js.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumelist.d.ts +22 -0
- package/dist/commonjs/models/components/computestandalonevolumelist.d.ts.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumelist.js +72 -0
- package/dist/commonjs/models/components/computestandalonevolumelist.js.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumemount.d.ts +19 -0
- package/dist/commonjs/models/components/computestandalonevolumemount.d.ts.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumemount.js +71 -0
- package/dist/commonjs/models/components/computestandalonevolumemount.js.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumestate.d.ts +15 -0
- package/dist/commonjs/models/components/computestandalonevolumestate.d.ts.map +1 -0
- package/dist/commonjs/models/components/computestandalonevolumestate.js +52 -0
- package/dist/commonjs/models/components/computestandalonevolumestate.js.map +1 -0
- package/dist/commonjs/models/components/computetenant.d.ts +2 -0
- package/dist/commonjs/models/components/computetenant.d.ts.map +1 -1
- package/dist/commonjs/models/components/computetenant.js +4 -0
- package/dist/commonjs/models/components/computetenant.js.map +1 -1
- package/dist/commonjs/models/components/computetenantupdate.d.ts +2 -0
- package/dist/commonjs/models/components/computetenantupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/computetenantupdate.js +4 -0
- package/dist/commonjs/models/components/computetenantupdate.js.map +1 -1
- package/dist/commonjs/models/components/computeusage.d.ts +76 -2
- package/dist/commonjs/models/components/computeusage.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeusage.js +68 -6
- package/dist/commonjs/models/components/computeusage.js.map +1 -1
- package/dist/commonjs/models/components/computeusageresourcetype.d.ts +13 -0
- package/dist/commonjs/models/components/computeusageresourcetype.d.ts.map +1 -0
- package/dist/commonjs/models/components/computeusageresourcetype.js +50 -0
- package/dist/commonjs/models/components/computeusageresourcetype.js.map +1 -0
- package/dist/commonjs/models/components/customtoolformat.d.ts +2 -1
- package/dist/commonjs/models/components/customtoolformat.d.ts.map +1 -1
- package/dist/commonjs/models/components/customtoolformat.js +5 -1
- package/dist/commonjs/models/components/customtoolformat.js.map +1 -1
- package/dist/commonjs/models/components/filesearchcompoundfilter.d.ts +3 -2
- package/dist/commonjs/models/components/filesearchcompoundfilter.d.ts.map +1 -1
- package/dist/commonjs/models/components/filesearchcompoundfilter.js +21 -20
- package/dist/commonjs/models/components/filesearchcompoundfilter.js.map +1 -1
- package/dist/commonjs/models/components/guardrailconfig.d.ts +2 -1
- package/dist/commonjs/models/components/guardrailconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/guardrailconfig.js +6 -5
- package/dist/commonjs/models/components/guardrailconfig.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +11 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +11 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/method.d.ts +6 -5
- package/dist/commonjs/models/components/method.d.ts.map +1 -1
- package/dist/commonjs/models/components/method.js +36 -35
- package/dist/commonjs/models/components/method.js.map +1 -1
- package/dist/commonjs/models/components/openaichatcompletionchoice.d.ts +4 -3
- package/dist/commonjs/models/components/openaichatcompletionchoice.d.ts.map +1 -1
- package/dist/commonjs/models/components/openaichatcompletionchoice.js +19 -18
- package/dist/commonjs/models/components/openaichatcompletionchoice.js.map +1 -1
- package/dist/commonjs/models/components/openaichatcompletionchunk.d.ts +4 -3
- package/dist/commonjs/models/components/openaichatcompletionchunk.d.ts.map +1 -1
- package/dist/commonjs/models/components/openaichatcompletionchunk.js +19 -18
- package/dist/commonjs/models/components/openaichatcompletionchunk.js.map +1 -1
- package/dist/commonjs/models/components/outputmessage.d.ts +3 -2
- package/dist/commonjs/models/components/outputmessage.d.ts.map +1 -1
- package/dist/commonjs/models/components/outputmessage.js +9 -8
- package/dist/commonjs/models/components/outputmessage.js.map +1 -1
- package/dist/commonjs/models/components/outputmessagewithid.d.ts +3 -2
- package/dist/commonjs/models/components/outputmessagewithid.d.ts.map +1 -1
- package/dist/commonjs/models/components/outputmessagewithid.js +9 -8
- package/dist/commonjs/models/components/outputmessagewithid.js.map +1 -1
- package/dist/commonjs/models/components/outputtext.d.ts +3 -2
- package/dist/commonjs/models/components/outputtext.d.ts.map +1 -1
- package/dist/commonjs/models/components/outputtext.js +13 -12
- package/dist/commonjs/models/components/outputtext.js.map +1 -1
- package/dist/commonjs/models/components/responsecontentpartaddedevent.d.ts +3 -2
- package/dist/commonjs/models/components/responsecontentpartaddedevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/responsecontentpartaddedevent.js +11 -11
- package/dist/commonjs/models/components/responsecontentpartaddedevent.js.map +1 -1
- package/dist/commonjs/models/components/responsecontentpartdoneevent.d.ts +3 -2
- package/dist/commonjs/models/components/responsecontentpartdoneevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/responsecontentpartdoneevent.js +11 -10
- package/dist/commonjs/models/components/responsecontentpartdoneevent.js.map +1 -1
- package/dist/commonjs/models/components/responseformat.d.ts +2 -1
- package/dist/commonjs/models/components/responseformat.d.ts.map +1 -1
- package/dist/commonjs/models/components/responseformat.js +6 -5
- package/dist/commonjs/models/components/responseformat.js.map +1 -1
- package/dist/commonjs/models/components/responseobject.d.ts +5 -4
- package/dist/commonjs/models/components/responseobject.d.ts.map +1 -1
- package/dist/commonjs/models/components/responseobject.js +41 -40
- package/dist/commonjs/models/components/responseobject.js.map +1 -1
- package/dist/commonjs/models/components/responsestreamingevent.d.ts +2 -1
- package/dist/commonjs/models/components/responsestreamingevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/responsestreamingevent.js +68 -67
- package/dist/commonjs/models/components/responsestreamingevent.js.map +1 -1
- package/dist/commonjs/models/components/shellenvironment.d.ts +2 -1
- package/dist/commonjs/models/components/shellenvironment.d.ts.map +1 -1
- package/dist/commonjs/models/components/shellenvironment.js +5 -4
- package/dist/commonjs/models/components/shellenvironment.js.map +1 -1
- package/dist/commonjs/models/components/skillentry.d.ts +2 -1
- package/dist/commonjs/models/components/skillentry.d.ts.map +1 -1
- package/dist/commonjs/models/components/skillentry.js +5 -4
- package/dist/commonjs/models/components/skillentry.js.map +1 -1
- package/dist/commonjs/models/components/tooldefinition.d.ts +5 -4
- package/dist/commonjs/models/components/tooldefinition.d.ts.map +1 -1
- package/dist/commonjs/models/components/tooldefinition.js +29 -28
- package/dist/commonjs/models/components/tooldefinition.js.map +1 -1
- package/dist/commonjs/models/components/websearchaction.d.ts +2 -1
- package/dist/commonjs/models/components/websearchaction.d.ts.map +1 -1
- package/dist/commonjs/models/components/websearchaction.js +6 -5
- package/dist/commonjs/models/components/websearchaction.js.map +1 -1
- package/dist/commonjs/models/operations/createchatcompletionstream.d.ts +2 -1
- package/dist/commonjs/models/operations/createchatcompletionstream.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createchatcompletionstream.js +6 -5
- package/dist/commonjs/models/operations/createchatcompletionstream.js.map +1 -1
- package/dist/commonjs/models/operations/createstandalonevolume.d.ts +34 -0
- package/dist/commonjs/models/operations/createstandalonevolume.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createstandalonevolume.js +94 -0
- package/dist/commonjs/models/operations/createstandalonevolume.js.map +1 -0
- package/dist/commonjs/models/operations/deletestandalonevolume.d.ts +32 -0
- package/dist/commonjs/models/operations/deletestandalonevolume.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletestandalonevolume.js +88 -0
- package/dist/commonjs/models/operations/deletestandalonevolume.js.map +1 -0
- package/dist/commonjs/models/operations/getcomputeusage.d.ts +7 -1
- package/dist/commonjs/models/operations/getcomputeusage.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcomputeusage.js +2 -2
- package/dist/commonjs/models/operations/getcomputeusage.js.map +1 -1
- package/dist/commonjs/models/operations/getpricing.d.ts +49 -0
- package/dist/commonjs/models/operations/getpricing.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getpricing.js +120 -0
- package/dist/commonjs/models/operations/getpricing.js.map +1 -0
- package/dist/commonjs/models/operations/getstandalonevolume.d.ts +32 -0
- package/dist/commonjs/models/operations/getstandalonevolume.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getstandalonevolume.js +88 -0
- package/dist/commonjs/models/operations/getstandalonevolume.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +7 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +7 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/liststandalonevolumeattachments.d.ts +38 -0
- package/dist/commonjs/models/operations/liststandalonevolumeattachments.d.ts.map +1 -0
- package/dist/commonjs/models/operations/liststandalonevolumeattachments.js +96 -0
- package/dist/commonjs/models/operations/liststandalonevolumeattachments.js.map +1 -0
- package/dist/commonjs/models/operations/liststandalonevolumes.d.ts +36 -0
- package/dist/commonjs/models/operations/liststandalonevolumes.d.ts.map +1 -0
- package/dist/commonjs/models/operations/liststandalonevolumes.js +92 -0
- package/dist/commonjs/models/operations/liststandalonevolumes.js.map +1 -0
- package/dist/commonjs/models/operations/putpricing.d.ts +58 -0
- package/dist/commonjs/models/operations/putpricing.d.ts.map +1 -0
- package/dist/commonjs/models/operations/putpricing.js +132 -0
- package/dist/commonjs/models/operations/putpricing.js.map +1 -0
- package/dist/commonjs/models/operations/uploadfile.d.ts +1 -1
- package/dist/commonjs/react-query/computePricingGetPricing.core.d.ts +14 -0
- package/dist/commonjs/react-query/computePricingGetPricing.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/computePricingGetPricing.core.js +36 -0
- package/dist/commonjs/react-query/computePricingGetPricing.core.js.map +1 -0
- package/dist/commonjs/react-query/computePricingGetPricing.d.ts +34 -0
- package/dist/commonjs/react-query/computePricingGetPricing.d.ts.map +1 -0
- package/dist/commonjs/react-query/computePricingGetPricing.js +65 -0
- package/dist/commonjs/react-query/computePricingGetPricing.js.map +1 -0
- package/dist/commonjs/react-query/computePricingPutPricing.d.ts +28 -0
- package/dist/commonjs/react-query/computePricingPutPricing.d.ts.map +1 -0
- package/dist/commonjs/react-query/computePricingPutPricing.js +47 -0
- package/dist/commonjs/react-query/computePricingPutPricing.js.map +1 -0
- package/dist/commonjs/react-query/computeUsageGetComputeUsage.core.d.ts +1 -1
- package/dist/commonjs/react-query/computeUsageGetComputeUsage.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/computeUsageGetComputeUsage.d.ts +2 -2
- package/dist/commonjs/react-query/computeUsageGetComputeUsage.d.ts.map +1 -1
- package/dist/commonjs/react-query/computeVolumesCreateStandaloneVolume.d.ts +25 -0
- package/dist/commonjs/react-query/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
- package/dist/commonjs/react-query/computeVolumesCreateStandaloneVolume.js +44 -0
- package/dist/commonjs/react-query/computeVolumesCreateStandaloneVolume.js.map +1 -0
- package/dist/commonjs/react-query/computeVolumesDeleteStandaloneVolume.d.ts +28 -0
- package/dist/commonjs/react-query/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
- package/dist/commonjs/react-query/computeVolumesDeleteStandaloneVolume.js +47 -0
- package/dist/commonjs/react-query/computeVolumesDeleteStandaloneVolume.js.map +1 -0
- package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.core.d.ts +14 -0
- package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.core.js +42 -0
- package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.core.js.map +1 -0
- package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.d.ts +29 -0
- package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
- package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.js +59 -0
- package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.js.map +1 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.core.d.ts +18 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.core.js +45 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.core.js.map +1 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.d.ts +39 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.js +63 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.core.d.ts +18 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.core.js +44 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.core.js.map +1 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.d.ts +37 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.js +59 -0
- package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +7 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +7 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/sdk/computepricing.d.ts +19 -0
- package/dist/commonjs/sdk/computepricing.d.ts.map +1 -0
- package/dist/commonjs/sdk/computepricing.js +32 -0
- package/dist/commonjs/sdk/computepricing.js.map +1 -0
- package/dist/commonjs/sdk/computevolumes.d.ts +28 -0
- package/dist/commonjs/sdk/computevolumes.d.ts.map +1 -0
- package/dist/commonjs/sdk/computevolumes.js +50 -0
- package/dist/commonjs/sdk/computevolumes.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +6 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +8 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/types/discriminatedUnion.d.ts +25 -0
- package/dist/commonjs/types/discriminatedUnion.d.ts.map +1 -0
- package/dist/commonjs/types/discriminatedUnion.js +94 -0
- package/dist/commonjs/types/discriminatedUnion.js.map +1 -0
- package/dist/esm/funcs/computePricingGetPricing.d.ts +19 -0
- package/dist/esm/funcs/computePricingGetPricing.d.ts.map +1 -0
- package/dist/esm/funcs/computePricingGetPricing.js +99 -0
- package/dist/esm/funcs/computePricingGetPricing.js.map +1 -0
- package/dist/esm/funcs/computePricingPutPricing.d.ts +19 -0
- package/dist/esm/funcs/computePricingPutPricing.d.ts.map +1 -0
- package/dist/esm/funcs/computePricingPutPricing.js +107 -0
- package/dist/esm/funcs/computePricingPutPricing.js.map +1 -0
- package/dist/esm/funcs/computeVolumesCreateStandaloneVolume.d.ts +16 -0
- package/dist/esm/funcs/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
- package/dist/esm/funcs/computeVolumesCreateStandaloneVolume.js +92 -0
- package/dist/esm/funcs/computeVolumesCreateStandaloneVolume.js.map +1 -0
- package/dist/esm/funcs/computeVolumesDeleteStandaloneVolume.d.ts +19 -0
- package/dist/esm/funcs/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
- package/dist/esm/funcs/computeVolumesDeleteStandaloneVolume.js +97 -0
- package/dist/esm/funcs/computeVolumesDeleteStandaloneVolume.js.map +1 -0
- package/dist/esm/funcs/computeVolumesGetStandaloneVolume.d.ts +16 -0
- package/dist/esm/funcs/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
- package/dist/esm/funcs/computeVolumesGetStandaloneVolume.js +94 -0
- package/dist/esm/funcs/computeVolumesGetStandaloneVolume.js.map +1 -0
- package/dist/esm/funcs/computeVolumesListStandaloneVolumeAttachments.d.ts +16 -0
- package/dist/esm/funcs/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
- package/dist/esm/funcs/computeVolumesListStandaloneVolumeAttachments.js +100 -0
- package/dist/esm/funcs/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
- package/dist/esm/funcs/computeVolumesListStandaloneVolumes.d.ts +16 -0
- package/dist/esm/funcs/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
- package/dist/esm/funcs/computeVolumesListStandaloneVolumes.js +94 -0
- package/dist/esm/funcs/computeVolumesListStandaloneVolumes.js.map +1 -0
- package/dist/esm/hooks/multipartFilename.d.ts +12 -0
- package/dist/esm/hooks/multipartFilename.d.ts.map +1 -0
- package/dist/esm/hooks/multipartFilename.js +46 -0
- package/dist/esm/hooks/multipartFilename.js.map +1 -0
- package/dist/esm/hooks/registration.d.ts.map +1 -1
- package/dist/esm/hooks/registration.js +2 -1
- package/dist/esm/hooks/registration.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +15 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/computePricingGetPricing.d.ts +8 -0
- package/dist/esm/mcp-server/tools/computePricingGetPricing.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/computePricingGetPricing.js +28 -0
- package/dist/esm/mcp-server/tools/computePricingGetPricing.js.map +1 -0
- package/dist/esm/mcp-server/tools/computePricingPutPricing.d.ts +8 -0
- package/dist/esm/mcp-server/tools/computePricingPutPricing.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/computePricingPutPricing.js +28 -0
- package/dist/esm/mcp-server/tools/computePricingPutPricing.js.map +1 -0
- package/dist/esm/mcp-server/tools/computeVolumesCreateStandaloneVolume.d.ts +8 -0
- package/dist/esm/mcp-server/tools/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/computeVolumesCreateStandaloneVolume.js +26 -0
- package/dist/esm/mcp-server/tools/computeVolumesCreateStandaloneVolume.js.map +1 -0
- package/dist/esm/mcp-server/tools/computeVolumesDeleteStandaloneVolume.d.ts +8 -0
- package/dist/esm/mcp-server/tools/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/computeVolumesDeleteStandaloneVolume.js +28 -0
- package/dist/esm/mcp-server/tools/computeVolumesDeleteStandaloneVolume.js.map +1 -0
- package/dist/esm/mcp-server/tools/computeVolumesGetStandaloneVolume.d.ts +8 -0
- package/dist/esm/mcp-server/tools/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/computeVolumesGetStandaloneVolume.js +26 -0
- package/dist/esm/mcp-server/tools/computeVolumesGetStandaloneVolume.js.map +1 -0
- package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.d.ts +8 -0
- package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.js +26 -0
- package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
- package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumes.d.ts +8 -0
- package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumes.js +26 -0
- package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumes.js.map +1 -0
- package/dist/esm/models/components/agentschedulespec.d.ts +2 -1
- package/dist/esm/models/components/agentschedulespec.d.ts.map +1 -1
- package/dist/esm/models/components/agentschedulespec.js +6 -5
- package/dist/esm/models/components/agentschedulespec.js.map +1 -1
- package/dist/esm/models/components/chunkingstrategy.d.ts +2 -1
- package/dist/esm/models/components/chunkingstrategy.d.ts.map +1 -1
- package/dist/esm/models/components/chunkingstrategy.js +6 -5
- package/dist/esm/models/components/chunkingstrategy.js.map +1 -1
- package/dist/esm/models/components/codeinterpreteroutput.d.ts +2 -1
- package/dist/esm/models/components/codeinterpreteroutput.d.ts.map +1 -1
- package/dist/esm/models/components/codeinterpreteroutput.js +5 -4
- package/dist/esm/models/components/codeinterpreteroutput.js.map +1 -1
- package/dist/esm/models/components/computejob.d.ts +3 -0
- package/dist/esm/models/components/computejob.d.ts.map +1 -1
- package/dist/esm/models/components/computejob.js +3 -0
- package/dist/esm/models/components/computejob.js.map +1 -1
- package/dist/esm/models/components/computejobcreate.d.ts +3 -0
- package/dist/esm/models/components/computejobcreate.d.ts.map +1 -1
- package/dist/esm/models/components/computejobcreate.js +3 -0
- package/dist/esm/models/components/computejobcreate.js.map +1 -1
- package/dist/esm/models/components/computeoffer.d.ts +2 -0
- package/dist/esm/models/components/computeoffer.d.ts.map +1 -1
- package/dist/esm/models/components/computeoffer.js +4 -0
- package/dist/esm/models/components/computeoffer.js.map +1 -1
- package/dist/esm/models/components/computepricing.d.ts +24 -0
- package/dist/esm/models/components/computepricing.d.ts.map +1 -0
- package/dist/esm/models/components/computepricing.js +35 -0
- package/dist/esm/models/components/computepricing.js.map +1 -0
- package/dist/esm/models/components/computepricingupdate.d.ts +20 -0
- package/dist/esm/models/components/computepricingupdate.d.ts.map +1 -0
- package/dist/esm/models/components/computepricingupdate.js +29 -0
- package/dist/esm/models/components/computepricingupdate.js.map +1 -0
- package/dist/esm/models/components/computeraction.d.ts +2 -1
- package/dist/esm/models/components/computeraction.d.ts.map +1 -1
- package/dist/esm/models/components/computeraction.js +12 -11
- package/dist/esm/models/components/computeraction.js.map +1 -1
- package/dist/esm/models/components/computeresourcecreate.d.ts +3 -0
- package/dist/esm/models/components/computeresourcecreate.d.ts.map +1 -1
- package/dist/esm/models/components/computeresourcecreate.js +3 -0
- package/dist/esm/models/components/computeresourcecreate.js.map +1 -1
- package/dist/esm/models/components/computeservice.d.ts +3 -0
- package/dist/esm/models/components/computeservice.d.ts.map +1 -1
- package/dist/esm/models/components/computeservice.js +3 -0
- package/dist/esm/models/components/computeservice.js.map +1 -1
- package/dist/esm/models/components/computestandalonevolume.d.ts +47 -0
- package/dist/esm/models/components/computestandalonevolume.d.ts.map +1 -0
- package/dist/esm/models/components/computestandalonevolume.js +79 -0
- package/dist/esm/models/components/computestandalonevolume.js.map +1 -0
- package/dist/esm/models/components/computestandalonevolumeattachment.d.ts +34 -0
- package/dist/esm/models/components/computestandalonevolumeattachment.d.ts.map +1 -0
- package/dist/esm/models/components/computestandalonevolumeattachment.js +56 -0
- package/dist/esm/models/components/computestandalonevolumeattachment.js.map +1 -0
- package/dist/esm/models/components/computestandalonevolumeattachmentlist.d.ts +22 -0
- package/dist/esm/models/components/computestandalonevolumeattachmentlist.d.ts.map +1 -0
- package/dist/esm/models/components/computestandalonevolumeattachmentlist.js +34 -0
- package/dist/esm/models/components/computestandalonevolumeattachmentlist.js.map +1 -0
- package/dist/esm/models/components/computestandalonevolumeattachmentstate.d.ts +16 -0
- package/dist/esm/models/components/computestandalonevolumeattachmentstate.d.ts.map +1 -0
- package/dist/esm/models/components/computestandalonevolumeattachmentstate.js +17 -0
- package/dist/esm/models/components/computestandalonevolumeattachmentstate.js.map +1 -0
- package/dist/esm/models/components/computestandalonevolumecreate.d.ts +17 -0
- package/dist/esm/models/components/computestandalonevolumecreate.d.ts.map +1 -0
- package/dist/esm/models/components/computestandalonevolumecreate.js +20 -0
- package/dist/esm/models/components/computestandalonevolumecreate.js.map +1 -0
- package/dist/esm/models/components/computestandalonevolumelist.d.ts +22 -0
- package/dist/esm/models/components/computestandalonevolumelist.d.ts.map +1 -0
- package/dist/esm/models/components/computestandalonevolumelist.js +34 -0
- package/dist/esm/models/components/computestandalonevolumelist.js.map +1 -0
- package/dist/esm/models/components/computestandalonevolumemount.d.ts +19 -0
- package/dist/esm/models/components/computestandalonevolumemount.d.ts.map +1 -0
- package/dist/esm/models/components/computestandalonevolumemount.js +33 -0
- package/dist/esm/models/components/computestandalonevolumemount.js.map +1 -0
- package/dist/esm/models/components/computestandalonevolumestate.d.ts +15 -0
- package/dist/esm/models/components/computestandalonevolumestate.d.ts.map +1 -0
- package/dist/esm/models/components/computestandalonevolumestate.js +16 -0
- package/dist/esm/models/components/computestandalonevolumestate.js.map +1 -0
- package/dist/esm/models/components/computetenant.d.ts +2 -0
- package/dist/esm/models/components/computetenant.d.ts.map +1 -1
- package/dist/esm/models/components/computetenant.js +4 -0
- package/dist/esm/models/components/computetenant.js.map +1 -1
- package/dist/esm/models/components/computetenantupdate.d.ts +2 -0
- package/dist/esm/models/components/computetenantupdate.d.ts.map +1 -1
- package/dist/esm/models/components/computetenantupdate.js +4 -0
- package/dist/esm/models/components/computetenantupdate.js.map +1 -1
- package/dist/esm/models/components/computeusage.d.ts +76 -2
- package/dist/esm/models/components/computeusage.d.ts.map +1 -1
- package/dist/esm/models/components/computeusage.js +67 -5
- package/dist/esm/models/components/computeusage.js.map +1 -1
- package/dist/esm/models/components/computeusageresourcetype.d.ts +13 -0
- package/dist/esm/models/components/computeusageresourcetype.d.ts.map +1 -0
- package/dist/esm/models/components/computeusageresourcetype.js +14 -0
- package/dist/esm/models/components/computeusageresourcetype.js.map +1 -0
- package/dist/esm/models/components/customtoolformat.d.ts +2 -1
- package/dist/esm/models/components/customtoolformat.d.ts.map +1 -1
- package/dist/esm/models/components/customtoolformat.js +5 -1
- package/dist/esm/models/components/customtoolformat.js.map +1 -1
- package/dist/esm/models/components/filesearchcompoundfilter.d.ts +3 -2
- package/dist/esm/models/components/filesearchcompoundfilter.d.ts.map +1 -1
- package/dist/esm/models/components/filesearchcompoundfilter.js +21 -20
- package/dist/esm/models/components/filesearchcompoundfilter.js.map +1 -1
- package/dist/esm/models/components/guardrailconfig.d.ts +2 -1
- package/dist/esm/models/components/guardrailconfig.d.ts.map +1 -1
- package/dist/esm/models/components/guardrailconfig.js +6 -5
- package/dist/esm/models/components/guardrailconfig.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +11 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +11 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/method.d.ts +6 -5
- package/dist/esm/models/components/method.d.ts.map +1 -1
- package/dist/esm/models/components/method.js +36 -35
- package/dist/esm/models/components/method.js.map +1 -1
- package/dist/esm/models/components/openaichatcompletionchoice.d.ts +4 -3
- package/dist/esm/models/components/openaichatcompletionchoice.d.ts.map +1 -1
- package/dist/esm/models/components/openaichatcompletionchoice.js +19 -18
- package/dist/esm/models/components/openaichatcompletionchoice.js.map +1 -1
- package/dist/esm/models/components/openaichatcompletionchunk.d.ts +4 -3
- package/dist/esm/models/components/openaichatcompletionchunk.d.ts.map +1 -1
- package/dist/esm/models/components/openaichatcompletionchunk.js +19 -18
- package/dist/esm/models/components/openaichatcompletionchunk.js.map +1 -1
- package/dist/esm/models/components/outputmessage.d.ts +3 -2
- package/dist/esm/models/components/outputmessage.d.ts.map +1 -1
- package/dist/esm/models/components/outputmessage.js +9 -8
- package/dist/esm/models/components/outputmessage.js.map +1 -1
- package/dist/esm/models/components/outputmessagewithid.d.ts +3 -2
- package/dist/esm/models/components/outputmessagewithid.d.ts.map +1 -1
- package/dist/esm/models/components/outputmessagewithid.js +9 -8
- package/dist/esm/models/components/outputmessagewithid.js.map +1 -1
- package/dist/esm/models/components/outputtext.d.ts +3 -2
- package/dist/esm/models/components/outputtext.d.ts.map +1 -1
- package/dist/esm/models/components/outputtext.js +13 -12
- package/dist/esm/models/components/outputtext.js.map +1 -1
- package/dist/esm/models/components/responsecontentpartaddedevent.d.ts +3 -2
- package/dist/esm/models/components/responsecontentpartaddedevent.d.ts.map +1 -1
- package/dist/esm/models/components/responsecontentpartaddedevent.js +11 -11
- package/dist/esm/models/components/responsecontentpartaddedevent.js.map +1 -1
- package/dist/esm/models/components/responsecontentpartdoneevent.d.ts +3 -2
- package/dist/esm/models/components/responsecontentpartdoneevent.d.ts.map +1 -1
- package/dist/esm/models/components/responsecontentpartdoneevent.js +11 -10
- package/dist/esm/models/components/responsecontentpartdoneevent.js.map +1 -1
- package/dist/esm/models/components/responseformat.d.ts +2 -1
- package/dist/esm/models/components/responseformat.d.ts.map +1 -1
- package/dist/esm/models/components/responseformat.js +6 -5
- package/dist/esm/models/components/responseformat.js.map +1 -1
- package/dist/esm/models/components/responseobject.d.ts +5 -4
- package/dist/esm/models/components/responseobject.d.ts.map +1 -1
- package/dist/esm/models/components/responseobject.js +41 -40
- package/dist/esm/models/components/responseobject.js.map +1 -1
- package/dist/esm/models/components/responsestreamingevent.d.ts +2 -1
- package/dist/esm/models/components/responsestreamingevent.d.ts.map +1 -1
- package/dist/esm/models/components/responsestreamingevent.js +68 -67
- package/dist/esm/models/components/responsestreamingevent.js.map +1 -1
- package/dist/esm/models/components/shellenvironment.d.ts +2 -1
- package/dist/esm/models/components/shellenvironment.d.ts.map +1 -1
- package/dist/esm/models/components/shellenvironment.js +5 -4
- package/dist/esm/models/components/shellenvironment.js.map +1 -1
- package/dist/esm/models/components/skillentry.d.ts +2 -1
- package/dist/esm/models/components/skillentry.d.ts.map +1 -1
- package/dist/esm/models/components/skillentry.js +5 -4
- package/dist/esm/models/components/skillentry.js.map +1 -1
- package/dist/esm/models/components/tooldefinition.d.ts +5 -4
- package/dist/esm/models/components/tooldefinition.d.ts.map +1 -1
- package/dist/esm/models/components/tooldefinition.js +29 -28
- package/dist/esm/models/components/tooldefinition.js.map +1 -1
- package/dist/esm/models/components/websearchaction.d.ts +2 -1
- package/dist/esm/models/components/websearchaction.d.ts.map +1 -1
- package/dist/esm/models/components/websearchaction.js +6 -5
- package/dist/esm/models/components/websearchaction.js.map +1 -1
- package/dist/esm/models/operations/createchatcompletionstream.d.ts +2 -1
- package/dist/esm/models/operations/createchatcompletionstream.d.ts.map +1 -1
- package/dist/esm/models/operations/createchatcompletionstream.js +6 -5
- package/dist/esm/models/operations/createchatcompletionstream.js.map +1 -1
- package/dist/esm/models/operations/createstandalonevolume.d.ts +34 -0
- package/dist/esm/models/operations/createstandalonevolume.d.ts.map +1 -0
- package/dist/esm/models/operations/createstandalonevolume.js +54 -0
- package/dist/esm/models/operations/createstandalonevolume.js.map +1 -0
- package/dist/esm/models/operations/deletestandalonevolume.d.ts +32 -0
- package/dist/esm/models/operations/deletestandalonevolume.d.ts.map +1 -0
- package/dist/esm/models/operations/deletestandalonevolume.js +48 -0
- package/dist/esm/models/operations/deletestandalonevolume.js.map +1 -0
- package/dist/esm/models/operations/getcomputeusage.d.ts +7 -1
- package/dist/esm/models/operations/getcomputeusage.d.ts.map +1 -1
- package/dist/esm/models/operations/getcomputeusage.js +2 -2
- package/dist/esm/models/operations/getcomputeusage.js.map +1 -1
- package/dist/esm/models/operations/getpricing.d.ts +49 -0
- package/dist/esm/models/operations/getpricing.d.ts.map +1 -0
- package/dist/esm/models/operations/getpricing.js +78 -0
- package/dist/esm/models/operations/getpricing.js.map +1 -0
- package/dist/esm/models/operations/getstandalonevolume.d.ts +32 -0
- package/dist/esm/models/operations/getstandalonevolume.d.ts.map +1 -0
- package/dist/esm/models/operations/getstandalonevolume.js +48 -0
- package/dist/esm/models/operations/getstandalonevolume.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +7 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +7 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/liststandalonevolumeattachments.d.ts +38 -0
- package/dist/esm/models/operations/liststandalonevolumeattachments.d.ts.map +1 -0
- package/dist/esm/models/operations/liststandalonevolumeattachments.js +56 -0
- package/dist/esm/models/operations/liststandalonevolumeattachments.js.map +1 -0
- package/dist/esm/models/operations/liststandalonevolumes.d.ts +36 -0
- package/dist/esm/models/operations/liststandalonevolumes.d.ts.map +1 -0
- package/dist/esm/models/operations/liststandalonevolumes.js +52 -0
- package/dist/esm/models/operations/liststandalonevolumes.js.map +1 -0
- package/dist/esm/models/operations/putpricing.d.ts +58 -0
- package/dist/esm/models/operations/putpricing.d.ts.map +1 -0
- package/dist/esm/models/operations/putpricing.js +90 -0
- package/dist/esm/models/operations/putpricing.js.map +1 -0
- package/dist/esm/models/operations/uploadfile.d.ts +1 -1
- package/dist/esm/react-query/computePricingGetPricing.core.d.ts +14 -0
- package/dist/esm/react-query/computePricingGetPricing.core.d.ts.map +1 -0
- package/dist/esm/react-query/computePricingGetPricing.core.js +31 -0
- package/dist/esm/react-query/computePricingGetPricing.core.js.map +1 -0
- package/dist/esm/react-query/computePricingGetPricing.d.ts +34 -0
- package/dist/esm/react-query/computePricingGetPricing.d.ts.map +1 -0
- package/dist/esm/react-query/computePricingGetPricing.js +55 -0
- package/dist/esm/react-query/computePricingGetPricing.js.map +1 -0
- package/dist/esm/react-query/computePricingPutPricing.d.ts +28 -0
- package/dist/esm/react-query/computePricingPutPricing.d.ts.map +1 -0
- package/dist/esm/react-query/computePricingPutPricing.js +42 -0
- package/dist/esm/react-query/computePricingPutPricing.js.map +1 -0
- package/dist/esm/react-query/computeUsageGetComputeUsage.core.d.ts +1 -1
- package/dist/esm/react-query/computeUsageGetComputeUsage.core.d.ts.map +1 -1
- package/dist/esm/react-query/computeUsageGetComputeUsage.d.ts +2 -2
- package/dist/esm/react-query/computeUsageGetComputeUsage.d.ts.map +1 -1
- package/dist/esm/react-query/computeVolumesCreateStandaloneVolume.d.ts +25 -0
- package/dist/esm/react-query/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
- package/dist/esm/react-query/computeVolumesCreateStandaloneVolume.js +39 -0
- package/dist/esm/react-query/computeVolumesCreateStandaloneVolume.js.map +1 -0
- package/dist/esm/react-query/computeVolumesDeleteStandaloneVolume.d.ts +28 -0
- package/dist/esm/react-query/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
- package/dist/esm/react-query/computeVolumesDeleteStandaloneVolume.js +42 -0
- package/dist/esm/react-query/computeVolumesDeleteStandaloneVolume.js.map +1 -0
- package/dist/esm/react-query/computeVolumesGetStandaloneVolume.core.d.ts +14 -0
- package/dist/esm/react-query/computeVolumesGetStandaloneVolume.core.d.ts.map +1 -0
- package/dist/esm/react-query/computeVolumesGetStandaloneVolume.core.js +37 -0
- package/dist/esm/react-query/computeVolumesGetStandaloneVolume.core.js.map +1 -0
- package/dist/esm/react-query/computeVolumesGetStandaloneVolume.d.ts +29 -0
- package/dist/esm/react-query/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
- package/dist/esm/react-query/computeVolumesGetStandaloneVolume.js +49 -0
- package/dist/esm/react-query/computeVolumesGetStandaloneVolume.js.map +1 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.core.d.ts +18 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.core.d.ts.map +1 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.core.js +40 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.core.js.map +1 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.d.ts +39 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.js +53 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumes.core.d.ts +18 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumes.core.d.ts.map +1 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumes.core.js +39 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumes.core.js.map +1 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumes.d.ts +37 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumes.js +49 -0
- package/dist/esm/react-query/computeVolumesListStandaloneVolumes.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +7 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +7 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/sdk/computepricing.d.ts +19 -0
- package/dist/esm/sdk/computepricing.d.ts.map +1 -0
- package/dist/esm/sdk/computepricing.js +28 -0
- package/dist/esm/sdk/computepricing.js.map +1 -0
- package/dist/esm/sdk/computevolumes.d.ts +28 -0
- package/dist/esm/sdk/computevolumes.d.ts.map +1 -0
- package/dist/esm/sdk/computevolumes.js +46 -0
- package/dist/esm/sdk/computevolumes.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +6 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +8 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/types/discriminatedUnion.d.ts +25 -0
- package/dist/esm/types/discriminatedUnion.d.ts.map +1 -0
- package/dist/esm/types/discriminatedUnion.js +57 -0
- package/dist/esm/types/discriminatedUnion.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/computePricingGetPricing.ts +188 -0
- package/src/funcs/computePricingPutPricing.ts +200 -0
- package/src/funcs/computeVolumesCreateStandaloneVolume.ts +185 -0
- package/src/funcs/computeVolumesDeleteStandaloneVolume.ts +186 -0
- package/src/funcs/computeVolumesGetStandaloneVolume.ts +183 -0
- package/src/funcs/computeVolumesListStandaloneVolumeAttachments.ts +200 -0
- package/src/funcs/computeVolumesListStandaloneVolumes.ts +184 -0
- package/src/hooks/multipartFilename.ts +60 -0
- package/src/hooks/registration.ts +2 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +15 -1
- package/src/mcp-server/tools/computePricingGetPricing.ts +37 -0
- package/src/mcp-server/tools/computePricingPutPricing.ts +37 -0
- package/src/mcp-server/tools/computeVolumesCreateStandaloneVolume.ts +37 -0
- package/src/mcp-server/tools/computeVolumesDeleteStandaloneVolume.ts +39 -0
- package/src/mcp-server/tools/computeVolumesGetStandaloneVolume.ts +37 -0
- package/src/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.ts +38 -0
- package/src/mcp-server/tools/computeVolumesListStandaloneVolumes.ts +37 -0
- package/src/models/components/agentschedulespec.ts +9 -6
- package/src/models/components/chunkingstrategy.ts +9 -6
- package/src/models/components/codeinterpreteroutput.ts +8 -5
- package/src/models/components/computejob.ts +10 -0
- package/src/models/components/computejobcreate.ts +10 -0
- package/src/models/components/computeoffer.ts +6 -0
- package/src/models/components/computepricing.ts +71 -0
- package/src/models/components/computepricingupdate.ts +63 -0
- package/src/models/components/computeraction.ts +15 -12
- package/src/models/components/computeresourcecreate.ts +10 -0
- package/src/models/components/computeservice.ts +10 -0
- package/src/models/components/computestandalonevolume.ts +153 -0
- package/src/models/components/computestandalonevolumeattachment.ts +118 -0
- package/src/models/components/computestandalonevolumeattachmentlist.ts +77 -0
- package/src/models/components/computestandalonevolumeattachmentstate.ts +28 -0
- package/src/models/components/computestandalonevolumecreate.ts +53 -0
- package/src/models/components/computestandalonevolumelist.ts +76 -0
- package/src/models/components/computestandalonevolumemount.ts +68 -0
- package/src/models/components/computestandalonevolumestate.ts +26 -0
- package/src/models/components/computetenant.ts +6 -0
- package/src/models/components/computetenantupdate.ts +6 -0
- package/src/models/components/computeusage.ts +132 -9
- package/src/models/components/computeusageresourcetype.ts +24 -0
- package/src/models/components/customtoolformat.ts +10 -2
- package/src/models/components/filesearchcompoundfilter.ts +41 -39
- package/src/models/components/guardrailconfig.ts +9 -6
- package/src/models/components/index.ts +11 -0
- package/src/models/components/method.ts +75 -43
- package/src/models/components/openaichatcompletionchoice.ts +24 -21
- package/src/models/components/openaichatcompletionchunk.ts +24 -21
- package/src/models/components/outputmessage.ts +19 -10
- package/src/models/components/outputmessagewithid.ts +19 -10
- package/src/models/components/outputtext.ts +23 -16
- package/src/models/components/responsecontentpartaddedevent.ts +25 -13
- package/src/models/components/responsecontentpartdoneevent.ts +22 -12
- package/src/models/components/responseformat.ts +9 -6
- package/src/models/components/responseobject.ts +62 -48
- package/src/models/components/responsestreamingevent.ts +118 -68
- package/src/models/components/shellenvironment.ts +8 -5
- package/src/models/components/skillentry.ts +10 -5
- package/src/models/components/tooldefinition.ts +42 -31
- package/src/models/components/websearchaction.ts +12 -6
- package/src/models/operations/createchatcompletionstream.ts +12 -6
- package/src/models/operations/createstandalonevolume.ts +128 -0
- package/src/models/operations/deletestandalonevolume.ts +117 -0
- package/src/models/operations/getcomputeusage.ts +9 -3
- package/src/models/operations/getpricing.ts +174 -0
- package/src/models/operations/getstandalonevolume.ts +115 -0
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/liststandalonevolumeattachments.ts +140 -0
- package/src/models/operations/liststandalonevolumes.ts +125 -0
- package/src/models/operations/putpricing.ts +195 -0
- package/src/models/operations/uploadfile.ts +1 -1
- package/src/react-query/computePricingGetPricing.core.ts +74 -0
- package/src/react-query/computePricingGetPricing.ts +143 -0
- package/src/react-query/computePricingPutPricing.ts +109 -0
- package/src/react-query/computeUsageGetComputeUsage.core.ts +1 -1
- package/src/react-query/computeUsageGetComputeUsage.ts +2 -2
- package/src/react-query/computeVolumesCreateStandaloneVolume.ts +106 -0
- package/src/react-query/computeVolumesDeleteStandaloneVolume.ts +109 -0
- package/src/react-query/computeVolumesGetStandaloneVolume.core.ts +82 -0
- package/src/react-query/computeVolumesGetStandaloneVolume.ts +140 -0
- package/src/react-query/computeVolumesListStandaloneVolumeAttachments.core.ts +95 -0
- package/src/react-query/computeVolumesListStandaloneVolumeAttachments.ts +162 -0
- package/src/react-query/computeVolumesListStandaloneVolumes.core.ts +89 -0
- package/src/react-query/computeVolumesListStandaloneVolumes.ts +153 -0
- package/src/react-query/index.ts +7 -0
- package/src/sdk/computepricing.ts +45 -0
- package/src/sdk/computevolumes.ts +87 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/types/discriminatedUnion.ts +96 -0
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
|
|
9
|
+
import { discriminatedUnion } from "../../types/discriminatedUnion.js";
|
|
8
10
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
11
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
12
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -135,13 +137,25 @@ export type Graders1 = {
|
|
|
135
137
|
operation: GradersOperation;
|
|
136
138
|
};
|
|
137
139
|
|
|
138
|
-
export type Graders =
|
|
140
|
+
export type Graders =
|
|
141
|
+
| Graders1
|
|
142
|
+
| Graders2
|
|
143
|
+
| Graders3
|
|
144
|
+
| Graders4
|
|
145
|
+
| Graders5
|
|
146
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
139
147
|
|
|
140
148
|
export type Grader2 = {
|
|
141
149
|
type: "multi";
|
|
142
150
|
name: string;
|
|
143
151
|
graders: {
|
|
144
|
-
[k: string]:
|
|
152
|
+
[k: string]:
|
|
153
|
+
| Graders1
|
|
154
|
+
| Graders2
|
|
155
|
+
| Graders3
|
|
156
|
+
| Graders4
|
|
157
|
+
| Graders5
|
|
158
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
145
159
|
};
|
|
146
160
|
calculateOutput: string;
|
|
147
161
|
};
|
|
@@ -237,12 +251,32 @@ export type One1 = {
|
|
|
237
251
|
operation: Operation;
|
|
238
252
|
};
|
|
239
253
|
|
|
240
|
-
export type Grader1 =
|
|
241
|
-
|
|
242
|
-
|
|
254
|
+
export type Grader1 =
|
|
255
|
+
| One1
|
|
256
|
+
| One2
|
|
257
|
+
| One3
|
|
258
|
+
| One4
|
|
259
|
+
| One5
|
|
260
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
261
|
+
|
|
262
|
+
export type Grader =
|
|
263
|
+
| Grader2
|
|
264
|
+
| One1
|
|
265
|
+
| One2
|
|
266
|
+
| One3
|
|
267
|
+
| One4
|
|
268
|
+
| One5
|
|
269
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
243
270
|
|
|
244
271
|
export type Reinforcement = {
|
|
245
|
-
grader:
|
|
272
|
+
grader:
|
|
273
|
+
| Grader2
|
|
274
|
+
| One1
|
|
275
|
+
| One2
|
|
276
|
+
| One3
|
|
277
|
+
| One4
|
|
278
|
+
| One5
|
|
279
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
246
280
|
hyperparameters?: ReinforcementHyperparameters | null | undefined;
|
|
247
281
|
};
|
|
248
282
|
|
|
@@ -775,13 +809,13 @@ export function graders1FromJSON(
|
|
|
775
809
|
|
|
776
810
|
/** @internal */
|
|
777
811
|
export const Graders$inboundSchema: z.ZodType<Graders, z.ZodTypeDef, unknown> =
|
|
778
|
-
|
|
779
|
-
z.lazy(() => Graders1$inboundSchema),
|
|
780
|
-
z.lazy(() => Graders2$inboundSchema),
|
|
781
|
-
z.lazy(() => Graders3$inboundSchema),
|
|
782
|
-
z.lazy(() => Graders4$inboundSchema),
|
|
783
|
-
z.lazy(() => Graders5$inboundSchema),
|
|
784
|
-
|
|
812
|
+
discriminatedUnion("type", {
|
|
813
|
+
string_check: z.lazy(() => Graders1$inboundSchema),
|
|
814
|
+
text_similarity: z.lazy(() => Graders2$inboundSchema),
|
|
815
|
+
python: z.lazy(() => Graders3$inboundSchema),
|
|
816
|
+
score_model: z.lazy(() => Graders4$inboundSchema),
|
|
817
|
+
label_model: z.lazy(() => Graders5$inboundSchema),
|
|
818
|
+
});
|
|
785
819
|
/** @internal */
|
|
786
820
|
export type Graders$Outbound =
|
|
787
821
|
| Graders1$Outbound
|
|
@@ -821,15 +855,13 @@ export const Grader2$inboundSchema: z.ZodType<Grader2, z.ZodTypeDef, unknown> =
|
|
|
821
855
|
z.object({
|
|
822
856
|
type: z.literal("multi"),
|
|
823
857
|
name: z.string(),
|
|
824
|
-
graders: z.record(
|
|
825
|
-
z.
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
]),
|
|
832
|
-
),
|
|
858
|
+
graders: z.record(discriminatedUnion("type", {
|
|
859
|
+
string_check: z.lazy(() => Graders1$inboundSchema),
|
|
860
|
+
text_similarity: z.lazy(() => Graders2$inboundSchema),
|
|
861
|
+
python: z.lazy(() => Graders3$inboundSchema),
|
|
862
|
+
score_model: z.lazy(() => Graders4$inboundSchema),
|
|
863
|
+
label_model: z.lazy(() => Graders5$inboundSchema),
|
|
864
|
+
})),
|
|
833
865
|
calculate_output: z.string(),
|
|
834
866
|
}).transform((v) => {
|
|
835
867
|
return remap$(v, {
|
|
@@ -1294,13 +1326,13 @@ export function one1FromJSON(
|
|
|
1294
1326
|
|
|
1295
1327
|
/** @internal */
|
|
1296
1328
|
export const Grader1$inboundSchema: z.ZodType<Grader1, z.ZodTypeDef, unknown> =
|
|
1297
|
-
|
|
1298
|
-
z.lazy(() => One1$inboundSchema),
|
|
1299
|
-
z.lazy(() => One2$inboundSchema),
|
|
1300
|
-
z.lazy(() => One3$inboundSchema),
|
|
1301
|
-
z.lazy(() => One4$inboundSchema),
|
|
1302
|
-
z.lazy(() => One5$inboundSchema),
|
|
1303
|
-
|
|
1329
|
+
discriminatedUnion("type", {
|
|
1330
|
+
string_check: z.lazy(() => One1$inboundSchema),
|
|
1331
|
+
text_similarity: z.lazy(() => One2$inboundSchema),
|
|
1332
|
+
python: z.lazy(() => One3$inboundSchema),
|
|
1333
|
+
score_model: z.lazy(() => One4$inboundSchema),
|
|
1334
|
+
label_model: z.lazy(() => One5$inboundSchema),
|
|
1335
|
+
});
|
|
1304
1336
|
/** @internal */
|
|
1305
1337
|
export type Grader1$Outbound =
|
|
1306
1338
|
| One1$Outbound
|
|
@@ -1339,13 +1371,13 @@ export function grader1FromJSON(
|
|
|
1339
1371
|
export const Grader$inboundSchema: z.ZodType<Grader, z.ZodTypeDef, unknown> = z
|
|
1340
1372
|
.union([
|
|
1341
1373
|
z.lazy(() => Grader2$inboundSchema),
|
|
1342
|
-
|
|
1343
|
-
z.lazy(() => One1$inboundSchema),
|
|
1344
|
-
z.lazy(() => One2$inboundSchema),
|
|
1345
|
-
z.lazy(() => One3$inboundSchema),
|
|
1346
|
-
z.lazy(() => One4$inboundSchema),
|
|
1347
|
-
z.lazy(() => One5$inboundSchema),
|
|
1348
|
-
|
|
1374
|
+
discriminatedUnion("type", {
|
|
1375
|
+
string_check: z.lazy(() => One1$inboundSchema),
|
|
1376
|
+
text_similarity: z.lazy(() => One2$inboundSchema),
|
|
1377
|
+
python: z.lazy(() => One3$inboundSchema),
|
|
1378
|
+
score_model: z.lazy(() => One4$inboundSchema),
|
|
1379
|
+
label_model: z.lazy(() => One5$inboundSchema),
|
|
1380
|
+
}),
|
|
1349
1381
|
]);
|
|
1350
1382
|
/** @internal */
|
|
1351
1383
|
export type Grader$Outbound =
|
|
@@ -1393,13 +1425,13 @@ export const Reinforcement$inboundSchema: z.ZodType<
|
|
|
1393
1425
|
> = z.object({
|
|
1394
1426
|
grader: z.union([
|
|
1395
1427
|
z.lazy(() => Grader2$inboundSchema),
|
|
1396
|
-
|
|
1397
|
-
z.lazy(() => One1$inboundSchema),
|
|
1398
|
-
z.lazy(() => One2$inboundSchema),
|
|
1399
|
-
z.lazy(() => One3$inboundSchema),
|
|
1400
|
-
z.lazy(() => One4$inboundSchema),
|
|
1401
|
-
z.lazy(() => One5$inboundSchema),
|
|
1402
|
-
|
|
1428
|
+
discriminatedUnion("type", {
|
|
1429
|
+
string_check: z.lazy(() => One1$inboundSchema),
|
|
1430
|
+
text_similarity: z.lazy(() => One2$inboundSchema),
|
|
1431
|
+
python: z.lazy(() => One3$inboundSchema),
|
|
1432
|
+
score_model: z.lazy(() => One4$inboundSchema),
|
|
1433
|
+
label_model: z.lazy(() => One5$inboundSchema),
|
|
1434
|
+
}),
|
|
1403
1435
|
]),
|
|
1404
1436
|
hyperparameters: z.nullable(ReinforcementHyperparameters$inboundSchema)
|
|
1405
1437
|
.optional(),
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
|
|
9
|
+
import { discriminatedUnion } from "../../types/discriminatedUnion.js";
|
|
8
10
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
11
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
12
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -134,7 +136,8 @@ export type Content2 =
|
|
|
134
136
|
| OpenAIChatCompletionChoice21
|
|
135
137
|
| OpenAIChatCompletionChoice22
|
|
136
138
|
| OpenAIChatCompletionChoice23
|
|
137
|
-
| OpenAIChatCompletionChoice24
|
|
139
|
+
| OpenAIChatCompletionChoice24
|
|
140
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
138
141
|
|
|
139
142
|
/**
|
|
140
143
|
* The contents of the assistant message. Can be null when the message contains tool calls only.
|
|
@@ -146,6 +149,7 @@ export type OpenAIChatCompletionChoiceContent =
|
|
|
146
149
|
| OpenAIChatCompletionChoice22
|
|
147
150
|
| OpenAIChatCompletionChoice23
|
|
148
151
|
| OpenAIChatCompletionChoice24
|
|
152
|
+
| discriminatedUnionTypes.Unknown<"type">
|
|
149
153
|
>;
|
|
150
154
|
|
|
151
155
|
/**
|
|
@@ -203,6 +207,7 @@ export type Message = {
|
|
|
203
207
|
| OpenAIChatCompletionChoice22
|
|
204
208
|
| OpenAIChatCompletionChoice23
|
|
205
209
|
| OpenAIChatCompletionChoice24
|
|
210
|
+
| discriminatedUnionTypes.Unknown<"type">
|
|
206
211
|
>
|
|
207
212
|
| null;
|
|
208
213
|
/**
|
|
@@ -732,12 +737,12 @@ export const Content2$inboundSchema: z.ZodType<
|
|
|
732
737
|
Content2,
|
|
733
738
|
z.ZodTypeDef,
|
|
734
739
|
unknown
|
|
735
|
-
> =
|
|
736
|
-
z.lazy(() => OpenAIChatCompletionChoice21$inboundSchema),
|
|
737
|
-
z.lazy(() => OpenAIChatCompletionChoice22$inboundSchema),
|
|
738
|
-
z.lazy(() => OpenAIChatCompletionChoice23$inboundSchema),
|
|
739
|
-
z.lazy(() => OpenAIChatCompletionChoice24$inboundSchema),
|
|
740
|
-
|
|
740
|
+
> = discriminatedUnion("type", {
|
|
741
|
+
text: z.lazy(() => OpenAIChatCompletionChoice21$inboundSchema),
|
|
742
|
+
image_url: z.lazy(() => OpenAIChatCompletionChoice22$inboundSchema),
|
|
743
|
+
input_audio: z.lazy(() => OpenAIChatCompletionChoice23$inboundSchema),
|
|
744
|
+
file: z.lazy(() => OpenAIChatCompletionChoice24$inboundSchema),
|
|
745
|
+
});
|
|
741
746
|
/** @internal */
|
|
742
747
|
export type Content2$Outbound =
|
|
743
748
|
| OpenAIChatCompletionChoice21$Outbound
|
|
@@ -777,12 +782,12 @@ export const OpenAIChatCompletionChoiceContent$inboundSchema: z.ZodType<
|
|
|
777
782
|
unknown
|
|
778
783
|
> = z.union([
|
|
779
784
|
z.string(),
|
|
780
|
-
z.array(
|
|
781
|
-
z.lazy(() => OpenAIChatCompletionChoice21$inboundSchema),
|
|
782
|
-
z.lazy(() => OpenAIChatCompletionChoice22$inboundSchema),
|
|
783
|
-
z.lazy(() => OpenAIChatCompletionChoice23$inboundSchema),
|
|
784
|
-
z.lazy(() => OpenAIChatCompletionChoice24$inboundSchema),
|
|
785
|
-
|
|
785
|
+
z.array(discriminatedUnion("type", {
|
|
786
|
+
text: z.lazy(() => OpenAIChatCompletionChoice21$inboundSchema),
|
|
787
|
+
image_url: z.lazy(() => OpenAIChatCompletionChoice22$inboundSchema),
|
|
788
|
+
input_audio: z.lazy(() => OpenAIChatCompletionChoice23$inboundSchema),
|
|
789
|
+
file: z.lazy(() => OpenAIChatCompletionChoice24$inboundSchema),
|
|
790
|
+
})),
|
|
786
791
|
]);
|
|
787
792
|
/** @internal */
|
|
788
793
|
export type OpenAIChatCompletionChoiceContent$Outbound =
|
|
@@ -930,14 +935,12 @@ export const Message$inboundSchema: z.ZodType<Message, z.ZodTypeDef, unknown> =
|
|
|
930
935
|
content: z.nullable(
|
|
931
936
|
z.union([
|
|
932
937
|
z.string(),
|
|
933
|
-
z.array(
|
|
934
|
-
z.
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
]),
|
|
940
|
-
),
|
|
938
|
+
z.array(discriminatedUnion("type", {
|
|
939
|
+
text: z.lazy(() => OpenAIChatCompletionChoice21$inboundSchema),
|
|
940
|
+
image_url: z.lazy(() => OpenAIChatCompletionChoice22$inboundSchema),
|
|
941
|
+
input_audio: z.lazy(() => OpenAIChatCompletionChoice23$inboundSchema),
|
|
942
|
+
file: z.lazy(() => OpenAIChatCompletionChoice24$inboundSchema),
|
|
943
|
+
})),
|
|
941
944
|
]),
|
|
942
945
|
),
|
|
943
946
|
reasoning: z.nullable(z.string()).optional(),
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
|
|
9
|
+
import { discriminatedUnion } from "../../types/discriminatedUnion.js";
|
|
8
10
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
11
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
12
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -140,7 +142,8 @@ export type OpenAIChatCompletionChunkContent2 =
|
|
|
140
142
|
| OpenAIChatCompletionChunk21
|
|
141
143
|
| OpenAIChatCompletionChunk22
|
|
142
144
|
| OpenAIChatCompletionChunk23
|
|
143
|
-
| OpenAIChatCompletionChunk24
|
|
145
|
+
| OpenAIChatCompletionChunk24
|
|
146
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
144
147
|
|
|
145
148
|
/**
|
|
146
149
|
* The content of the chunk. May be a string, content parts, or null.
|
|
@@ -152,6 +155,7 @@ export type OpenAIChatCompletionChunkContent =
|
|
|
152
155
|
| OpenAIChatCompletionChunk22
|
|
153
156
|
| OpenAIChatCompletionChunk23
|
|
154
157
|
| OpenAIChatCompletionChunk24
|
|
158
|
+
| discriminatedUnionTypes.Unknown<"type">
|
|
155
159
|
>;
|
|
156
160
|
|
|
157
161
|
/**
|
|
@@ -208,6 +212,7 @@ export type Delta = {
|
|
|
208
212
|
| OpenAIChatCompletionChunk22
|
|
209
213
|
| OpenAIChatCompletionChunk23
|
|
210
214
|
| OpenAIChatCompletionChunk24
|
|
215
|
+
| discriminatedUnionTypes.Unknown<"type">
|
|
211
216
|
>
|
|
212
217
|
| null
|
|
213
218
|
| undefined;
|
|
@@ -778,12 +783,12 @@ export const OpenAIChatCompletionChunkContent2$inboundSchema: z.ZodType<
|
|
|
778
783
|
OpenAIChatCompletionChunkContent2,
|
|
779
784
|
z.ZodTypeDef,
|
|
780
785
|
unknown
|
|
781
|
-
> =
|
|
782
|
-
z.lazy(() => OpenAIChatCompletionChunk21$inboundSchema),
|
|
783
|
-
z.lazy(() => OpenAIChatCompletionChunk22$inboundSchema),
|
|
784
|
-
z.lazy(() => OpenAIChatCompletionChunk23$inboundSchema),
|
|
785
|
-
z.lazy(() => OpenAIChatCompletionChunk24$inboundSchema),
|
|
786
|
-
|
|
786
|
+
> = discriminatedUnion("type", {
|
|
787
|
+
text: z.lazy(() => OpenAIChatCompletionChunk21$inboundSchema),
|
|
788
|
+
image_url: z.lazy(() => OpenAIChatCompletionChunk22$inboundSchema),
|
|
789
|
+
input_audio: z.lazy(() => OpenAIChatCompletionChunk23$inboundSchema),
|
|
790
|
+
file: z.lazy(() => OpenAIChatCompletionChunk24$inboundSchema),
|
|
791
|
+
});
|
|
787
792
|
/** @internal */
|
|
788
793
|
export type OpenAIChatCompletionChunkContent2$Outbound =
|
|
789
794
|
| OpenAIChatCompletionChunk21$Outbound
|
|
@@ -829,12 +834,12 @@ export const OpenAIChatCompletionChunkContent$inboundSchema: z.ZodType<
|
|
|
829
834
|
unknown
|
|
830
835
|
> = z.union([
|
|
831
836
|
z.string(),
|
|
832
|
-
z.array(
|
|
833
|
-
z.lazy(() => OpenAIChatCompletionChunk21$inboundSchema),
|
|
834
|
-
z.lazy(() => OpenAIChatCompletionChunk22$inboundSchema),
|
|
835
|
-
z.lazy(() => OpenAIChatCompletionChunk23$inboundSchema),
|
|
836
|
-
z.lazy(() => OpenAIChatCompletionChunk24$inboundSchema),
|
|
837
|
-
|
|
837
|
+
z.array(discriminatedUnion("type", {
|
|
838
|
+
text: z.lazy(() => OpenAIChatCompletionChunk21$inboundSchema),
|
|
839
|
+
image_url: z.lazy(() => OpenAIChatCompletionChunk22$inboundSchema),
|
|
840
|
+
input_audio: z.lazy(() => OpenAIChatCompletionChunk23$inboundSchema),
|
|
841
|
+
file: z.lazy(() => OpenAIChatCompletionChunk24$inboundSchema),
|
|
842
|
+
})),
|
|
838
843
|
]);
|
|
839
844
|
/** @internal */
|
|
840
845
|
export type OpenAIChatCompletionChunkContent$Outbound =
|
|
@@ -984,14 +989,12 @@ export const Delta$inboundSchema: z.ZodType<Delta, z.ZodTypeDef, unknown> = z
|
|
|
984
989
|
content: z.nullable(
|
|
985
990
|
z.union([
|
|
986
991
|
z.string(),
|
|
987
|
-
z.array(
|
|
988
|
-
z.
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
]),
|
|
994
|
-
),
|
|
992
|
+
z.array(discriminatedUnion("type", {
|
|
993
|
+
text: z.lazy(() => OpenAIChatCompletionChunk21$inboundSchema),
|
|
994
|
+
image_url: z.lazy(() => OpenAIChatCompletionChunk22$inboundSchema),
|
|
995
|
+
input_audio: z.lazy(() => OpenAIChatCompletionChunk23$inboundSchema),
|
|
996
|
+
file: z.lazy(() => OpenAIChatCompletionChunk24$inboundSchema),
|
|
997
|
+
})),
|
|
995
998
|
]),
|
|
996
999
|
).optional(),
|
|
997
1000
|
reasoning: z.nullable(z.string()).optional(),
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
|
|
8
|
+
import { discriminatedUnion } from "../../types/discriminatedUnion.js";
|
|
7
9
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -22,7 +24,8 @@ import {
|
|
|
22
24
|
|
|
23
25
|
export type OutputMessageContent =
|
|
24
26
|
| (OutputText & { type: "output_text" })
|
|
25
|
-
| (Refusal & { type: "refusal" })
|
|
27
|
+
| (Refusal & { type: "refusal" })
|
|
28
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
26
29
|
|
|
27
30
|
/**
|
|
28
31
|
* The processing status of this message (in_progress, completed, or incomplete).
|
|
@@ -69,7 +72,9 @@ export type OutputMessage = {
|
|
|
69
72
|
* Array of content items in the assistant's response. Can contain text outputs or refusal messages.
|
|
70
73
|
*/
|
|
71
74
|
content: Array<
|
|
72
|
-
(OutputText & { type: "output_text" })
|
|
75
|
+
| (OutputText & { type: "output_text" })
|
|
76
|
+
| (Refusal & { type: "refusal" })
|
|
77
|
+
| discriminatedUnionTypes.Unknown<"type">
|
|
73
78
|
>;
|
|
74
79
|
/**
|
|
75
80
|
* The processing status of this message (in_progress, completed, or incomplete).
|
|
@@ -86,10 +91,12 @@ export const OutputMessageContent$inboundSchema: z.ZodType<
|
|
|
86
91
|
OutputMessageContent,
|
|
87
92
|
z.ZodTypeDef,
|
|
88
93
|
unknown
|
|
89
|
-
> =
|
|
90
|
-
OutputText$inboundSchema.and(
|
|
91
|
-
|
|
92
|
-
|
|
94
|
+
> = discriminatedUnion("type", {
|
|
95
|
+
output_text: OutputText$inboundSchema.and(
|
|
96
|
+
z.object({ type: z.literal("output_text") }),
|
|
97
|
+
),
|
|
98
|
+
refusal: Refusal$inboundSchema.and(z.object({ type: z.literal("refusal") })),
|
|
99
|
+
});
|
|
93
100
|
/** @internal */
|
|
94
101
|
export type OutputMessageContent$Outbound =
|
|
95
102
|
| (OutputText$Outbound & { type: "output_text" })
|
|
@@ -149,12 +156,14 @@ export const OutputMessage$inboundSchema: z.ZodType<
|
|
|
149
156
|
id: z.string(),
|
|
150
157
|
role: z.literal("assistant"),
|
|
151
158
|
content: z.array(
|
|
152
|
-
|
|
153
|
-
OutputText$inboundSchema.and(
|
|
159
|
+
discriminatedUnion("type", {
|
|
160
|
+
output_text: OutputText$inboundSchema.and(
|
|
154
161
|
z.object({ type: z.literal("output_text") }),
|
|
155
162
|
),
|
|
156
|
-
Refusal$inboundSchema.and(
|
|
157
|
-
|
|
163
|
+
refusal: Refusal$inboundSchema.and(
|
|
164
|
+
z.object({ type: z.literal("refusal") }),
|
|
165
|
+
),
|
|
166
|
+
}),
|
|
158
167
|
),
|
|
159
168
|
status: OutputMessageStatus$inboundSchema,
|
|
160
169
|
phase: Phase$inboundSchema.optional(),
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
|
|
9
|
+
import { discriminatedUnion } from "../../types/discriminatedUnion.js";
|
|
8
10
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
11
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
12
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -23,7 +25,8 @@ import {
|
|
|
23
25
|
|
|
24
26
|
export type OutputMessageWithIdContent =
|
|
25
27
|
| (OutputText & { type: "output_text" })
|
|
26
|
-
| (Refusal & { type: "refusal" })
|
|
28
|
+
| (Refusal & { type: "refusal" })
|
|
29
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
27
30
|
|
|
28
31
|
/**
|
|
29
32
|
* The processing status of this message (in_progress, completed, or incomplete).
|
|
@@ -74,7 +77,9 @@ export type OutputMessageWithId = {
|
|
|
74
77
|
* Array of content items in the assistant's response. Can contain text outputs or refusal messages.
|
|
75
78
|
*/
|
|
76
79
|
content: Array<
|
|
77
|
-
(OutputText & { type: "output_text" })
|
|
80
|
+
| (OutputText & { type: "output_text" })
|
|
81
|
+
| (Refusal & { type: "refusal" })
|
|
82
|
+
| discriminatedUnionTypes.Unknown<"type">
|
|
78
83
|
>;
|
|
79
84
|
/**
|
|
80
85
|
* The processing status of this message (in_progress, completed, or incomplete).
|
|
@@ -99,10 +104,12 @@ export const OutputMessageWithIdContent$inboundSchema: z.ZodType<
|
|
|
99
104
|
OutputMessageWithIdContent,
|
|
100
105
|
z.ZodTypeDef,
|
|
101
106
|
unknown
|
|
102
|
-
> =
|
|
103
|
-
OutputText$inboundSchema.and(
|
|
104
|
-
|
|
105
|
-
|
|
107
|
+
> = discriminatedUnion("type", {
|
|
108
|
+
output_text: OutputText$inboundSchema.and(
|
|
109
|
+
z.object({ type: z.literal("output_text") }),
|
|
110
|
+
),
|
|
111
|
+
refusal: Refusal$inboundSchema.and(z.object({ type: z.literal("refusal") })),
|
|
112
|
+
});
|
|
106
113
|
/** @internal */
|
|
107
114
|
export type OutputMessageWithIdContent$Outbound =
|
|
108
115
|
| (OutputText$Outbound & { type: "output_text" })
|
|
@@ -163,12 +170,14 @@ export const OutputMessageWithId$inboundSchema: z.ZodType<
|
|
|
163
170
|
id: z.string(),
|
|
164
171
|
role: z.literal("assistant"),
|
|
165
172
|
content: z.array(
|
|
166
|
-
|
|
167
|
-
OutputText$inboundSchema.and(
|
|
173
|
+
discriminatedUnion("type", {
|
|
174
|
+
output_text: OutputText$inboundSchema.and(
|
|
168
175
|
z.object({ type: z.literal("output_text") }),
|
|
169
176
|
),
|
|
170
|
-
Refusal$inboundSchema.and(
|
|
171
|
-
|
|
177
|
+
refusal: Refusal$inboundSchema.and(
|
|
178
|
+
z.object({ type: z.literal("refusal") }),
|
|
179
|
+
),
|
|
180
|
+
}),
|
|
172
181
|
),
|
|
173
182
|
status: OutputMessageWithIdStatus$inboundSchema,
|
|
174
183
|
phase: OutputMessageWithIdPhase$inboundSchema.optional(),
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
|
|
8
|
+
import { discriminatedUnion } from "../../types/discriminatedUnion.js";
|
|
7
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
11
|
import {
|
|
@@ -41,7 +43,8 @@ export type Annotations =
|
|
|
41
43
|
| FileCitation
|
|
42
44
|
| URLCitation
|
|
43
45
|
| ContainerFileCitation
|
|
44
|
-
| FilePath
|
|
46
|
+
| FilePath
|
|
47
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
45
48
|
|
|
46
49
|
/**
|
|
47
50
|
* Text content output from the model with optional annotations for citations and file references.
|
|
@@ -59,7 +62,13 @@ export type OutputText = {
|
|
|
59
62
|
* Array of annotations providing citations and references for the text. Used to attribute sources and reference files mentioned in the output.
|
|
60
63
|
*/
|
|
61
64
|
annotations?:
|
|
62
|
-
| Array<
|
|
65
|
+
| Array<
|
|
66
|
+
| FileCitation
|
|
67
|
+
| URLCitation
|
|
68
|
+
| ContainerFileCitation
|
|
69
|
+
| FilePath
|
|
70
|
+
| discriminatedUnionTypes.Unknown<"type">
|
|
71
|
+
>
|
|
63
72
|
| undefined;
|
|
64
73
|
logprobs?: Array<LogProb> | undefined;
|
|
65
74
|
};
|
|
@@ -69,12 +78,12 @@ export const Annotations$inboundSchema: z.ZodType<
|
|
|
69
78
|
Annotations,
|
|
70
79
|
z.ZodTypeDef,
|
|
71
80
|
unknown
|
|
72
|
-
> =
|
|
73
|
-
FileCitation$inboundSchema,
|
|
74
|
-
URLCitation$inboundSchema,
|
|
75
|
-
ContainerFileCitation$inboundSchema,
|
|
76
|
-
FilePath$inboundSchema,
|
|
77
|
-
|
|
81
|
+
> = discriminatedUnion("type", {
|
|
82
|
+
file_citation: FileCitation$inboundSchema,
|
|
83
|
+
url_citation: URLCitation$inboundSchema,
|
|
84
|
+
container_file_citation: ContainerFileCitation$inboundSchema,
|
|
85
|
+
file_path: FilePath$inboundSchema,
|
|
86
|
+
});
|
|
78
87
|
/** @internal */
|
|
79
88
|
export type Annotations$Outbound =
|
|
80
89
|
| FileCitation$Outbound
|
|
@@ -115,14 +124,12 @@ export const OutputText$inboundSchema: z.ZodType<
|
|
|
115
124
|
> = z.object({
|
|
116
125
|
type: z.literal("output_text"),
|
|
117
126
|
text: z.string(),
|
|
118
|
-
annotations: z.array(
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
]),
|
|
125
|
-
).optional(),
|
|
127
|
+
annotations: z.array(discriminatedUnion("type", {
|
|
128
|
+
file_citation: FileCitation$inboundSchema,
|
|
129
|
+
url_citation: URLCitation$inboundSchema,
|
|
130
|
+
container_file_citation: ContainerFileCitation$inboundSchema,
|
|
131
|
+
file_path: FilePath$inboundSchema,
|
|
132
|
+
})).optional(),
|
|
126
133
|
logprobs: z.array(LogProb$inboundSchema).optional(),
|
|
127
134
|
});
|
|
128
135
|
/** @internal */
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
|
|
9
|
+
import { discriminatedUnion } from "../../types/discriminatedUnion.js";
|
|
8
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
12
|
import {
|
|
@@ -29,7 +31,8 @@ import {
|
|
|
29
31
|
export type Part =
|
|
30
32
|
| (OutputText & { type: "output_text" })
|
|
31
33
|
| (Refusal & { type: "refusal" })
|
|
32
|
-
| (ReasoningText & { type: "reasoning_text" })
|
|
34
|
+
| (ReasoningText & { type: "reasoning_text" })
|
|
35
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
33
36
|
|
|
34
37
|
export type ResponseContentPartAddedEvent = {
|
|
35
38
|
type: "response.content_part.added";
|
|
@@ -40,18 +43,23 @@ export type ResponseContentPartAddedEvent = {
|
|
|
40
43
|
part:
|
|
41
44
|
| (OutputText & { type: "output_text" })
|
|
42
45
|
| (Refusal & { type: "refusal" })
|
|
43
|
-
| (ReasoningText & { type: "reasoning_text" })
|
|
46
|
+
| (ReasoningText & { type: "reasoning_text" })
|
|
47
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
44
48
|
};
|
|
45
49
|
|
|
46
50
|
/** @internal */
|
|
47
|
-
export const Part$inboundSchema: z.ZodType<Part, z.ZodTypeDef, unknown> =
|
|
48
|
-
|
|
49
|
-
OutputText$inboundSchema.and(
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
export const Part$inboundSchema: z.ZodType<Part, z.ZodTypeDef, unknown> =
|
|
52
|
+
discriminatedUnion("type", {
|
|
53
|
+
output_text: OutputText$inboundSchema.and(
|
|
54
|
+
z.object({ type: z.literal("output_text") }),
|
|
55
|
+
),
|
|
56
|
+
refusal: Refusal$inboundSchema.and(
|
|
57
|
+
z.object({ type: z.literal("refusal") }),
|
|
58
|
+
),
|
|
59
|
+
reasoning_text: ReasoningText$inboundSchema.and(
|
|
52
60
|
z.object({ type: z.literal("reasoning_text") }),
|
|
53
61
|
),
|
|
54
|
-
|
|
62
|
+
});
|
|
55
63
|
/** @internal */
|
|
56
64
|
export type Part$Outbound =
|
|
57
65
|
| (OutputText$Outbound & { type: "output_text" })
|
|
@@ -92,13 +100,17 @@ export const ResponseContentPartAddedEvent$inboundSchema: z.ZodType<
|
|
|
92
100
|
item_id: z.string(),
|
|
93
101
|
output_index: z.number().int(),
|
|
94
102
|
content_index: z.number().int(),
|
|
95
|
-
part:
|
|
96
|
-
OutputText$inboundSchema.and(
|
|
97
|
-
|
|
98
|
-
|
|
103
|
+
part: discriminatedUnion("type", {
|
|
104
|
+
output_text: OutputText$inboundSchema.and(
|
|
105
|
+
z.object({ type: z.literal("output_text") }),
|
|
106
|
+
),
|
|
107
|
+
refusal: Refusal$inboundSchema.and(
|
|
108
|
+
z.object({ type: z.literal("refusal") }),
|
|
109
|
+
),
|
|
110
|
+
reasoning_text: ReasoningText$inboundSchema.and(
|
|
99
111
|
z.object({ type: z.literal("reasoning_text") }),
|
|
100
112
|
),
|
|
101
|
-
|
|
113
|
+
}),
|
|
102
114
|
}).transform((v) => {
|
|
103
115
|
return remap$(v, {
|
|
104
116
|
"sequence_number": "sequenceNumber",
|