@orq-ai/node 4.13.0-rc.41 → 4.13.0-rc.43
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 +36 -55
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/index.d.ts +0 -17
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -17
- package/models/components/index.js.map +1 -1
- package/models/components/modeldocument.d.ts +1 -0
- package/models/components/modeldocument.d.ts.map +1 -1
- package/models/components/modeldocument.js +2 -0
- package/models/components/modeldocument.js.map +1 -1
- package/models/components/queryreportrequest.d.ts +10 -10
- package/models/components/queryreportrequest.d.ts.map +1 -1
- package/models/components/queryreportrequest.js +11 -11
- package/models/components/queryreportrequest.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/billing.js +1 -1
- package/models/operations/createannotationqueue.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/geteval.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +0 -6
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -6
- package/models/operations/index.js.map +1 -1
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/modelcreate.d.ts +1 -0
- package/models/operations/modelcreate.d.ts.map +1 -1
- package/models/operations/modelcreate.js +2 -0
- package/models/operations/modelcreate.js.map +1 -1
- package/models/operations/modelcreateawsbedrock.d.ts +1 -0
- package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelcreateawsbedrock.js +2 -0
- package/models/operations/modelcreateawsbedrock.js.map +1 -1
- package/models/operations/modelcreateopenailike.d.ts +1 -0
- package/models/operations/modelcreateopenailike.d.ts.map +1 -1
- package/models/operations/modelcreateopenailike.js +2 -0
- package/models/operations/modelcreateopenailike.js.map +1 -1
- package/models/operations/modelcreatevertex.d.ts +1 -0
- package/models/operations/modelcreatevertex.d.ts.map +1 -1
- package/models/operations/modelcreatevertex.js +2 -0
- package/models/operations/modelcreatevertex.js.map +1 -1
- package/models/operations/modelupdate.d.ts +1 -0
- package/models/operations/modelupdate.d.ts.map +1 -1
- package/models/operations/modelupdate.js +2 -0
- package/models/operations/modelupdate.js.map +1 -1
- package/models/operations/modelupdateawsbedrock.d.ts +1 -0
- package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelupdateawsbedrock.js +2 -0
- package/models/operations/modelupdateawsbedrock.js.map +1 -1
- package/models/operations/modelupdateopenailike.d.ts +1 -0
- package/models/operations/modelupdateopenailike.d.ts.map +1 -1
- package/models/operations/modelupdateopenailike.js +2 -0
- package/models/operations/modelupdateopenailike.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.js +28 -28
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.js +28 -28
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.js +6 -6
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.js +26 -26
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.js +6 -6
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.js +31 -31
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.js +22 -22
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.js +24 -24
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.js +18 -18
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.js +18 -18
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.js +5 -5
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.js +25 -25
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.js +3 -3
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.js +18 -18
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.js +9 -9
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.js +30 -30
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.js +26 -26
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.js +13 -13
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotator.js +32 -32
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.js +28 -28
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.js +30 -30
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.js +14 -14
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.js +4 -4
- package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.js +31 -31
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.js +32 -32
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.js +1 -1
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.js +8 -8
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.js +10 -10
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/twenty.js +1 -1
- package/models/operations/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +6 -6
- package/sdk/alerts.d.ts +0 -7
- package/sdk/alerts.d.ts.map +1 -1
- package/sdk/alerts.js +0 -10
- package/sdk/alerts.js.map +1 -1
- package/sdk/budgets.d.ts +0 -7
- package/sdk/budgets.d.ts.map +1 -1
- package/sdk/budgets.js +0 -10
- package/sdk/budgets.js.map +1 -1
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/sdk/sdk.d.ts +0 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -4
- package/sdk/sdk.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/index.ts +0 -17
- package/src/models/components/modeldocument.ts +3 -0
- package/src/models/components/queryreportrequest.ts +20 -24
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/billing.ts +1 -1
- package/src/models/operations/createannotationqueue.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +0 -6
- package/src/models/operations/listannotationqueues.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/modelcreate.ts +3 -0
- package/src/models/operations/modelcreateawsbedrock.ts +3 -0
- package/src/models/operations/modelcreateopenailike.ts +3 -0
- package/src/models/operations/modelcreatevertex.ts +3 -0
- package/src/models/operations/modelupdate.ts +3 -0
- package/src/models/operations/modelupdateawsbedrock.ts +3 -0
- package/src/models/operations/modelupdateopenailike.ts +3 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +22 -22
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +5 -5
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +25 -25
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +3 -3
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +9 -9
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +13 -13
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +32 -32
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +8 -8
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +10 -10
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/twenty.ts +1 -1
- package/src/models/operations/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/alerts.ts +0 -18
- package/src/sdk/budgets.ts +0 -18
- package/src/sdk/feedback.ts +2 -2
- package/src/sdk/sdk.ts +0 -6
- package/funcs/alertsCheckNow.d.ts +0 -18
- package/funcs/alertsCheckNow.d.ts.map +0 -1
- package/funcs/alertsCheckNow.js +0 -124
- package/funcs/alertsCheckNow.js.map +0 -1
- package/funcs/budgetsGetConsumption.d.ts +0 -18
- package/funcs/budgetsGetConsumption.d.ts.map +0 -1
- package/funcs/budgetsGetConsumption.js +0 -121
- package/funcs/budgetsGetConsumption.js.map +0 -1
- package/funcs/monitorsCreate.d.ts +0 -17
- package/funcs/monitorsCreate.d.ts.map +0 -1
- package/funcs/monitorsCreate.js +0 -115
- package/funcs/monitorsCreate.js.map +0 -1
- package/funcs/monitorsDelete.d.ts +0 -18
- package/funcs/monitorsDelete.d.ts.map +0 -1
- package/funcs/monitorsDelete.js +0 -121
- package/funcs/monitorsDelete.js.map +0 -1
- package/funcs/monitorsGet.d.ts +0 -18
- package/funcs/monitorsGet.d.ts.map +0 -1
- package/funcs/monitorsGet.js +0 -121
- package/funcs/monitorsGet.js.map +0 -1
- package/funcs/monitorsList.d.ts +0 -18
- package/funcs/monitorsList.d.ts.map +0 -1
- package/funcs/monitorsList.js +0 -122
- package/funcs/monitorsList.js.map +0 -1
- package/funcs/monitorsListPresets.d.ts +0 -17
- package/funcs/monitorsListPresets.d.ts.map +0 -1
- package/funcs/monitorsListPresets.js +0 -105
- package/funcs/monitorsListPresets.js.map +0 -1
- package/funcs/monitorsUpdate.d.ts +0 -18
- package/funcs/monitorsUpdate.d.ts.map +0 -1
- package/funcs/monitorsUpdate.js +0 -124
- package/funcs/monitorsUpdate.js.map +0 -1
- package/models/components/checkalertnowrequest.d.ts +0 -8
- package/models/components/checkalertnowrequest.d.ts.map +0 -1
- package/models/components/checkalertnowrequest.js +0 -47
- package/models/components/checkalertnowrequest.js.map +0 -1
- package/models/components/checkalertnowresponse.d.ts +0 -8
- package/models/components/checkalertnowresponse.d.ts.map +0 -1
- package/models/components/checkalertnowresponse.js +0 -48
- package/models/components/checkalertnowresponse.js.map +0 -1
- package/models/components/createmonitorrequest.d.ts +0 -44
- package/models/components/createmonitorrequest.d.ts.map +0 -1
- package/models/components/createmonitorrequest.js +0 -63
- package/models/components/createmonitorrequest.js.map +0 -1
- package/models/components/createmonitorresponse.d.ts +0 -14
- package/models/components/createmonitorresponse.d.ts.map +0 -1
- package/models/components/createmonitorresponse.js +0 -51
- package/models/components/createmonitorresponse.js.map +0 -1
- package/models/components/deletemonitorresponse.d.ts +0 -8
- package/models/components/deletemonitorresponse.d.ts.map +0 -1
- package/models/components/deletemonitorresponse.js +0 -48
- package/models/components/deletemonitorresponse.js.map +0 -1
- package/models/components/getbudgetconsumptionresponse.d.ts +0 -38
- package/models/components/getbudgetconsumptionresponse.d.ts.map +0 -1
- package/models/components/getbudgetconsumptionresponse.js +0 -63
- package/models/components/getbudgetconsumptionresponse.js.map +0 -1
- package/models/components/getmonitorresponse.d.ts +0 -14
- package/models/components/getmonitorresponse.d.ts.map +0 -1
- package/models/components/getmonitorresponse.js +0 -51
- package/models/components/getmonitorresponse.js.map +0 -1
- package/models/components/listmonitorpresetsresponse.d.ts +0 -18
- package/models/components/listmonitorpresetsresponse.d.ts.map +0 -1
- package/models/components/listmonitorpresetsresponse.js +0 -52
- package/models/components/listmonitorpresetsresponse.js.map +0 -1
- package/models/components/listmonitorsresponse.d.ts +0 -25
- package/models/components/listmonitorsresponse.d.ts.map +0 -1
- package/models/components/listmonitorsresponse.js +0 -58
- package/models/components/listmonitorsresponse.js.map +0 -1
- package/models/components/monitor.d.ts +0 -82
- package/models/components/monitor.d.ts.map +0 -1
- package/models/components/monitor.js +0 -90
- package/models/components/monitor.js.map +0 -1
- package/models/components/monitorpreset.d.ts +0 -54
- package/models/components/monitorpreset.d.ts.map +0 -1
- package/models/components/monitorpreset.js +0 -72
- package/models/components/monitorpreset.js.map +0 -1
- package/models/components/monitorwidget.d.ts +0 -72
- package/models/components/monitorwidget.d.ts.map +0 -1
- package/models/components/monitorwidget.js +0 -92
- package/models/components/monitorwidget.js.map +0 -1
- package/models/components/monitorwidgetdisplay.d.ts +0 -97
- package/models/components/monitorwidgetdisplay.d.ts.map +0 -1
- package/models/components/monitorwidgetdisplay.js +0 -113
- package/models/components/monitorwidgetdisplay.js.map +0 -1
- package/models/components/monitorwidgetlayout.d.ts +0 -35
- package/models/components/monitorwidgetlayout.d.ts.map +0 -1
- package/models/components/monitorwidgetlayout.js +0 -64
- package/models/components/monitorwidgetlayout.js.map +0 -1
- package/models/components/monitorwidgetquery.d.ts +0 -66
- package/models/components/monitorwidgetquery.d.ts.map +0 -1
- package/models/components/monitorwidgetquery.js +0 -89
- package/models/components/monitorwidgetquery.js.map +0 -1
- package/models/components/updatemonitorrequest.d.ts +0 -34
- package/models/components/updatemonitorrequest.d.ts.map +0 -1
- package/models/components/updatemonitorrequest.js +0 -59
- package/models/components/updatemonitorrequest.js.map +0 -1
- package/models/components/updatemonitorresponse.d.ts +0 -14
- package/models/components/updatemonitorresponse.d.ts.map +0 -1
- package/models/components/updatemonitorresponse.js +0 -51
- package/models/components/updatemonitorresponse.js.map +0 -1
- package/models/operations/alertchecknow.d.ts +0 -18
- package/models/operations/alertchecknow.d.ts.map +0 -1
- package/models/operations/alertchecknow.js +0 -57
- package/models/operations/alertchecknow.js.map +0 -1
- package/models/operations/budgetgetconsumption.d.ts +0 -15
- package/models/operations/budgetgetconsumption.d.ts.map +0 -1
- package/models/operations/budgetgetconsumption.js +0 -54
- package/models/operations/budgetgetconsumption.js.map +0 -1
- package/models/operations/monitordelete.d.ts +0 -15
- package/models/operations/monitordelete.d.ts.map +0 -1
- package/models/operations/monitordelete.js +0 -54
- package/models/operations/monitordelete.js.map +0 -1
- package/models/operations/monitorget.d.ts +0 -15
- package/models/operations/monitorget.d.ts.map +0 -1
- package/models/operations/monitorget.js +0 -54
- package/models/operations/monitorget.js.map +0 -1
- package/models/operations/monitorlist.d.ts +0 -39
- package/models/operations/monitorlist.d.ts.map +0 -1
- package/models/operations/monitorlist.js +0 -59
- package/models/operations/monitorlist.js.map +0 -1
- package/models/operations/monitorupdate.d.ts +0 -18
- package/models/operations/monitorupdate.d.ts.map +0 -1
- package/models/operations/monitorupdate.js +0 -57
- package/models/operations/monitorupdate.js.map +0 -1
- package/sdk/monitors.d.ts +0 -48
- package/sdk/monitors.d.ts.map +0 -1
- package/sdk/monitors.js +0 -72
- package/sdk/monitors.js.map +0 -1
- package/src/funcs/alertsCheckNow.ts +0 -171
- package/src/funcs/budgetsGetConsumption.ts +0 -169
- package/src/funcs/monitorsCreate.ts +0 -162
- package/src/funcs/monitorsDelete.ts +0 -168
- package/src/funcs/monitorsGet.ts +0 -168
- package/src/funcs/monitorsList.ts +0 -171
- package/src/funcs/monitorsListPresets.ts +0 -144
- package/src/funcs/monitorsUpdate.ts +0 -171
- package/src/models/components/checkalertnowrequest.ts +0 -25
- package/src/models/components/checkalertnowresponse.ts +0 -27
- package/src/models/components/createmonitorrequest.ts +0 -80
- package/src/models/components/createmonitorresponse.ts +0 -35
- package/src/models/components/deletemonitorresponse.ts +0 -27
- package/src/models/components/getbudgetconsumptionresponse.ts +0 -71
- package/src/models/components/getmonitorresponse.ts +0 -35
- package/src/models/components/listmonitorpresetsresponse.ts +0 -40
- package/src/models/components/listmonitorsresponse.ts +0 -53
- package/src/models/components/monitor.ts +0 -130
- package/src/models/components/monitorpreset.ts +0 -91
- package/src/models/components/monitorwidget.ts +0 -142
- package/src/models/components/monitorwidgetdisplay.ts +0 -166
- package/src/models/components/monitorwidgetlayout.ts +0 -75
- package/src/models/components/monitorwidgetquery.ts +0 -127
- package/src/models/components/updatemonitorrequest.ts +0 -66
- package/src/models/components/updatemonitorresponse.ts +0 -35
- package/src/models/operations/alertchecknow.ts +0 -44
- package/src/models/operations/budgetgetconsumption.ts +0 -41
- package/src/models/operations/monitordelete.ts +0 -39
- package/src/models/operations/monitorget.ts +0 -39
- package/src/models/operations/monitorlist.ts +0 -68
- package/src/models/operations/monitorupdate.ts +0 -44
- package/src/sdk/monitors.ts +0 -116
|
@@ -1,142 +0,0 @@
|
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
import {
|
|
12
|
-
MonitorWidgetDisplay,
|
|
13
|
-
MonitorWidgetDisplay$inboundSchema,
|
|
14
|
-
MonitorWidgetDisplay$Outbound,
|
|
15
|
-
MonitorWidgetDisplay$outboundSchema,
|
|
16
|
-
} from "./monitorwidgetdisplay.js";
|
|
17
|
-
import {
|
|
18
|
-
MonitorWidgetLayout,
|
|
19
|
-
MonitorWidgetLayout$inboundSchema,
|
|
20
|
-
MonitorWidgetLayout$Outbound,
|
|
21
|
-
MonitorWidgetLayout$outboundSchema,
|
|
22
|
-
} from "./monitorwidgetlayout.js";
|
|
23
|
-
import {
|
|
24
|
-
MonitorWidgetQuery,
|
|
25
|
-
MonitorWidgetQuery$inboundSchema,
|
|
26
|
-
MonitorWidgetQuery$Outbound,
|
|
27
|
-
MonitorWidgetQuery$outboundSchema,
|
|
28
|
-
} from "./monitorwidgetquery.js";
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Widget rendering type.
|
|
32
|
-
*/
|
|
33
|
-
export const MonitorWidgetType = {
|
|
34
|
-
Timeseries: "timeseries",
|
|
35
|
-
Toplist: "toplist",
|
|
36
|
-
Bignumber: "bignumber",
|
|
37
|
-
} as const;
|
|
38
|
-
/**
|
|
39
|
-
* Widget rendering type.
|
|
40
|
-
*/
|
|
41
|
-
export type MonitorWidgetType = ClosedEnum<typeof MonitorWidgetType>;
|
|
42
|
-
|
|
43
|
-
export type MonitorWidget = {
|
|
44
|
-
/**
|
|
45
|
-
* Widget identifier, unique within the monitor. Provide your own or
|
|
46
|
-
*
|
|
47
|
-
* @remarks
|
|
48
|
-
* leave empty to have the server assign one.
|
|
49
|
-
*/
|
|
50
|
-
widgetId: string;
|
|
51
|
-
/**
|
|
52
|
-
* Widget rendering type.
|
|
53
|
-
*/
|
|
54
|
-
type: MonitorWidgetType;
|
|
55
|
-
/**
|
|
56
|
-
* Title shown in the widget header.
|
|
57
|
-
*/
|
|
58
|
-
title: string;
|
|
59
|
-
/**
|
|
60
|
-
* Queries feeding the widget. Each maps 1:1 onto a Reporting API
|
|
61
|
-
*
|
|
62
|
-
* @remarks
|
|
63
|
-
* request; the viewer's time range, time zone, and the query mode
|
|
64
|
-
* derived from the widget type are supplied at render time.
|
|
65
|
-
*/
|
|
66
|
-
queries: Array<MonitorWidgetQuery>;
|
|
67
|
-
/**
|
|
68
|
-
* Display options such as visualization style and unit.
|
|
69
|
-
*/
|
|
70
|
-
display?: MonitorWidgetDisplay | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Position and size on the monitor grid.
|
|
73
|
-
*/
|
|
74
|
-
layout: MonitorWidgetLayout;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
/** @internal */
|
|
78
|
-
export const MonitorWidgetType$inboundSchema: z.ZodNativeEnum<
|
|
79
|
-
typeof MonitorWidgetType
|
|
80
|
-
> = z.nativeEnum(MonitorWidgetType);
|
|
81
|
-
/** @internal */
|
|
82
|
-
export const MonitorWidgetType$outboundSchema: z.ZodNativeEnum<
|
|
83
|
-
typeof MonitorWidgetType
|
|
84
|
-
> = MonitorWidgetType$inboundSchema;
|
|
85
|
-
|
|
86
|
-
/** @internal */
|
|
87
|
-
export const MonitorWidget$inboundSchema: z.ZodType<
|
|
88
|
-
MonitorWidget,
|
|
89
|
-
z.ZodTypeDef,
|
|
90
|
-
unknown
|
|
91
|
-
> = z.object({
|
|
92
|
-
widget_id: z.string(),
|
|
93
|
-
type: MonitorWidgetType$inboundSchema,
|
|
94
|
-
title: z.string(),
|
|
95
|
-
queries: z.array(MonitorWidgetQuery$inboundSchema),
|
|
96
|
-
display: MonitorWidgetDisplay$inboundSchema.optional(),
|
|
97
|
-
layout: MonitorWidgetLayout$inboundSchema,
|
|
98
|
-
}).transform((v) => {
|
|
99
|
-
return remap$(v, {
|
|
100
|
-
"widget_id": "widgetId",
|
|
101
|
-
});
|
|
102
|
-
});
|
|
103
|
-
/** @internal */
|
|
104
|
-
export type MonitorWidget$Outbound = {
|
|
105
|
-
widget_id: string;
|
|
106
|
-
type: string;
|
|
107
|
-
title: string;
|
|
108
|
-
queries: Array<MonitorWidgetQuery$Outbound>;
|
|
109
|
-
display?: MonitorWidgetDisplay$Outbound | undefined;
|
|
110
|
-
layout: MonitorWidgetLayout$Outbound;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
/** @internal */
|
|
114
|
-
export const MonitorWidget$outboundSchema: z.ZodType<
|
|
115
|
-
MonitorWidget$Outbound,
|
|
116
|
-
z.ZodTypeDef,
|
|
117
|
-
MonitorWidget
|
|
118
|
-
> = z.object({
|
|
119
|
-
widgetId: z.string(),
|
|
120
|
-
type: MonitorWidgetType$outboundSchema,
|
|
121
|
-
title: z.string(),
|
|
122
|
-
queries: z.array(MonitorWidgetQuery$outboundSchema),
|
|
123
|
-
display: MonitorWidgetDisplay$outboundSchema.optional(),
|
|
124
|
-
layout: MonitorWidgetLayout$outboundSchema,
|
|
125
|
-
}).transform((v) => {
|
|
126
|
-
return remap$(v, {
|
|
127
|
-
widgetId: "widget_id",
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
export function monitorWidgetToJSON(monitorWidget: MonitorWidget): string {
|
|
132
|
-
return JSON.stringify(MonitorWidget$outboundSchema.parse(monitorWidget));
|
|
133
|
-
}
|
|
134
|
-
export function monitorWidgetFromJSON(
|
|
135
|
-
jsonString: string,
|
|
136
|
-
): SafeParseResult<MonitorWidget, SDKValidationError> {
|
|
137
|
-
return safeParse(
|
|
138
|
-
jsonString,
|
|
139
|
-
(x) => MonitorWidget$inboundSchema.parse(JSON.parse(x)),
|
|
140
|
-
`Failed to parse 'MonitorWidget' from JSON`,
|
|
141
|
-
);
|
|
142
|
-
}
|
|
@@ -1,166 +0,0 @@
|
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Chart style for timeseries widgets.
|
|
14
|
-
*/
|
|
15
|
-
export const Visualization = {
|
|
16
|
-
Lines: "lines",
|
|
17
|
-
Bars: "bars",
|
|
18
|
-
} as const;
|
|
19
|
-
/**
|
|
20
|
-
* Chart style for timeseries widgets.
|
|
21
|
-
*/
|
|
22
|
-
export type Visualization = ClosedEnum<typeof Visualization>;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Unit used for axis and value formatting.
|
|
26
|
-
*/
|
|
27
|
-
export const Unit = {
|
|
28
|
-
Count: "count",
|
|
29
|
-
Cost: "cost",
|
|
30
|
-
Duration: "duration",
|
|
31
|
-
Percent: "percent",
|
|
32
|
-
Bytes: "bytes",
|
|
33
|
-
} as const;
|
|
34
|
-
/**
|
|
35
|
-
* Unit used for axis and value formatting.
|
|
36
|
-
*/
|
|
37
|
-
export type Unit = ClosedEnum<typeof Unit>;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Value ordering for toplist widgets.
|
|
41
|
-
*/
|
|
42
|
-
export const Sort = {
|
|
43
|
-
Desc: "desc",
|
|
44
|
-
Asc: "asc",
|
|
45
|
-
} as const;
|
|
46
|
-
/**
|
|
47
|
-
* Value ordering for toplist widgets.
|
|
48
|
-
*/
|
|
49
|
-
export type Sort = ClosedEnum<typeof Sort>;
|
|
50
|
-
|
|
51
|
-
export type MonitorWidgetDisplay = {
|
|
52
|
-
/**
|
|
53
|
-
* Chart style for timeseries widgets.
|
|
54
|
-
*/
|
|
55
|
-
visualization?: Visualization | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* Unit used for axis and value formatting.
|
|
58
|
-
*/
|
|
59
|
-
unit?: Unit | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* Value ordering for toplist widgets.
|
|
62
|
-
*/
|
|
63
|
-
sort?: Sort | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* When true, toplist widgets also show the overall total across all
|
|
66
|
-
*
|
|
67
|
-
* @remarks
|
|
68
|
-
* groups for the window.
|
|
69
|
-
*/
|
|
70
|
-
showOverall?: boolean | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Optional threshold line rendered on timeseries widgets.
|
|
73
|
-
*/
|
|
74
|
-
target?: number | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* Decimal places used when formatting values.
|
|
77
|
-
*/
|
|
78
|
-
decimals?: number | undefined;
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
/** @internal */
|
|
82
|
-
export const Visualization$inboundSchema: z.ZodNativeEnum<
|
|
83
|
-
typeof Visualization
|
|
84
|
-
> = z.nativeEnum(Visualization);
|
|
85
|
-
/** @internal */
|
|
86
|
-
export const Visualization$outboundSchema: z.ZodNativeEnum<
|
|
87
|
-
typeof Visualization
|
|
88
|
-
> = Visualization$inboundSchema;
|
|
89
|
-
|
|
90
|
-
/** @internal */
|
|
91
|
-
export const Unit$inboundSchema: z.ZodNativeEnum<typeof Unit> = z.nativeEnum(
|
|
92
|
-
Unit,
|
|
93
|
-
);
|
|
94
|
-
/** @internal */
|
|
95
|
-
export const Unit$outboundSchema: z.ZodNativeEnum<typeof Unit> =
|
|
96
|
-
Unit$inboundSchema;
|
|
97
|
-
|
|
98
|
-
/** @internal */
|
|
99
|
-
export const Sort$inboundSchema: z.ZodNativeEnum<typeof Sort> = z.nativeEnum(
|
|
100
|
-
Sort,
|
|
101
|
-
);
|
|
102
|
-
/** @internal */
|
|
103
|
-
export const Sort$outboundSchema: z.ZodNativeEnum<typeof Sort> =
|
|
104
|
-
Sort$inboundSchema;
|
|
105
|
-
|
|
106
|
-
/** @internal */
|
|
107
|
-
export const MonitorWidgetDisplay$inboundSchema: z.ZodType<
|
|
108
|
-
MonitorWidgetDisplay,
|
|
109
|
-
z.ZodTypeDef,
|
|
110
|
-
unknown
|
|
111
|
-
> = z.object({
|
|
112
|
-
visualization: Visualization$inboundSchema.optional(),
|
|
113
|
-
unit: Unit$inboundSchema.optional(),
|
|
114
|
-
sort: Sort$inboundSchema.optional(),
|
|
115
|
-
show_overall: z.boolean().optional(),
|
|
116
|
-
target: z.number().optional(),
|
|
117
|
-
decimals: z.number().int().optional(),
|
|
118
|
-
}).transform((v) => {
|
|
119
|
-
return remap$(v, {
|
|
120
|
-
"show_overall": "showOverall",
|
|
121
|
-
});
|
|
122
|
-
});
|
|
123
|
-
/** @internal */
|
|
124
|
-
export type MonitorWidgetDisplay$Outbound = {
|
|
125
|
-
visualization?: string | undefined;
|
|
126
|
-
unit?: string | undefined;
|
|
127
|
-
sort?: string | undefined;
|
|
128
|
-
show_overall?: boolean | undefined;
|
|
129
|
-
target?: number | undefined;
|
|
130
|
-
decimals?: number | undefined;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
/** @internal */
|
|
134
|
-
export const MonitorWidgetDisplay$outboundSchema: z.ZodType<
|
|
135
|
-
MonitorWidgetDisplay$Outbound,
|
|
136
|
-
z.ZodTypeDef,
|
|
137
|
-
MonitorWidgetDisplay
|
|
138
|
-
> = z.object({
|
|
139
|
-
visualization: Visualization$outboundSchema.optional(),
|
|
140
|
-
unit: Unit$outboundSchema.optional(),
|
|
141
|
-
sort: Sort$outboundSchema.optional(),
|
|
142
|
-
showOverall: z.boolean().optional(),
|
|
143
|
-
target: z.number().optional(),
|
|
144
|
-
decimals: z.number().int().optional(),
|
|
145
|
-
}).transform((v) => {
|
|
146
|
-
return remap$(v, {
|
|
147
|
-
showOverall: "show_overall",
|
|
148
|
-
});
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
export function monitorWidgetDisplayToJSON(
|
|
152
|
-
monitorWidgetDisplay: MonitorWidgetDisplay,
|
|
153
|
-
): string {
|
|
154
|
-
return JSON.stringify(
|
|
155
|
-
MonitorWidgetDisplay$outboundSchema.parse(monitorWidgetDisplay),
|
|
156
|
-
);
|
|
157
|
-
}
|
|
158
|
-
export function monitorWidgetDisplayFromJSON(
|
|
159
|
-
jsonString: string,
|
|
160
|
-
): SafeParseResult<MonitorWidgetDisplay, SDKValidationError> {
|
|
161
|
-
return safeParse(
|
|
162
|
-
jsonString,
|
|
163
|
-
(x) => MonitorWidgetDisplay$inboundSchema.parse(JSON.parse(x)),
|
|
164
|
-
`Failed to parse 'MonitorWidgetDisplay' from JSON`,
|
|
165
|
-
);
|
|
166
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type MonitorWidgetLayout = {
|
|
11
|
-
/**
|
|
12
|
-
* Column offset in grid units.
|
|
13
|
-
*/
|
|
14
|
-
x: number;
|
|
15
|
-
/**
|
|
16
|
-
* Row offset in grid units.
|
|
17
|
-
*/
|
|
18
|
-
y: number;
|
|
19
|
-
/**
|
|
20
|
-
* Width in grid units.
|
|
21
|
-
*/
|
|
22
|
-
w: number;
|
|
23
|
-
/**
|
|
24
|
-
* Height in grid units.
|
|
25
|
-
*/
|
|
26
|
-
h: number;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
/** @internal */
|
|
30
|
-
export const MonitorWidgetLayout$inboundSchema: z.ZodType<
|
|
31
|
-
MonitorWidgetLayout,
|
|
32
|
-
z.ZodTypeDef,
|
|
33
|
-
unknown
|
|
34
|
-
> = z.object({
|
|
35
|
-
x: z.number().int(),
|
|
36
|
-
y: z.number().int(),
|
|
37
|
-
w: z.number().int(),
|
|
38
|
-
h: z.number().int(),
|
|
39
|
-
});
|
|
40
|
-
/** @internal */
|
|
41
|
-
export type MonitorWidgetLayout$Outbound = {
|
|
42
|
-
x: number;
|
|
43
|
-
y: number;
|
|
44
|
-
w: number;
|
|
45
|
-
h: number;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
/** @internal */
|
|
49
|
-
export const MonitorWidgetLayout$outboundSchema: z.ZodType<
|
|
50
|
-
MonitorWidgetLayout$Outbound,
|
|
51
|
-
z.ZodTypeDef,
|
|
52
|
-
MonitorWidgetLayout
|
|
53
|
-
> = z.object({
|
|
54
|
-
x: z.number().int(),
|
|
55
|
-
y: z.number().int(),
|
|
56
|
-
w: z.number().int(),
|
|
57
|
-
h: z.number().int(),
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
export function monitorWidgetLayoutToJSON(
|
|
61
|
-
monitorWidgetLayout: MonitorWidgetLayout,
|
|
62
|
-
): string {
|
|
63
|
-
return JSON.stringify(
|
|
64
|
-
MonitorWidgetLayout$outboundSchema.parse(monitorWidgetLayout),
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
export function monitorWidgetLayoutFromJSON(
|
|
68
|
-
jsonString: string,
|
|
69
|
-
): SafeParseResult<MonitorWidgetLayout, SDKValidationError> {
|
|
70
|
-
return safeParse(
|
|
71
|
-
jsonString,
|
|
72
|
-
(x) => MonitorWidgetLayout$inboundSchema.parse(JSON.parse(x)),
|
|
73
|
-
`Failed to parse 'MonitorWidgetLayout' from JSON`,
|
|
74
|
-
);
|
|
75
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
import {
|
|
12
|
-
MonitorFilter,
|
|
13
|
-
MonitorFilter$inboundSchema,
|
|
14
|
-
MonitorFilter$Outbound,
|
|
15
|
-
MonitorFilter$outboundSchema,
|
|
16
|
-
} from "./monitorfilter.js";
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Requested bucket grain for timeseries widgets.
|
|
20
|
-
*/
|
|
21
|
-
export const Grain = {
|
|
22
|
-
Auto: "auto",
|
|
23
|
-
Minute: "minute",
|
|
24
|
-
Hour: "hour",
|
|
25
|
-
Day: "day",
|
|
26
|
-
} as const;
|
|
27
|
-
/**
|
|
28
|
-
* Requested bucket grain for timeseries widgets.
|
|
29
|
-
*/
|
|
30
|
-
export type Grain = ClosedEnum<typeof Grain>;
|
|
31
|
-
|
|
32
|
-
export type MonitorWidgetQuery = {
|
|
33
|
-
/**
|
|
34
|
-
* Reporting API catalogue metric, e.g. `genai.cost` or
|
|
35
|
-
*
|
|
36
|
-
* @remarks
|
|
37
|
-
* `genai.latency.p95`. Validated against the catalogue when the
|
|
38
|
-
* monitor is saved.
|
|
39
|
-
*/
|
|
40
|
-
metric: string;
|
|
41
|
-
/**
|
|
42
|
-
* Reporting dimensions to break down by. Valid dimensions depend on
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* the metric; validated when the monitor is saved.
|
|
46
|
-
*/
|
|
47
|
-
groupBy?: Array<string> | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* Reporting filters combined with AND.
|
|
50
|
-
*/
|
|
51
|
-
filters?: Array<MonitorFilter> | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Requested bucket grain for timeseries widgets.
|
|
54
|
-
*/
|
|
55
|
-
grain?: Grain | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* Row cap. For toplist widgets this is the top-N group count.
|
|
58
|
-
*/
|
|
59
|
-
limit?: number | undefined;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
/** @internal */
|
|
63
|
-
export const Grain$inboundSchema: z.ZodNativeEnum<typeof Grain> = z.nativeEnum(
|
|
64
|
-
Grain,
|
|
65
|
-
);
|
|
66
|
-
/** @internal */
|
|
67
|
-
export const Grain$outboundSchema: z.ZodNativeEnum<typeof Grain> =
|
|
68
|
-
Grain$inboundSchema;
|
|
69
|
-
|
|
70
|
-
/** @internal */
|
|
71
|
-
export const MonitorWidgetQuery$inboundSchema: z.ZodType<
|
|
72
|
-
MonitorWidgetQuery,
|
|
73
|
-
z.ZodTypeDef,
|
|
74
|
-
unknown
|
|
75
|
-
> = z.object({
|
|
76
|
-
metric: z.string(),
|
|
77
|
-
group_by: z.array(z.string()).optional(),
|
|
78
|
-
filters: z.array(MonitorFilter$inboundSchema).optional(),
|
|
79
|
-
grain: Grain$inboundSchema.optional(),
|
|
80
|
-
limit: z.number().int().optional(),
|
|
81
|
-
}).transform((v) => {
|
|
82
|
-
return remap$(v, {
|
|
83
|
-
"group_by": "groupBy",
|
|
84
|
-
});
|
|
85
|
-
});
|
|
86
|
-
/** @internal */
|
|
87
|
-
export type MonitorWidgetQuery$Outbound = {
|
|
88
|
-
metric: string;
|
|
89
|
-
group_by?: Array<string> | undefined;
|
|
90
|
-
filters?: Array<MonitorFilter$Outbound> | undefined;
|
|
91
|
-
grain?: string | undefined;
|
|
92
|
-
limit?: number | undefined;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
/** @internal */
|
|
96
|
-
export const MonitorWidgetQuery$outboundSchema: z.ZodType<
|
|
97
|
-
MonitorWidgetQuery$Outbound,
|
|
98
|
-
z.ZodTypeDef,
|
|
99
|
-
MonitorWidgetQuery
|
|
100
|
-
> = z.object({
|
|
101
|
-
metric: z.string(),
|
|
102
|
-
groupBy: z.array(z.string()).optional(),
|
|
103
|
-
filters: z.array(MonitorFilter$outboundSchema).optional(),
|
|
104
|
-
grain: Grain$outboundSchema.optional(),
|
|
105
|
-
limit: z.number().int().optional(),
|
|
106
|
-
}).transform((v) => {
|
|
107
|
-
return remap$(v, {
|
|
108
|
-
groupBy: "group_by",
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
export function monitorWidgetQueryToJSON(
|
|
113
|
-
monitorWidgetQuery: MonitorWidgetQuery,
|
|
114
|
-
): string {
|
|
115
|
-
return JSON.stringify(
|
|
116
|
-
MonitorWidgetQuery$outboundSchema.parse(monitorWidgetQuery),
|
|
117
|
-
);
|
|
118
|
-
}
|
|
119
|
-
export function monitorWidgetQueryFromJSON(
|
|
120
|
-
jsonString: string,
|
|
121
|
-
): SafeParseResult<MonitorWidgetQuery, SDKValidationError> {
|
|
122
|
-
return safeParse(
|
|
123
|
-
jsonString,
|
|
124
|
-
(x) => MonitorWidgetQuery$inboundSchema.parse(JSON.parse(x)),
|
|
125
|
-
`Failed to parse 'MonitorWidgetQuery' from JSON`,
|
|
126
|
-
);
|
|
127
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
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 {
|
|
8
|
-
MonitorWidget,
|
|
9
|
-
MonitorWidget$Outbound,
|
|
10
|
-
MonitorWidget$outboundSchema,
|
|
11
|
-
} from "./monitorwidget.js";
|
|
12
|
-
|
|
13
|
-
export type UpdateMonitorRequest = {
|
|
14
|
-
/**
|
|
15
|
-
* New workspace-unique display name. Omit to keep the current name.
|
|
16
|
-
*/
|
|
17
|
-
displayName?: string | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* New description. Omit to keep the current description.
|
|
20
|
-
*/
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* Replacement widget set. A non-empty array replaces all widgets;
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* omit or send empty to keep the current widgets.
|
|
27
|
-
*/
|
|
28
|
-
widgets?: Array<MonitorWidget> | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* New default relative time range. Omit to keep the current value.
|
|
31
|
-
*/
|
|
32
|
-
defaultRange?: string | undefined;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
/** @internal */
|
|
36
|
-
export type UpdateMonitorRequest$Outbound = {
|
|
37
|
-
display_name?: string | undefined;
|
|
38
|
-
description?: string | undefined;
|
|
39
|
-
widgets?: Array<MonitorWidget$Outbound> | undefined;
|
|
40
|
-
default_range?: string | undefined;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const UpdateMonitorRequest$outboundSchema: z.ZodType<
|
|
45
|
-
UpdateMonitorRequest$Outbound,
|
|
46
|
-
z.ZodTypeDef,
|
|
47
|
-
UpdateMonitorRequest
|
|
48
|
-
> = z.object({
|
|
49
|
-
displayName: z.string().optional(),
|
|
50
|
-
description: z.string().optional(),
|
|
51
|
-
widgets: z.array(MonitorWidget$outboundSchema).optional(),
|
|
52
|
-
defaultRange: z.string().optional(),
|
|
53
|
-
}).transform((v) => {
|
|
54
|
-
return remap$(v, {
|
|
55
|
-
displayName: "display_name",
|
|
56
|
-
defaultRange: "default_range",
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
export function updateMonitorRequestToJSON(
|
|
61
|
-
updateMonitorRequest: UpdateMonitorRequest,
|
|
62
|
-
): string {
|
|
63
|
-
return JSON.stringify(
|
|
64
|
-
UpdateMonitorRequest$outboundSchema.parse(updateMonitorRequest),
|
|
65
|
-
);
|
|
66
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import { Monitor, Monitor$inboundSchema } from "./monitor.js";
|
|
10
|
-
|
|
11
|
-
export type UpdateMonitorResponse = {
|
|
12
|
-
/**
|
|
13
|
-
* Updated monitor.
|
|
14
|
-
*/
|
|
15
|
-
monitor: Monitor;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/** @internal */
|
|
19
|
-
export const UpdateMonitorResponse$inboundSchema: z.ZodType<
|
|
20
|
-
UpdateMonitorResponse,
|
|
21
|
-
z.ZodTypeDef,
|
|
22
|
-
unknown
|
|
23
|
-
> = z.object({
|
|
24
|
-
monitor: Monitor$inboundSchema,
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
export function updateMonitorResponseFromJSON(
|
|
28
|
-
jsonString: string,
|
|
29
|
-
): SafeParseResult<UpdateMonitorResponse, SDKValidationError> {
|
|
30
|
-
return safeParse(
|
|
31
|
-
jsonString,
|
|
32
|
-
(x) => UpdateMonitorResponse$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
-
`Failed to parse 'UpdateMonitorResponse' from JSON`,
|
|
34
|
-
);
|
|
35
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
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 * as components from "../components/index.js";
|
|
8
|
-
|
|
9
|
-
export type AlertCheckNowRequest = {
|
|
10
|
-
/**
|
|
11
|
-
* Alert to evaluate now.
|
|
12
|
-
*/
|
|
13
|
-
alertId: string;
|
|
14
|
-
checkAlertNowRequest: components.CheckAlertNowRequest;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/** @internal */
|
|
18
|
-
export type AlertCheckNowRequest$Outbound = {
|
|
19
|
-
alert_id: string;
|
|
20
|
-
CheckAlertNowRequest: components.CheckAlertNowRequest$Outbound;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
/** @internal */
|
|
24
|
-
export const AlertCheckNowRequest$outboundSchema: z.ZodType<
|
|
25
|
-
AlertCheckNowRequest$Outbound,
|
|
26
|
-
z.ZodTypeDef,
|
|
27
|
-
AlertCheckNowRequest
|
|
28
|
-
> = z.object({
|
|
29
|
-
alertId: z.string(),
|
|
30
|
-
checkAlertNowRequest: components.CheckAlertNowRequest$outboundSchema,
|
|
31
|
-
}).transform((v) => {
|
|
32
|
-
return remap$(v, {
|
|
33
|
-
alertId: "alert_id",
|
|
34
|
-
checkAlertNowRequest: "CheckAlertNowRequest",
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
export function alertCheckNowRequestToJSON(
|
|
39
|
-
alertCheckNowRequest: AlertCheckNowRequest,
|
|
40
|
-
): string {
|
|
41
|
-
return JSON.stringify(
|
|
42
|
-
AlertCheckNowRequest$outboundSchema.parse(alertCheckNowRequest),
|
|
43
|
-
);
|
|
44
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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
|
-
|
|
8
|
-
export type BudgetGetConsumptionRequest = {
|
|
9
|
-
/**
|
|
10
|
-
* Budget id whose counters should be returned.
|
|
11
|
-
*/
|
|
12
|
-
budgetId: string;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export type BudgetGetConsumptionRequest$Outbound = {
|
|
17
|
-
budget_id: string;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const BudgetGetConsumptionRequest$outboundSchema: z.ZodType<
|
|
22
|
-
BudgetGetConsumptionRequest$Outbound,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
BudgetGetConsumptionRequest
|
|
25
|
-
> = z.object({
|
|
26
|
-
budgetId: z.string(),
|
|
27
|
-
}).transform((v) => {
|
|
28
|
-
return remap$(v, {
|
|
29
|
-
budgetId: "budget_id",
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
export function budgetGetConsumptionRequestToJSON(
|
|
34
|
-
budgetGetConsumptionRequest: BudgetGetConsumptionRequest,
|
|
35
|
-
): string {
|
|
36
|
-
return JSON.stringify(
|
|
37
|
-
BudgetGetConsumptionRequest$outboundSchema.parse(
|
|
38
|
-
budgetGetConsumptionRequest,
|
|
39
|
-
),
|
|
40
|
-
);
|
|
41
|
-
}
|