@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";
|
|
@@ -83,11 +85,18 @@ export type Environment1 = {
|
|
|
83
85
|
memoryStores?: Array<MemoryStores> | undefined;
|
|
84
86
|
};
|
|
85
87
|
|
|
86
|
-
export type Environment =
|
|
88
|
+
export type Environment =
|
|
89
|
+
| Environment1
|
|
90
|
+
| Environment2
|
|
91
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
87
92
|
|
|
88
93
|
export type Seven = {
|
|
89
94
|
type: ToolDefinition7Type;
|
|
90
|
-
environment?:
|
|
95
|
+
environment?:
|
|
96
|
+
| Environment1
|
|
97
|
+
| Environment2
|
|
98
|
+
| discriminatedUnionTypes.Unknown<"type">
|
|
99
|
+
| undefined;
|
|
91
100
|
};
|
|
92
101
|
|
|
93
102
|
export const ToolDefinition6Type = {
|
|
@@ -124,7 +133,8 @@ export type ToolDefinition4Filters =
|
|
|
124
133
|
| (FileSearchComparisonFilter & { type: "lt" })
|
|
125
134
|
| (FileSearchComparisonFilter & { type: "lte" })
|
|
126
135
|
| (FileSearchCompoundFilter & { type: "and" })
|
|
127
|
-
| (FileSearchCompoundFilter & { type: "or" })
|
|
136
|
+
| (FileSearchCompoundFilter & { type: "or" })
|
|
137
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
128
138
|
|
|
129
139
|
export type ToolDefinitionRankingOptions = {
|
|
130
140
|
ranker?: string | undefined;
|
|
@@ -143,6 +153,7 @@ export type ToolDefinition4 = {
|
|
|
143
153
|
| (FileSearchComparisonFilter & { type: "lte" })
|
|
144
154
|
| (FileSearchCompoundFilter & { type: "and" })
|
|
145
155
|
| (FileSearchCompoundFilter & { type: "or" })
|
|
156
|
+
| discriminatedUnionTypes.Unknown<"type">
|
|
146
157
|
| undefined;
|
|
147
158
|
maxNumResults?: number | undefined;
|
|
148
159
|
rankingOptions?: ToolDefinitionRankingOptions | undefined;
|
|
@@ -549,10 +560,10 @@ export const Environment$inboundSchema: z.ZodType<
|
|
|
549
560
|
Environment,
|
|
550
561
|
z.ZodTypeDef,
|
|
551
562
|
unknown
|
|
552
|
-
> =
|
|
553
|
-
z.lazy(() => Environment1$inboundSchema),
|
|
554
|
-
z.lazy(() => Environment2$inboundSchema),
|
|
555
|
-
|
|
563
|
+
> = discriminatedUnion("type", {
|
|
564
|
+
container_auto: z.lazy(() => Environment1$inboundSchema),
|
|
565
|
+
container_reference: z.lazy(() => Environment2$inboundSchema),
|
|
566
|
+
});
|
|
556
567
|
/** @internal */
|
|
557
568
|
export type Environment$Outbound =
|
|
558
569
|
| Environment1$Outbound
|
|
@@ -585,10 +596,10 @@ export function environmentFromJSON(
|
|
|
585
596
|
export const Seven$inboundSchema: z.ZodType<Seven, z.ZodTypeDef, unknown> = z
|
|
586
597
|
.object({
|
|
587
598
|
type: ToolDefinition7Type$inboundSchema,
|
|
588
|
-
environment:
|
|
589
|
-
z.lazy(() => Environment1$inboundSchema),
|
|
590
|
-
z.lazy(() => Environment2$inboundSchema),
|
|
591
|
-
|
|
599
|
+
environment: discriminatedUnion("type", {
|
|
600
|
+
container_auto: z.lazy(() => Environment1$inboundSchema),
|
|
601
|
+
container_reference: z.lazy(() => Environment2$inboundSchema),
|
|
602
|
+
}).optional(),
|
|
592
603
|
});
|
|
593
604
|
/** @internal */
|
|
594
605
|
export type Seven$Outbound = {
|
|
@@ -728,32 +739,32 @@ export const ToolDefinition4Filters$inboundSchema: z.ZodType<
|
|
|
728
739
|
ToolDefinition4Filters,
|
|
729
740
|
z.ZodTypeDef,
|
|
730
741
|
unknown
|
|
731
|
-
> =
|
|
732
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
742
|
+
> = discriminatedUnion("type", {
|
|
743
|
+
eq: FileSearchComparisonFilter$inboundSchema.and(
|
|
733
744
|
z.object({ type: z.literal("eq") }),
|
|
734
745
|
),
|
|
735
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
746
|
+
ne: FileSearchComparisonFilter$inboundSchema.and(
|
|
736
747
|
z.object({ type: z.literal("ne") }),
|
|
737
748
|
),
|
|
738
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
749
|
+
gt: FileSearchComparisonFilter$inboundSchema.and(
|
|
739
750
|
z.object({ type: z.literal("gt") }),
|
|
740
751
|
),
|
|
741
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
752
|
+
gte: FileSearchComparisonFilter$inboundSchema.and(
|
|
742
753
|
z.object({ type: z.literal("gte") }),
|
|
743
754
|
),
|
|
744
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
755
|
+
lt: FileSearchComparisonFilter$inboundSchema.and(
|
|
745
756
|
z.object({ type: z.literal("lt") }),
|
|
746
757
|
),
|
|
747
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
758
|
+
lte: FileSearchComparisonFilter$inboundSchema.and(
|
|
748
759
|
z.object({ type: z.literal("lte") }),
|
|
749
760
|
),
|
|
750
|
-
FileSearchCompoundFilter$inboundSchema.and(
|
|
761
|
+
and: FileSearchCompoundFilter$inboundSchema.and(
|
|
751
762
|
z.object({ type: z.literal("and") }),
|
|
752
763
|
),
|
|
753
|
-
FileSearchCompoundFilter$inboundSchema.and(
|
|
764
|
+
or: FileSearchCompoundFilter$inboundSchema.and(
|
|
754
765
|
z.object({ type: z.literal("or") }),
|
|
755
766
|
),
|
|
756
|
-
|
|
767
|
+
});
|
|
757
768
|
/** @internal */
|
|
758
769
|
export type ToolDefinition4Filters$Outbound =
|
|
759
770
|
| (FileSearchComparisonFilter$Outbound & { type: "eq" })
|
|
@@ -874,32 +885,32 @@ export const ToolDefinition4$inboundSchema: z.ZodType<
|
|
|
874
885
|
> = z.object({
|
|
875
886
|
type: ToolDefinition4Type$inboundSchema,
|
|
876
887
|
vector_store_ids: z.array(z.string()),
|
|
877
|
-
filters:
|
|
878
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
888
|
+
filters: discriminatedUnion("type", {
|
|
889
|
+
eq: FileSearchComparisonFilter$inboundSchema.and(
|
|
879
890
|
z.object({ type: z.literal("eq") }),
|
|
880
891
|
),
|
|
881
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
892
|
+
ne: FileSearchComparisonFilter$inboundSchema.and(
|
|
882
893
|
z.object({ type: z.literal("ne") }),
|
|
883
894
|
),
|
|
884
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
895
|
+
gt: FileSearchComparisonFilter$inboundSchema.and(
|
|
885
896
|
z.object({ type: z.literal("gt") }),
|
|
886
897
|
),
|
|
887
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
898
|
+
gte: FileSearchComparisonFilter$inboundSchema.and(
|
|
888
899
|
z.object({ type: z.literal("gte") }),
|
|
889
900
|
),
|
|
890
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
901
|
+
lt: FileSearchComparisonFilter$inboundSchema.and(
|
|
891
902
|
z.object({ type: z.literal("lt") }),
|
|
892
903
|
),
|
|
893
|
-
FileSearchComparisonFilter$inboundSchema.and(
|
|
904
|
+
lte: FileSearchComparisonFilter$inboundSchema.and(
|
|
894
905
|
z.object({ type: z.literal("lte") }),
|
|
895
906
|
),
|
|
896
|
-
FileSearchCompoundFilter$inboundSchema.and(
|
|
907
|
+
and: FileSearchCompoundFilter$inboundSchema.and(
|
|
897
908
|
z.object({ type: z.literal("and") }),
|
|
898
909
|
),
|
|
899
|
-
FileSearchCompoundFilter$inboundSchema.and(
|
|
910
|
+
or: FileSearchCompoundFilter$inboundSchema.and(
|
|
900
911
|
z.object({ type: z.literal("or") }),
|
|
901
912
|
),
|
|
902
|
-
|
|
913
|
+
}).optional(),
|
|
903
914
|
max_num_results: z.number().int().optional(),
|
|
904
915
|
ranking_options: z.lazy(() => ToolDefinitionRankingOptions$inboundSchema)
|
|
905
916
|
.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 {
|
|
@@ -25,18 +27,22 @@ import {
|
|
|
25
27
|
SearchAction$outboundSchema,
|
|
26
28
|
} from "./searchaction.js";
|
|
27
29
|
|
|
28
|
-
export type WebSearchAction =
|
|
30
|
+
export type WebSearchAction =
|
|
31
|
+
| SearchAction
|
|
32
|
+
| OpenPageAction
|
|
33
|
+
| FindAction
|
|
34
|
+
| discriminatedUnionTypes.Unknown<"type">;
|
|
29
35
|
|
|
30
36
|
/** @internal */
|
|
31
37
|
export const WebSearchAction$inboundSchema: z.ZodType<
|
|
32
38
|
WebSearchAction,
|
|
33
39
|
z.ZodTypeDef,
|
|
34
40
|
unknown
|
|
35
|
-
> =
|
|
36
|
-
SearchAction$inboundSchema,
|
|
37
|
-
OpenPageAction$inboundSchema,
|
|
38
|
-
FindAction$inboundSchema,
|
|
39
|
-
|
|
41
|
+
> = discriminatedUnion("type", {
|
|
42
|
+
search: SearchAction$inboundSchema,
|
|
43
|
+
open_page: OpenPageAction$inboundSchema,
|
|
44
|
+
find: FindAction$inboundSchema,
|
|
45
|
+
});
|
|
40
46
|
/** @internal */
|
|
41
47
|
export type WebSearchAction$Outbound =
|
|
42
48
|
| SearchAction$Outbound
|
|
@@ -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 * as components from "../components/index.js";
|
|
10
12
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -45,7 +47,11 @@ export type One = {
|
|
|
45
47
|
/**
|
|
46
48
|
* OK
|
|
47
49
|
*/
|
|
48
|
-
export type CreateChatCompletionStreamResponseBody =
|
|
50
|
+
export type CreateChatCompletionStreamResponseBody =
|
|
51
|
+
| One
|
|
52
|
+
| Two
|
|
53
|
+
| Three
|
|
54
|
+
| discriminatedUnionTypes.Unknown<"event">;
|
|
49
55
|
|
|
50
56
|
/** @internal */
|
|
51
57
|
export const CreateChatCompletionStreamRequest$inboundSchema: z.ZodType<
|
|
@@ -234,11 +240,11 @@ export const CreateChatCompletionStreamResponseBody$inboundSchema: z.ZodType<
|
|
|
234
240
|
CreateChatCompletionStreamResponseBody,
|
|
235
241
|
z.ZodTypeDef,
|
|
236
242
|
unknown
|
|
237
|
-
> =
|
|
238
|
-
z.lazy(() => One$inboundSchema),
|
|
239
|
-
z.lazy(() => Two$inboundSchema),
|
|
240
|
-
z.lazy(() => Three$inboundSchema),
|
|
241
|
-
|
|
243
|
+
> = discriminatedUnion("event", {
|
|
244
|
+
message: z.lazy(() => One$inboundSchema),
|
|
245
|
+
done: z.lazy(() => Two$inboundSchema),
|
|
246
|
+
error: z.lazy(() => Three$inboundSchema),
|
|
247
|
+
});
|
|
242
248
|
/** @internal */
|
|
243
249
|
export type CreateChatCompletionStreamResponseBody$Outbound =
|
|
244
250
|
| One$Outbound
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type CreateStandaloneVolumeRequest = {
|
|
13
|
+
idempotencyKey: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
16
|
+
*/
|
|
17
|
+
xOnBehalfOf?: string | undefined;
|
|
18
|
+
computeStandaloneVolumeCreate: components.ComputeStandaloneVolumeCreate;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export type CreateStandaloneVolumeResponse =
|
|
22
|
+
| components.ComputeStandaloneVolume
|
|
23
|
+
| components.ComputeErrorEnvelope;
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const CreateStandaloneVolumeRequest$inboundSchema: z.ZodType<
|
|
27
|
+
CreateStandaloneVolumeRequest,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
"Idempotency-Key": z.string(),
|
|
32
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
33
|
+
ComputeStandaloneVolumeCreate:
|
|
34
|
+
components.ComputeStandaloneVolumeCreate$inboundSchema,
|
|
35
|
+
}).transform((v) => {
|
|
36
|
+
return remap$(v, {
|
|
37
|
+
"Idempotency-Key": "idempotencyKey",
|
|
38
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
39
|
+
"ComputeStandaloneVolumeCreate": "computeStandaloneVolumeCreate",
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type CreateStandaloneVolumeRequest$Outbound = {
|
|
44
|
+
"Idempotency-Key": string;
|
|
45
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
46
|
+
ComputeStandaloneVolumeCreate:
|
|
47
|
+
components.ComputeStandaloneVolumeCreate$Outbound;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const CreateStandaloneVolumeRequest$outboundSchema: z.ZodType<
|
|
52
|
+
CreateStandaloneVolumeRequest$Outbound,
|
|
53
|
+
z.ZodTypeDef,
|
|
54
|
+
CreateStandaloneVolumeRequest
|
|
55
|
+
> = z.object({
|
|
56
|
+
idempotencyKey: z.string(),
|
|
57
|
+
xOnBehalfOf: z.string().optional(),
|
|
58
|
+
computeStandaloneVolumeCreate:
|
|
59
|
+
components.ComputeStandaloneVolumeCreate$outboundSchema,
|
|
60
|
+
}).transform((v) => {
|
|
61
|
+
return remap$(v, {
|
|
62
|
+
idempotencyKey: "Idempotency-Key",
|
|
63
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
64
|
+
computeStandaloneVolumeCreate: "ComputeStandaloneVolumeCreate",
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export function createStandaloneVolumeRequestToJSON(
|
|
69
|
+
createStandaloneVolumeRequest: CreateStandaloneVolumeRequest,
|
|
70
|
+
): string {
|
|
71
|
+
return JSON.stringify(
|
|
72
|
+
CreateStandaloneVolumeRequest$outboundSchema.parse(
|
|
73
|
+
createStandaloneVolumeRequest,
|
|
74
|
+
),
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
export function createStandaloneVolumeRequestFromJSON(
|
|
78
|
+
jsonString: string,
|
|
79
|
+
): SafeParseResult<CreateStandaloneVolumeRequest, SDKValidationError> {
|
|
80
|
+
return safeParse(
|
|
81
|
+
jsonString,
|
|
82
|
+
(x) => CreateStandaloneVolumeRequest$inboundSchema.parse(JSON.parse(x)),
|
|
83
|
+
`Failed to parse 'CreateStandaloneVolumeRequest' from JSON`,
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const CreateStandaloneVolumeResponse$inboundSchema: z.ZodType<
|
|
89
|
+
CreateStandaloneVolumeResponse,
|
|
90
|
+
z.ZodTypeDef,
|
|
91
|
+
unknown
|
|
92
|
+
> = z.union([
|
|
93
|
+
components.ComputeStandaloneVolume$inboundSchema,
|
|
94
|
+
components.ComputeErrorEnvelope$inboundSchema,
|
|
95
|
+
]);
|
|
96
|
+
/** @internal */
|
|
97
|
+
export type CreateStandaloneVolumeResponse$Outbound =
|
|
98
|
+
| components.ComputeStandaloneVolume$Outbound
|
|
99
|
+
| components.ComputeErrorEnvelope$Outbound;
|
|
100
|
+
|
|
101
|
+
/** @internal */
|
|
102
|
+
export const CreateStandaloneVolumeResponse$outboundSchema: z.ZodType<
|
|
103
|
+
CreateStandaloneVolumeResponse$Outbound,
|
|
104
|
+
z.ZodTypeDef,
|
|
105
|
+
CreateStandaloneVolumeResponse
|
|
106
|
+
> = z.union([
|
|
107
|
+
components.ComputeStandaloneVolume$outboundSchema,
|
|
108
|
+
components.ComputeErrorEnvelope$outboundSchema,
|
|
109
|
+
]);
|
|
110
|
+
|
|
111
|
+
export function createStandaloneVolumeResponseToJSON(
|
|
112
|
+
createStandaloneVolumeResponse: CreateStandaloneVolumeResponse,
|
|
113
|
+
): string {
|
|
114
|
+
return JSON.stringify(
|
|
115
|
+
CreateStandaloneVolumeResponse$outboundSchema.parse(
|
|
116
|
+
createStandaloneVolumeResponse,
|
|
117
|
+
),
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
export function createStandaloneVolumeResponseFromJSON(
|
|
121
|
+
jsonString: string,
|
|
122
|
+
): SafeParseResult<CreateStandaloneVolumeResponse, SDKValidationError> {
|
|
123
|
+
return safeParse(
|
|
124
|
+
jsonString,
|
|
125
|
+
(x) => CreateStandaloneVolumeResponse$inboundSchema.parse(JSON.parse(x)),
|
|
126
|
+
`Failed to parse 'CreateStandaloneVolumeResponse' from JSON`,
|
|
127
|
+
);
|
|
128
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type DeleteStandaloneVolumeRequest = {
|
|
13
|
+
id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
16
|
+
*/
|
|
17
|
+
xOnBehalfOf?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type DeleteStandaloneVolumeResponse =
|
|
21
|
+
| components.ComputeStandaloneVolume
|
|
22
|
+
| components.ComputeErrorEnvelope;
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const DeleteStandaloneVolumeRequest$inboundSchema: z.ZodType<
|
|
26
|
+
DeleteStandaloneVolumeRequest,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
id: z.string(),
|
|
31
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
32
|
+
}).transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
/** @internal */
|
|
38
|
+
export type DeleteStandaloneVolumeRequest$Outbound = {
|
|
39
|
+
id: string;
|
|
40
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const DeleteStandaloneVolumeRequest$outboundSchema: z.ZodType<
|
|
45
|
+
DeleteStandaloneVolumeRequest$Outbound,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
DeleteStandaloneVolumeRequest
|
|
48
|
+
> = z.object({
|
|
49
|
+
id: z.string(),
|
|
50
|
+
xOnBehalfOf: z.string().optional(),
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export function deleteStandaloneVolumeRequestToJSON(
|
|
58
|
+
deleteStandaloneVolumeRequest: DeleteStandaloneVolumeRequest,
|
|
59
|
+
): string {
|
|
60
|
+
return JSON.stringify(
|
|
61
|
+
DeleteStandaloneVolumeRequest$outboundSchema.parse(
|
|
62
|
+
deleteStandaloneVolumeRequest,
|
|
63
|
+
),
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export function deleteStandaloneVolumeRequestFromJSON(
|
|
67
|
+
jsonString: string,
|
|
68
|
+
): SafeParseResult<DeleteStandaloneVolumeRequest, SDKValidationError> {
|
|
69
|
+
return safeParse(
|
|
70
|
+
jsonString,
|
|
71
|
+
(x) => DeleteStandaloneVolumeRequest$inboundSchema.parse(JSON.parse(x)),
|
|
72
|
+
`Failed to parse 'DeleteStandaloneVolumeRequest' from JSON`,
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/** @internal */
|
|
77
|
+
export const DeleteStandaloneVolumeResponse$inboundSchema: z.ZodType<
|
|
78
|
+
DeleteStandaloneVolumeResponse,
|
|
79
|
+
z.ZodTypeDef,
|
|
80
|
+
unknown
|
|
81
|
+
> = z.union([
|
|
82
|
+
components.ComputeStandaloneVolume$inboundSchema,
|
|
83
|
+
components.ComputeErrorEnvelope$inboundSchema,
|
|
84
|
+
]);
|
|
85
|
+
/** @internal */
|
|
86
|
+
export type DeleteStandaloneVolumeResponse$Outbound =
|
|
87
|
+
| components.ComputeStandaloneVolume$Outbound
|
|
88
|
+
| components.ComputeErrorEnvelope$Outbound;
|
|
89
|
+
|
|
90
|
+
/** @internal */
|
|
91
|
+
export const DeleteStandaloneVolumeResponse$outboundSchema: z.ZodType<
|
|
92
|
+
DeleteStandaloneVolumeResponse$Outbound,
|
|
93
|
+
z.ZodTypeDef,
|
|
94
|
+
DeleteStandaloneVolumeResponse
|
|
95
|
+
> = z.union([
|
|
96
|
+
components.ComputeStandaloneVolume$outboundSchema,
|
|
97
|
+
components.ComputeErrorEnvelope$outboundSchema,
|
|
98
|
+
]);
|
|
99
|
+
|
|
100
|
+
export function deleteStandaloneVolumeResponseToJSON(
|
|
101
|
+
deleteStandaloneVolumeResponse: DeleteStandaloneVolumeResponse,
|
|
102
|
+
): string {
|
|
103
|
+
return JSON.stringify(
|
|
104
|
+
DeleteStandaloneVolumeResponse$outboundSchema.parse(
|
|
105
|
+
deleteStandaloneVolumeResponse,
|
|
106
|
+
),
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
export function deleteStandaloneVolumeResponseFromJSON(
|
|
110
|
+
jsonString: string,
|
|
111
|
+
): SafeParseResult<DeleteStandaloneVolumeResponse, SDKValidationError> {
|
|
112
|
+
return safeParse(
|
|
113
|
+
jsonString,
|
|
114
|
+
(x) => DeleteStandaloneVolumeResponse$inboundSchema.parse(JSON.parse(x)),
|
|
115
|
+
`Failed to parse 'DeleteStandaloneVolumeResponse' from JSON`,
|
|
116
|
+
);
|
|
117
|
+
}
|
|
@@ -10,9 +10,15 @@ import * as components from "../components/index.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type GetComputeUsageRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* Inclusive RFC 3339 timestamp on an exact UTC minute boundary; never rounded.
|
|
15
|
+
*/
|
|
13
16
|
from?: Date | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Exclusive RFC 3339 timestamp on an exact UTC minute boundary; never rounded and cannot be later than the server's current UTC minute boundary.
|
|
19
|
+
*/
|
|
14
20
|
to?: Date | undefined;
|
|
15
|
-
resourceType?: components.
|
|
21
|
+
resourceType?: components.ComputeUsageResourceType | undefined;
|
|
16
22
|
cursor?: string | undefined;
|
|
17
23
|
limit?: number | undefined;
|
|
18
24
|
/**
|
|
@@ -35,7 +41,7 @@ export const GetComputeUsageRequest$inboundSchema: z.ZodType<
|
|
|
35
41
|
.optional(),
|
|
36
42
|
to: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
37
43
|
.optional(),
|
|
38
|
-
resource_type: components.
|
|
44
|
+
resource_type: components.ComputeUsageResourceType$inboundSchema.optional(),
|
|
39
45
|
cursor: z.string().optional(),
|
|
40
46
|
limit: z.number().int().default(50),
|
|
41
47
|
"X-On-Behalf-Of": z.string().optional(),
|
|
@@ -63,7 +69,7 @@ export const GetComputeUsageRequest$outboundSchema: z.ZodType<
|
|
|
63
69
|
> = z.object({
|
|
64
70
|
from: z.date().transform(v => v.toISOString()).optional(),
|
|
65
71
|
to: z.date().transform(v => v.toISOString()).optional(),
|
|
66
|
-
resourceType: components.
|
|
72
|
+
resourceType: components.ComputeUsageResourceType$outboundSchema.optional(),
|
|
67
73
|
cursor: z.string().optional(),
|
|
68
74
|
limit: z.number().int().default(50),
|
|
69
75
|
xOnBehalfOf: z.string().optional(),
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type GetPricingRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
15
|
+
*/
|
|
16
|
+
xOnBehalfOf?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type GetPricingResponseResult =
|
|
20
|
+
| components.ComputePricing
|
|
21
|
+
| components.ComputeErrorEnvelope;
|
|
22
|
+
|
|
23
|
+
export type GetPricingResponse = {
|
|
24
|
+
headers: { [k: string]: Array<string> };
|
|
25
|
+
result: components.ComputePricing | components.ComputeErrorEnvelope;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const GetPricingRequest$inboundSchema: z.ZodType<
|
|
30
|
+
GetPricingRequest,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
35
|
+
}).transform((v) => {
|
|
36
|
+
return remap$(v, {
|
|
37
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type GetPricingRequest$Outbound = {
|
|
42
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const GetPricingRequest$outboundSchema: z.ZodType<
|
|
47
|
+
GetPricingRequest$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
GetPricingRequest
|
|
50
|
+
> = z.object({
|
|
51
|
+
xOnBehalfOf: z.string().optional(),
|
|
52
|
+
}).transform((v) => {
|
|
53
|
+
return remap$(v, {
|
|
54
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export function getPricingRequestToJSON(
|
|
59
|
+
getPricingRequest: GetPricingRequest,
|
|
60
|
+
): string {
|
|
61
|
+
return JSON.stringify(
|
|
62
|
+
GetPricingRequest$outboundSchema.parse(getPricingRequest),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function getPricingRequestFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<GetPricingRequest, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) => GetPricingRequest$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'GetPricingRequest' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const GetPricingResponseResult$inboundSchema: z.ZodType<
|
|
77
|
+
GetPricingResponseResult,
|
|
78
|
+
z.ZodTypeDef,
|
|
79
|
+
unknown
|
|
80
|
+
> = z.union([
|
|
81
|
+
components.ComputePricing$inboundSchema,
|
|
82
|
+
components.ComputeErrorEnvelope$inboundSchema,
|
|
83
|
+
]);
|
|
84
|
+
/** @internal */
|
|
85
|
+
export type GetPricingResponseResult$Outbound =
|
|
86
|
+
| components.ComputePricing$Outbound
|
|
87
|
+
| components.ComputeErrorEnvelope$Outbound;
|
|
88
|
+
|
|
89
|
+
/** @internal */
|
|
90
|
+
export const GetPricingResponseResult$outboundSchema: z.ZodType<
|
|
91
|
+
GetPricingResponseResult$Outbound,
|
|
92
|
+
z.ZodTypeDef,
|
|
93
|
+
GetPricingResponseResult
|
|
94
|
+
> = z.union([
|
|
95
|
+
components.ComputePricing$outboundSchema,
|
|
96
|
+
components.ComputeErrorEnvelope$outboundSchema,
|
|
97
|
+
]);
|
|
98
|
+
|
|
99
|
+
export function getPricingResponseResultToJSON(
|
|
100
|
+
getPricingResponseResult: GetPricingResponseResult,
|
|
101
|
+
): string {
|
|
102
|
+
return JSON.stringify(
|
|
103
|
+
GetPricingResponseResult$outboundSchema.parse(getPricingResponseResult),
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
export function getPricingResponseResultFromJSON(
|
|
107
|
+
jsonString: string,
|
|
108
|
+
): SafeParseResult<GetPricingResponseResult, SDKValidationError> {
|
|
109
|
+
return safeParse(
|
|
110
|
+
jsonString,
|
|
111
|
+
(x) => GetPricingResponseResult$inboundSchema.parse(JSON.parse(x)),
|
|
112
|
+
`Failed to parse 'GetPricingResponseResult' from JSON`,
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/** @internal */
|
|
117
|
+
export const GetPricingResponse$inboundSchema: z.ZodType<
|
|
118
|
+
GetPricingResponse,
|
|
119
|
+
z.ZodTypeDef,
|
|
120
|
+
unknown
|
|
121
|
+
> = z.object({
|
|
122
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
123
|
+
Result: z.union([
|
|
124
|
+
components.ComputePricing$inboundSchema,
|
|
125
|
+
components.ComputeErrorEnvelope$inboundSchema,
|
|
126
|
+
]),
|
|
127
|
+
}).transform((v) => {
|
|
128
|
+
return remap$(v, {
|
|
129
|
+
"Headers": "headers",
|
|
130
|
+
"Result": "result",
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
/** @internal */
|
|
134
|
+
export type GetPricingResponse$Outbound = {
|
|
135
|
+
Headers: { [k: string]: Array<string> };
|
|
136
|
+
Result:
|
|
137
|
+
| components.ComputePricing$Outbound
|
|
138
|
+
| components.ComputeErrorEnvelope$Outbound;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/** @internal */
|
|
142
|
+
export const GetPricingResponse$outboundSchema: z.ZodType<
|
|
143
|
+
GetPricingResponse$Outbound,
|
|
144
|
+
z.ZodTypeDef,
|
|
145
|
+
GetPricingResponse
|
|
146
|
+
> = z.object({
|
|
147
|
+
headers: z.record(z.array(z.string())),
|
|
148
|
+
result: z.union([
|
|
149
|
+
components.ComputePricing$outboundSchema,
|
|
150
|
+
components.ComputeErrorEnvelope$outboundSchema,
|
|
151
|
+
]),
|
|
152
|
+
}).transform((v) => {
|
|
153
|
+
return remap$(v, {
|
|
154
|
+
headers: "Headers",
|
|
155
|
+
result: "Result",
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
export function getPricingResponseToJSON(
|
|
160
|
+
getPricingResponse: GetPricingResponse,
|
|
161
|
+
): string {
|
|
162
|
+
return JSON.stringify(
|
|
163
|
+
GetPricingResponse$outboundSchema.parse(getPricingResponse),
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
export function getPricingResponseFromJSON(
|
|
167
|
+
jsonString: string,
|
|
168
|
+
): SafeParseResult<GetPricingResponse, SDKValidationError> {
|
|
169
|
+
return safeParse(
|
|
170
|
+
jsonString,
|
|
171
|
+
(x) => GetPricingResponse$inboundSchema.parse(JSON.parse(x)),
|
|
172
|
+
`Failed to parse 'GetPricingResponse' from JSON`,
|
|
173
|
+
);
|
|
174
|
+
}
|