@orq-ai/node 4.13.0-rc.52 → 4.13.0-rc.57
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 +2 -1
- package/funcs/apiKeysCreate.d.ts +1 -1
- package/funcs/apiKeysCreate.d.ts.map +1 -1
- package/funcs/apiKeysCreate.js +1 -1
- package/funcs/apiKeysCreate.js.map +1 -1
- package/funcs/apiKeysDelete.d.ts +1 -2
- package/funcs/apiKeysDelete.d.ts.map +1 -1
- package/funcs/apiKeysDelete.js +3 -3
- package/funcs/apiKeysDelete.js.map +1 -1
- package/funcs/apiKeysGet.d.ts +1 -1
- package/funcs/apiKeysGet.d.ts.map +1 -1
- package/funcs/apiKeysGet.js +1 -1
- package/funcs/apiKeysGet.js.map +1 -1
- package/funcs/apiKeysList.d.ts +2 -2
- package/funcs/apiKeysList.d.ts.map +1 -1
- package/funcs/apiKeysList.js +3 -2
- package/funcs/apiKeysList.js.map +1 -1
- package/funcs/apiKeysUpdate.d.ts +1 -1
- package/funcs/apiKeysUpdate.d.ts.map +1 -1
- package/funcs/apiKeysUpdate.js +1 -1
- package/funcs/apiKeysUpdate.js.map +1 -1
- package/funcs/responsesGet.d.ts +2 -1
- package/funcs/responsesGet.d.ts.map +1 -1
- package/funcs/responsesGet.js +5 -1
- package/funcs/responsesGet.js.map +1 -1
- package/funcs/schedulesCreate.d.ts +1 -1
- package/funcs/schedulesCreate.js +1 -1
- package/funcs/smartRoutersList.js +0 -1
- package/funcs/smartRoutersList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/allprojects.d.ts +0 -5
- package/models/components/allprojects.d.ts.map +1 -1
- package/models/components/allprojects.js +1 -8
- package/models/components/allprojects.js.map +1 -1
- package/models/components/apierror.d.ts +14 -0
- package/models/components/apierror.d.ts.map +1 -0
- package/models/components/{deleteapikeyresponse.js → apierror.js} +12 -6
- package/models/components/apierror.js.map +1 -0
- package/models/components/apikeybudgetscoperestresponse.d.ts +16 -0
- package/models/components/apikeybudgetscoperestresponse.d.ts.map +1 -0
- package/models/components/{updateapikeyresponse.js → apikeybudgetscoperestresponse.js} +7 -13
- package/models/components/apikeybudgetscoperestresponse.js.map +1 -0
- package/models/components/apikeyowner.d.ts +0 -5
- package/models/components/apikeyowner.d.ts.map +1 -1
- package/models/components/apikeyowner.js +1 -15
- package/models/components/apikeyowner.js.map +1 -1
- package/models/components/apikeyrestresponse.d.ts +55 -0
- package/models/components/apikeyrestresponse.d.ts.map +1 -0
- package/models/components/apikeyrestresponse.js +96 -0
- package/models/components/apikeyrestresponse.js.map +1 -0
- package/models/components/apikeystatus.d.ts +0 -2
- package/models/components/apikeystatus.d.ts.map +1 -1
- package/models/components/apikeystatus.js +2 -4
- package/models/components/apikeystatus.js.map +1 -1
- package/models/components/budgetalertrestresponse.d.ts +31 -0
- package/models/components/budgetalertrestresponse.d.ts.map +1 -0
- package/models/components/{createapikeyresponse.js → budgetalertrestresponse.js} +11 -14
- package/models/components/budgetalertrestresponse.js.map +1 -0
- package/models/components/budgetlimitsrestresponse.d.ts +28 -0
- package/models/components/budgetlimitsrestresponse.d.ts.map +1 -0
- package/models/components/budgetlimitsrestresponse.js +53 -0
- package/models/components/budgetlimitsrestresponse.js.map +1 -0
- package/models/components/{budget.d.ts → budgetrestresponse.d.ts} +16 -16
- package/models/components/budgetrestresponse.d.ts.map +1 -0
- package/models/components/{budget.js → budgetrestresponse.js} +20 -30
- package/models/components/budgetrestresponse.js.map +1 -0
- package/models/components/budgetscoperestresponse.d.ts +59 -0
- package/models/components/budgetscoperestresponse.d.ts.map +1 -0
- package/models/components/budgetscoperestresponse.js +61 -0
- package/models/components/budgetscoperestresponse.js.map +1 -0
- package/models/components/cacheconfig.d.ts +14 -0
- package/models/components/cacheconfig.d.ts.map +1 -0
- package/models/components/{legacytokenfamily.js → cacheconfig.js} +10 -9
- package/models/components/cacheconfig.js.map +1 -0
- package/models/components/createbudgetresponse.d.ts +2 -2
- package/models/components/createbudgetresponse.d.ts.map +1 -1
- package/models/components/createbudgetresponse.js +2 -2
- package/models/components/createbudgetresponse.js.map +1 -1
- package/models/components/createwebhookrequest.d.ts +1 -1
- 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/getbudgetresponse.d.ts +2 -2
- package/models/components/getbudgetresponse.d.ts.map +1 -1
- package/models/components/getbudgetresponse.js +2 -2
- package/models/components/getbudgetresponse.js.map +1 -1
- package/models/components/identity.d.ts +8 -8
- package/models/components/identity.d.ts.map +1 -1
- package/models/components/identity.js +12 -14
- package/models/components/identity.js.map +1 -1
- package/models/components/identitybudgetscoperestresponse.d.ts +16 -0
- package/models/components/identitybudgetscoperestresponse.d.ts.map +1 -0
- package/models/components/identitybudgetscoperestresponse.js +50 -0
- package/models/components/identitybudgetscoperestresponse.js.map +1 -0
- package/models/components/index.d.ts +16 -9
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +16 -9
- package/models/components/index.js.map +1 -1
- package/models/components/listbudgetsresponse.d.ts +2 -2
- package/models/components/listbudgetsresponse.d.ts.map +1 -1
- package/models/components/listbudgetsresponse.js +3 -8
- package/models/components/listbudgetsresponse.js.map +1 -1
- package/models/components/loadbalancerconfig.d.ts +15 -0
- package/models/components/loadbalancerconfig.d.ts.map +1 -0
- package/models/components/loadbalancerconfig.js +51 -0
- package/models/components/loadbalancerconfig.js.map +1 -0
- package/models/components/loadbalancermodelconfig.d.ts +14 -0
- package/models/components/loadbalancermodelconfig.d.ts.map +1 -0
- package/models/components/loadbalancermodelconfig.js +50 -0
- package/models/components/loadbalancermodelconfig.js.map +1 -0
- package/models/components/mcpaccess.d.ts +0 -5
- package/models/components/mcpaccess.d.ts.map +1 -1
- package/models/components/mcpaccess.js +1 -18
- package/models/components/mcpaccess.js.map +1 -1
- package/models/components/modelbudgetscope.d.ts +2 -2
- package/models/components/modelbudgetscope.d.ts.map +1 -1
- package/models/components/modelbudgetscope.js +2 -2
- package/models/components/modelbudgetscope.js.map +1 -1
- package/models/components/modelbudgetscoperestresponse.d.ts +17 -0
- package/models/components/modelbudgetscoperestresponse.d.ts.map +1 -0
- package/models/components/modelbudgetscoperestresponse.js +50 -0
- package/models/components/modelbudgetscoperestresponse.js.map +1 -0
- package/models/components/permissionmode.d.ts +0 -2
- package/models/components/permissionmode.d.ts.map +1 -1
- package/models/components/permissionmode.js +2 -4
- package/models/components/permissionmode.js.map +1 -1
- package/models/components/projectbudgetscoperestresponse.d.ts +13 -0
- package/models/components/projectbudgetscoperestresponse.d.ts.map +1 -0
- package/models/components/projectbudgetscoperestresponse.js +50 -0
- package/models/components/projectbudgetscoperestresponse.js.map +1 -0
- package/models/components/projectscope.d.ts +0 -5
- package/models/components/projectscope.d.ts.map +1 -1
- package/models/components/projectscope.js +1 -11
- package/models/components/projectscope.js.map +1 -1
- package/models/components/publicschedule.d.ts +13 -5
- package/models/components/publicschedule.d.ts.map +1 -1
- package/models/components/publicschedule.js +5 -1
- package/models/components/publicschedule.js.map +1 -1
- package/models/components/publicschedulepayload.d.ts +3 -3
- package/models/components/publicschedulepayload.d.ts.map +1 -1
- package/models/components/publicschedulepayload.js +2 -2
- package/models/components/publicschedulepayload.js.map +1 -1
- package/models/components/ratelimitrestresponse.d.ts +16 -0
- package/models/components/ratelimitrestresponse.d.ts.map +1 -0
- package/models/components/{smartroutermetrics.js → ratelimitrestresponse.js} +7 -9
- package/models/components/ratelimitrestresponse.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/resetbudgetconsumptionresponse.d.ts +2 -2
- package/models/components/resetbudgetconsumptionresponse.d.ts.map +1 -1
- package/models/components/resetbudgetconsumptionresponse.js +2 -2
- package/models/components/resetbudgetconsumptionresponse.js.map +1 -1
- package/models/components/securityconfig.d.ts +12 -0
- package/models/components/securityconfig.d.ts.map +1 -0
- package/models/components/securityconfig.js +49 -0
- package/models/components/securityconfig.js.map +1 -0
- package/models/components/serviceaccountowner.d.ts +0 -5
- package/models/components/serviceaccountowner.d.ts.map +1 -1
- package/models/components/serviceaccountowner.js +1 -8
- package/models/components/serviceaccountowner.js.map +1 -1
- package/models/components/singleproject.d.ts +0 -5
- package/models/components/singleproject.d.ts.map +1 -1
- package/models/components/singleproject.js +1 -14
- package/models/components/singleproject.js.map +1 -1
- package/models/components/smartrouter.d.ts +0 -2
- package/models/components/smartrouter.d.ts.map +1 -1
- package/models/components/smartrouter.js +0 -2
- package/models/components/smartrouter.js.map +1 -1
- package/models/components/timeoutconfig.d.ts +12 -0
- package/models/components/timeoutconfig.d.ts.map +1 -0
- package/models/components/{getapikeyresponse.js → timeoutconfig.js} +8 -10
- package/models/components/timeoutconfig.js.map +1 -0
- package/models/components/updatebudgetresponse.d.ts +2 -2
- package/models/components/updatebudgetresponse.d.ts.map +1 -1
- package/models/components/updatebudgetresponse.js +2 -2
- package/models/components/updatebudgetresponse.js.map +1 -1
- package/models/components/userowner.d.ts +0 -5
- package/models/components/userowner.d.ts.map +1 -1
- package/models/components/userowner.js +1 -14
- package/models/components/userowner.js.map +1 -1
- package/models/components/webhook.d.ts +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/retrieveresponse.d.ts +25 -0
- package/models/errors/retrieveresponse.d.ts.map +1 -0
- package/models/{components/listapikeysresponse.js → errors/retrieveresponse.js} +29 -16
- package/models/errors/retrieveresponse.js.map +1 -0
- package/models/operations/billing.js +1 -1
- package/models/operations/createagentschedule.d.ts +17 -11
- package/models/operations/createagentschedule.d.ts.map +1 -1
- package/models/operations/createagentschedule.js +6 -4
- package/models/operations/createagentschedule.js.map +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/createrouterresponse.d.ts +18 -0
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +8 -0
- package/models/operations/createrouterresponse.js.map +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/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/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentschedule.d.ts +13 -5
- package/models/operations/retrieveagentschedule.d.ts.map +1 -1
- package/models/operations/retrieveagentschedule.js +5 -1
- package/models/operations/retrieveagentschedule.js.map +1 -1
- 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/smartrouterlist.d.ts +0 -2
- package/models/operations/smartrouterlist.d.ts.map +1 -1
- package/models/operations/smartrouterlist.js +0 -2
- package/models/operations/smartrouterlist.js.map +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/twenty.js +1 -1
- package/models/operations/updateagentschedule.d.ts +22 -11
- package/models/operations/updateagentschedule.d.ts.map +1 -1
- package/models/operations/updateagentschedule.js +8 -4
- package/models/operations/updateagentschedule.js.map +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 +3 -3
- package/sdk/apikeys.d.ts +6 -6
- package/sdk/apikeys.d.ts.map +1 -1
- package/sdk/apikeys.js +1 -1
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/sdk/schedules.d.ts +1 -1
- package/sdk/schedules.js +1 -1
- package/src/funcs/apiKeysCreate.ts +4 -4
- package/src/funcs/apiKeysDelete.ts +6 -6
- package/src/funcs/apiKeysGet.ts +4 -4
- package/src/funcs/apiKeysList.ts +6 -5
- package/src/funcs/apiKeysUpdate.ts +4 -4
- package/src/funcs/responsesGet.ts +11 -2
- package/src/funcs/schedulesCreate.ts +1 -1
- package/src/funcs/smartRoutersList.ts +0 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/allprojects.ts +0 -18
- package/src/models/components/apierror.ts +39 -0
- package/src/models/components/apikeybudgetscoperestresponse.ts +37 -0
- package/src/models/components/apikeyowner.ts +0 -27
- package/src/models/components/apikeyrestresponse.ts +119 -0
- package/src/models/components/apikeystatus.ts +1 -4
- package/src/models/components/budgetalertrestresponse.ts +58 -0
- package/src/models/components/budgetlimitsrestresponse.ts +51 -0
- package/src/models/components/{budget.ts → budgetrestresponse.ts} +47 -47
- package/src/models/components/budgetscoperestresponse.ts +103 -0
- package/src/models/components/cacheconfig.ts +30 -0
- package/src/models/components/createbudgetresponse.ts +6 -3
- package/src/models/components/createwebhookrequest.ts +1 -1
- 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/getbudgetresponse.ts +6 -3
- package/src/models/components/identity.ts +39 -39
- package/src/models/components/identitybudgetscoperestresponse.ts +37 -0
- package/src/models/components/index.ts +16 -9
- package/src/models/components/listbudgetsresponse.ts +7 -9
- package/src/models/components/loadbalancerconfig.ts +39 -0
- package/src/models/components/loadbalancermodelconfig.ts +34 -0
- package/src/models/components/mcpaccess.ts +0 -28
- package/src/models/components/modelbudgetscope.ts +4 -4
- package/src/models/components/modelbudgetscoperestresponse.ts +38 -0
- package/src/models/components/permissionmode.ts +1 -5
- package/src/models/components/projectbudgetscoperestresponse.ts +34 -0
- package/src/models/components/projectscope.ts +0 -23
- package/src/models/components/publicschedule.ts +17 -5
- package/src/models/components/publicschedulepayload.ts +5 -5
- package/src/models/components/ratelimitrestresponse.ts +37 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/resetbudgetconsumptionresponse.ts +6 -3
- package/src/models/components/securityconfig.ts +27 -0
- package/src/models/components/serviceaccountowner.ts +0 -18
- package/src/models/components/singleproject.ts +0 -24
- package/src/models/components/smartrouter.ts +0 -6
- package/src/models/components/timeoutconfig.ts +32 -0
- package/src/models/components/updatebudgetresponse.ts +6 -3
- package/src/models/components/userowner.ts +0 -24
- package/src/models/components/webhook.ts +1 -1
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/retrieveresponse.ts +56 -0
- package/src/models/operations/billing.ts +1 -1
- package/src/models/operations/createagentschedule.ts +21 -11
- 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/createrouterresponse.ts +26 -0
- 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/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/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentschedule.ts +17 -5
- 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/smartrouterlist.ts +0 -4
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/twenty.ts +1 -1
- package/src/models/operations/updateagentschedule.ts +28 -11
- 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/apikeys.ts +6 -6
- package/src/sdk/feedback.ts +2 -2
- package/src/sdk/schedules.ts +1 -1
- package/models/components/apikey.d.ts +0 -201
- package/models/components/apikey.d.ts.map +0 -1
- package/models/components/apikey.js +0 -127
- package/models/components/apikey.js.map +0 -1
- package/models/components/budget.d.ts.map +0 -1
- package/models/components/budget.js.map +0 -1
- package/models/components/createapikeyresponse.d.ts +0 -22
- package/models/components/createapikeyresponse.d.ts.map +0 -1
- package/models/components/createapikeyresponse.js.map +0 -1
- package/models/components/deleteapikeyresponse.d.ts +0 -8
- package/models/components/deleteapikeyresponse.d.ts.map +0 -1
- package/models/components/deleteapikeyresponse.js.map +0 -1
- package/models/components/getapikeyresponse.d.ts +0 -14
- package/models/components/getapikeyresponse.d.ts.map +0 -1
- package/models/components/getapikeyresponse.js.map +0 -1
- package/models/components/legacytokenfamily.d.ts +0 -12
- package/models/components/legacytokenfamily.d.ts.map +0 -1
- package/models/components/legacytokenfamily.js.map +0 -1
- package/models/components/listapikeysresponse.d.ts +0 -28
- package/models/components/listapikeysresponse.d.ts.map +0 -1
- package/models/components/listapikeysresponse.js.map +0 -1
- package/models/components/smartroutermetrics.d.ts +0 -23
- package/models/components/smartroutermetrics.d.ts.map +0 -1
- package/models/components/smartroutermetrics.js.map +0 -1
- package/models/components/updateapikeyresponse.d.ts +0 -14
- package/models/components/updateapikeyresponse.d.ts.map +0 -1
- package/models/components/updateapikeyresponse.js.map +0 -1
- package/src/models/components/apikey.ts +0 -304
- package/src/models/components/createapikeyresponse.ts +0 -49
- package/src/models/components/deleteapikeyresponse.ts +0 -27
- package/src/models/components/getapikeyresponse.ts +0 -40
- package/src/models/components/legacytokenfamily.ts +0 -19
- package/src/models/components/listapikeysresponse.ts +0 -56
- package/src/models/components/smartroutermetrics.ts +0 -44
- package/src/models/components/updateapikeyresponse.ts +0 -40
package/sdk/apikeys.d.ts
CHANGED
|
@@ -6,16 +6,16 @@ export declare class ApiKeys extends ClientSDK {
|
|
|
6
6
|
* List API keys
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Returns API keys visible to the current workspace
|
|
9
|
+
* Returns API keys visible to the current workspace as a JSON array. Raw tokens are never included; the `token` field contains a masked display value.
|
|
10
10
|
*/
|
|
11
|
-
list(request?: operations.ApiKeyListRequest | undefined, options?: RequestOptions): Promise<components.
|
|
11
|
+
list(request?: operations.ApiKeyListRequest | undefined, options?: RequestOptions): Promise<Array<components.ApiKeyRestResponse>>;
|
|
12
12
|
/**
|
|
13
13
|
* Create a new API key
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
16
|
* Mints a new opaque API key (`sk-orq-<key_id>-<secret>`) in the workspace. The raw secret is returned ONCE in the response and is never retrievable afterwards. The stored record retains only `token_prefix` and a SHA-256 `token_hash`.
|
|
17
17
|
*/
|
|
18
|
-
create(request: components.CreateApiKeyRequest, options?: RequestOptions): Promise<components.
|
|
18
|
+
create(request: components.CreateApiKeyRequest, options?: RequestOptions): Promise<components.ApiKeyRestResponse>;
|
|
19
19
|
/**
|
|
20
20
|
* List capability catalog
|
|
21
21
|
*
|
|
@@ -29,20 +29,20 @@ export declare class ApiKeys extends ClientSDK {
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Retrieves the metadata for an existing API key by its unique identifier. The raw secret is never returned — only `token_prefix`, `permission_mode`, `project_scope`, and lifecycle fields.
|
|
31
31
|
*/
|
|
32
|
-
get(request: operations.ApiKeyGetRequest, options?: RequestOptions): Promise<components.
|
|
32
|
+
get(request: operations.ApiKeyGetRequest, options?: RequestOptions): Promise<components.ApiKeyRestResponse>;
|
|
33
33
|
/**
|
|
34
34
|
* Delete an API key
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
37
|
* Permanently deletes an API key. Cache entries in `API_KEYS_KV` are invalidated immediately so an in-flight token cannot ride out the TTL. The response body is empty on success.
|
|
38
38
|
*/
|
|
39
|
-
delete(request: operations.ApiKeyDeleteRequest, options?: RequestOptions): Promise<
|
|
39
|
+
delete(request: operations.ApiKeyDeleteRequest, options?: RequestOptions): Promise<void>;
|
|
40
40
|
/**
|
|
41
41
|
* Update an API key
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
44
|
* Updates mutable fields of an API key: display name, status (active / disabled / revoked), permission mode and access map, project scope, and constraints (budget / rate limit / expiry). Omitted fields keep their current values.
|
|
45
45
|
*/
|
|
46
|
-
update(request: operations.ApiKeyUpdateRequest, options?: RequestOptions): Promise<components.
|
|
46
|
+
update(request: operations.ApiKeyUpdateRequest, options?: RequestOptions): Promise<components.ApiKeyRestResponse>;
|
|
47
47
|
}
|
|
48
48
|
//# sourceMappingURL=apikeys.d.ts.map
|
package/sdk/apikeys.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apikeys.d.ts","sourceRoot":"","sources":["../src/sdk/apikeys.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,IAAI,CACR,OAAO,CAAC,EAAE,UAAU,CAAC,iBAAiB,GAAG,SAAS,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"apikeys.d.ts","sourceRoot":"","sources":["../src/sdk/apikeys.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,IAAI,CACR,OAAO,CAAC,EAAE,UAAU,CAAC,iBAAiB,GAAG,SAAS,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;IAQhD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAQzC;;;;;OAKG;IACG,gBAAgB,CACpB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAO/C;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAQzC;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAQhB;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;CAO1C"}
|
package/sdk/apikeys.js
CHANGED
|
@@ -17,7 +17,7 @@ class ApiKeys extends sdks_js_1.ClientSDK {
|
|
|
17
17
|
* List API keys
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* Returns API keys visible to the current workspace
|
|
20
|
+
* Returns API keys visible to the current workspace as a JSON array. Raw tokens are never included; the `token` field contains a masked display value.
|
|
21
21
|
*/
|
|
22
22
|
async list(request, options) {
|
|
23
23
|
return (0, fp_js_1.unwrapAsync)((0, apiKeysList_js_1.apiKeysList)(this, request, options));
|
package/sdk/feedback.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ export declare class Feedback extends ClientSDK {
|
|
|
5
5
|
createEvaluation(request?: operations.PostV2FeedbackEvaluationRequestBody | undefined, options?: RequestOptions): Promise<void>;
|
|
6
6
|
remove(request?: operations.PostV2FeedbackRemoveRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackRemoveResponseBody>;
|
|
7
7
|
/**
|
|
8
|
-
* Create
|
|
8
|
+
* Create routing rule
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
|
-
*
|
|
11
|
+
* Creates a new routing rule with expression, models configuration, and priority settings.
|
|
12
12
|
*/
|
|
13
13
|
create(request?: operations.PostV2FeedbackRequestBody | undefined, options?: RequestOptions): Promise<operations.PostV2FeedbackResponseBody>;
|
|
14
14
|
}
|
package/sdk/feedback.js
CHANGED
|
@@ -21,10 +21,10 @@ class Feedback extends sdks_js_1.ClientSDK {
|
|
|
21
21
|
return (0, fp_js_1.unwrapAsync)((0, feedbackRemove_js_1.feedbackRemove)(this, request, options));
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Create
|
|
24
|
+
* Create routing rule
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
27
|
+
* Creates a new routing rule with expression, models configuration, and priority settings.
|
|
28
28
|
*/
|
|
29
29
|
async create(request, options) {
|
|
30
30
|
return (0, fp_js_1.unwrapAsync)((0, feedbackCreate_js_1.feedbackCreate)(this, request, options));
|
package/sdk/schedules.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare class Schedules extends ClientSDK {
|
|
|
12
12
|
* Create schedule
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Creates a schedule that runs the agent on a
|
|
15
|
+
* Creates a schedule that runs the agent on a cron cadence. Only `cron` is accepted, as a 6-field expression firing at most once per hour: hourly `0 0 * * * *`, daily `0 0 9 * * *`, or weekly `0 0 9 * * 1`.
|
|
16
16
|
*/
|
|
17
17
|
create(request: operations.CreateAgentScheduleRequest, options?: RequestOptions): Promise<operations.CreateAgentScheduleResponseBody>;
|
|
18
18
|
/**
|
package/sdk/schedules.js
CHANGED
|
@@ -26,7 +26,7 @@ class Schedules extends sdks_js_1.ClientSDK {
|
|
|
26
26
|
* Create schedule
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
-
* Creates a schedule that runs the agent on a
|
|
29
|
+
* Creates a schedule that runs the agent on a cron cadence. Only `cron` is accepted, as a 6-field expression firing at most once per hour: hourly `0 0 * * * *`, daily `0 0 9 * * *`, or weekly `0 0 9 * * 1`.
|
|
30
30
|
*/
|
|
31
31
|
async create(request, options) {
|
|
32
32
|
return (0, fp_js_1.unwrapAsync)((0, schedulesCreate_js_1.schedulesCreate)(this, request, options));
|
|
@@ -37,7 +37,7 @@ export function apiKeysCreate(
|
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
components.
|
|
40
|
+
components.ApiKeyRestResponse,
|
|
41
41
|
| OrqError
|
|
42
42
|
| ResponseValidationError
|
|
43
43
|
| ConnectionError
|
|
@@ -62,7 +62,7 @@ async function $do(
|
|
|
62
62
|
): Promise<
|
|
63
63
|
[
|
|
64
64
|
Result<
|
|
65
|
-
components.
|
|
65
|
+
components.ApiKeyRestResponse,
|
|
66
66
|
| OrqError
|
|
67
67
|
| ResponseValidationError
|
|
68
68
|
| ConnectionError
|
|
@@ -140,7 +140,7 @@ async function $do(
|
|
|
140
140
|
const response = doResult.value;
|
|
141
141
|
|
|
142
142
|
const [result] = await M.match<
|
|
143
|
-
components.
|
|
143
|
+
components.ApiKeyRestResponse,
|
|
144
144
|
| OrqError
|
|
145
145
|
| ResponseValidationError
|
|
146
146
|
| ConnectionError
|
|
@@ -150,7 +150,7 @@ async function $do(
|
|
|
150
150
|
| UnexpectedClientError
|
|
151
151
|
| SDKValidationError
|
|
152
152
|
>(
|
|
153
|
-
M.json(200, components.
|
|
153
|
+
M.json(200, components.ApiKeyRestResponse$inboundSchema),
|
|
154
154
|
M.fail("4XX"),
|
|
155
155
|
M.fail("5XX"),
|
|
156
156
|
)(response, req);
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import * as z from "zod/v3";
|
|
5
6
|
import { OrqCore } from "../core.js";
|
|
6
7
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
8
|
import { matchStatusCode } from "../lib/http.js";
|
|
@@ -11,7 +12,6 @@ import { safeParse } from "../lib/schemas.js";
|
|
|
11
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
12
13
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
14
|
import { pathToFunc } from "../lib/url.js";
|
|
14
|
-
import * as components from "../models/components/index.js";
|
|
15
15
|
import {
|
|
16
16
|
ConnectionError,
|
|
17
17
|
InvalidRequestError,
|
|
@@ -38,7 +38,7 @@ export function apiKeysDelete(
|
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
41
|
-
|
|
41
|
+
void,
|
|
42
42
|
| OrqError
|
|
43
43
|
| ResponseValidationError
|
|
44
44
|
| ConnectionError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
|
|
66
|
+
void,
|
|
67
67
|
| OrqError
|
|
68
68
|
| ResponseValidationError
|
|
69
69
|
| ConnectionError
|
|
@@ -96,7 +96,7 @@ async function $do(
|
|
|
96
96
|
const path = pathToFunc("/v2/api-keys/{api_key_id}")(pathParams);
|
|
97
97
|
|
|
98
98
|
const headers = new Headers(compactMap({
|
|
99
|
-
Accept: "
|
|
99
|
+
Accept: "*/*",
|
|
100
100
|
}));
|
|
101
101
|
|
|
102
102
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
@@ -146,7 +146,7 @@ async function $do(
|
|
|
146
146
|
const response = doResult.value;
|
|
147
147
|
|
|
148
148
|
const [result] = await M.match<
|
|
149
|
-
|
|
149
|
+
void,
|
|
150
150
|
| OrqError
|
|
151
151
|
| ResponseValidationError
|
|
152
152
|
| ConnectionError
|
|
@@ -156,7 +156,7 @@ async function $do(
|
|
|
156
156
|
| UnexpectedClientError
|
|
157
157
|
| SDKValidationError
|
|
158
158
|
>(
|
|
159
|
-
M.
|
|
159
|
+
M.nil(204, z.void()),
|
|
160
160
|
M.fail("4XX"),
|
|
161
161
|
M.fail("5XX"),
|
|
162
162
|
)(response, req);
|
package/src/funcs/apiKeysGet.ts
CHANGED
|
@@ -38,7 +38,7 @@ export function apiKeysGet(
|
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
41
|
-
components.
|
|
41
|
+
components.ApiKeyRestResponse,
|
|
42
42
|
| OrqError
|
|
43
43
|
| ResponseValidationError
|
|
44
44
|
| ConnectionError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
components.
|
|
66
|
+
components.ApiKeyRestResponse,
|
|
67
67
|
| OrqError
|
|
68
68
|
| ResponseValidationError
|
|
69
69
|
| ConnectionError
|
|
@@ -151,7 +151,7 @@ async function $do(
|
|
|
151
151
|
const response = doResult.value;
|
|
152
152
|
|
|
153
153
|
const [result] = await M.match<
|
|
154
|
-
components.
|
|
154
|
+
components.ApiKeyRestResponse,
|
|
155
155
|
| OrqError
|
|
156
156
|
| ResponseValidationError
|
|
157
157
|
| ConnectionError
|
|
@@ -161,7 +161,7 @@ async function $do(
|
|
|
161
161
|
| UnexpectedClientError
|
|
162
162
|
| SDKValidationError
|
|
163
163
|
>(
|
|
164
|
-
M.json(200, components.
|
|
164
|
+
M.json(200, components.ApiKeyRestResponse$inboundSchema),
|
|
165
165
|
M.fail("4XX"),
|
|
166
166
|
M.fail("5XX"),
|
|
167
167
|
)(response, req);
|
package/src/funcs/apiKeysList.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import * as z from "zod/v3";
|
|
5
6
|
import { OrqCore } from "../core.js";
|
|
6
7
|
import { encodeFormQuery } from "../lib/encodings.js";
|
|
7
8
|
import { matchStatusCode } from "../lib/http.js";
|
|
@@ -30,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
31
|
* List API keys
|
|
31
32
|
*
|
|
32
33
|
* @remarks
|
|
33
|
-
* Returns API keys visible to the current workspace
|
|
34
|
+
* Returns API keys visible to the current workspace as a JSON array. Raw tokens are never included; the `token` field contains a masked display value.
|
|
34
35
|
*/
|
|
35
36
|
export function apiKeysList(
|
|
36
37
|
client: OrqCore,
|
|
@@ -38,7 +39,7 @@ export function apiKeysList(
|
|
|
38
39
|
options?: RequestOptions,
|
|
39
40
|
): APIPromise<
|
|
40
41
|
Result<
|
|
41
|
-
components.
|
|
42
|
+
Array<components.ApiKeyRestResponse>,
|
|
42
43
|
| OrqError
|
|
43
44
|
| ResponseValidationError
|
|
44
45
|
| ConnectionError
|
|
@@ -63,7 +64,7 @@ async function $do(
|
|
|
63
64
|
): Promise<
|
|
64
65
|
[
|
|
65
66
|
Result<
|
|
66
|
-
components.
|
|
67
|
+
Array<components.ApiKeyRestResponse>,
|
|
67
68
|
| OrqError
|
|
68
69
|
| ResponseValidationError
|
|
69
70
|
| ConnectionError
|
|
@@ -154,7 +155,7 @@ async function $do(
|
|
|
154
155
|
const response = doResult.value;
|
|
155
156
|
|
|
156
157
|
const [result] = await M.match<
|
|
157
|
-
components.
|
|
158
|
+
Array<components.ApiKeyRestResponse>,
|
|
158
159
|
| OrqError
|
|
159
160
|
| ResponseValidationError
|
|
160
161
|
| ConnectionError
|
|
@@ -164,7 +165,7 @@ async function $do(
|
|
|
164
165
|
| UnexpectedClientError
|
|
165
166
|
| SDKValidationError
|
|
166
167
|
>(
|
|
167
|
-
M.json(200, components.
|
|
168
|
+
M.json(200, z.array(components.ApiKeyRestResponse$inboundSchema)),
|
|
168
169
|
M.fail("4XX"),
|
|
169
170
|
M.fail("5XX"),
|
|
170
171
|
)(response, req);
|
|
@@ -38,7 +38,7 @@ export function apiKeysUpdate(
|
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
41
|
-
components.
|
|
41
|
+
components.ApiKeyRestResponse,
|
|
42
42
|
| OrqError
|
|
43
43
|
| ResponseValidationError
|
|
44
44
|
| ConnectionError
|
|
@@ -63,7 +63,7 @@ async function $do(
|
|
|
63
63
|
): Promise<
|
|
64
64
|
[
|
|
65
65
|
Result<
|
|
66
|
-
components.
|
|
66
|
+
components.ApiKeyRestResponse,
|
|
67
67
|
| OrqError
|
|
68
68
|
| ResponseValidationError
|
|
69
69
|
| ConnectionError
|
|
@@ -149,7 +149,7 @@ async function $do(
|
|
|
149
149
|
const response = doResult.value;
|
|
150
150
|
|
|
151
151
|
const [result] = await M.match<
|
|
152
|
-
components.
|
|
152
|
+
components.ApiKeyRestResponse,
|
|
153
153
|
| OrqError
|
|
154
154
|
| ResponseValidationError
|
|
155
155
|
| ConnectionError
|
|
@@ -159,7 +159,7 @@ async function $do(
|
|
|
159
159
|
| UnexpectedClientError
|
|
160
160
|
| SDKValidationError
|
|
161
161
|
>(
|
|
162
|
-
M.json(200, components.
|
|
162
|
+
M.json(200, components.ApiKeyRestResponse$inboundSchema),
|
|
163
163
|
M.fail("4XX"),
|
|
164
164
|
M.fail("5XX"),
|
|
165
165
|
)(response, req);
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
RequestTimeoutError,
|
|
19
19
|
UnexpectedClientError,
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
|
+
import * as errors from "../models/errors/index.js";
|
|
21
22
|
import { OrqError } from "../models/errors/orqerror.js";
|
|
22
23
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
23
24
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
@@ -38,6 +39,7 @@ export function responsesGet(
|
|
|
38
39
|
): APIPromise<
|
|
39
40
|
Result<
|
|
40
41
|
operations.RetrieveResponseResponseBody,
|
|
42
|
+
| errors.RetrieveResponseResponseBody
|
|
41
43
|
| OrqError
|
|
42
44
|
| ResponseValidationError
|
|
43
45
|
| ConnectionError
|
|
@@ -63,6 +65,7 @@ async function $do(
|
|
|
63
65
|
[
|
|
64
66
|
Result<
|
|
65
67
|
operations.RetrieveResponseResponseBody,
|
|
68
|
+
| errors.RetrieveResponseResponseBody
|
|
66
69
|
| OrqError
|
|
67
70
|
| ResponseValidationError
|
|
68
71
|
| ConnectionError
|
|
@@ -144,8 +147,13 @@ async function $do(
|
|
|
144
147
|
}
|
|
145
148
|
const response = doResult.value;
|
|
146
149
|
|
|
150
|
+
const responseFields = {
|
|
151
|
+
HttpMeta: { Response: response, Request: req },
|
|
152
|
+
};
|
|
153
|
+
|
|
147
154
|
const [result] = await M.match<
|
|
148
155
|
operations.RetrieveResponseResponseBody,
|
|
156
|
+
| errors.RetrieveResponseResponseBody
|
|
149
157
|
| OrqError
|
|
150
158
|
| ResponseValidationError
|
|
151
159
|
| ConnectionError
|
|
@@ -156,9 +164,10 @@ async function $do(
|
|
|
156
164
|
| SDKValidationError
|
|
157
165
|
>(
|
|
158
166
|
M.json(200, operations.RetrieveResponseResponseBody$inboundSchema),
|
|
159
|
-
M.
|
|
167
|
+
M.jsonErr(404, errors.RetrieveResponseResponseBody$inboundSchema),
|
|
168
|
+
M.fail("4XX"),
|
|
160
169
|
M.fail("5XX"),
|
|
161
|
-
)(response, req);
|
|
170
|
+
)(response, req, { extraFields: responseFields });
|
|
162
171
|
if (!result.ok) {
|
|
163
172
|
return [result, { status: "complete", request: req, response }];
|
|
164
173
|
}
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Create schedule
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Creates a schedule that runs the agent on a
|
|
33
|
+
* Creates a schedule that runs the agent on a cron cadence. Only `cron` is accepted, as a 6-field expression firing at most once per hour: hourly `0 0 * * * *`, daily `0 0 9 * * *`, or weekly `0 0 9 * * 1`.
|
|
34
34
|
*/
|
|
35
35
|
export function schedulesCreate(
|
|
36
36
|
client: OrqCore,
|
|
@@ -93,7 +93,6 @@ async function $do(
|
|
|
93
93
|
const query = encodeFormQuery({
|
|
94
94
|
"enabled": payload?.enabled,
|
|
95
95
|
"ending_before": payload?.ending_before,
|
|
96
|
-
"include_metrics": payload?.include_metrics,
|
|
97
96
|
"limit": payload?.limit,
|
|
98
97
|
"profile": payload?.profile,
|
|
99
98
|
"search": payload?.search,
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "2.0",
|
|
61
|
-
sdkVersion: "4.13.0-rc.
|
|
61
|
+
sdkVersion: "4.13.0-rc.57",
|
|
62
62
|
genVersion: "2.926.8",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript 4.13.0-rc.
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 4.13.0-rc.57 2.926.8 2.0 @orq-ai/node",
|
|
64
64
|
} as const;
|
|
@@ -3,18 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
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
6
|
|
|
10
7
|
export type AllProjects = {};
|
|
11
8
|
|
|
12
|
-
/** @internal */
|
|
13
|
-
export const AllProjects$inboundSchema: z.ZodType<
|
|
14
|
-
AllProjects,
|
|
15
|
-
z.ZodTypeDef,
|
|
16
|
-
unknown
|
|
17
|
-
> = z.object({});
|
|
18
9
|
/** @internal */
|
|
19
10
|
export type AllProjects$Outbound = {};
|
|
20
11
|
|
|
@@ -28,12 +19,3 @@ export const AllProjects$outboundSchema: z.ZodType<
|
|
|
28
19
|
export function allProjectsToJSON(allProjects: AllProjects): string {
|
|
29
20
|
return JSON.stringify(AllProjects$outboundSchema.parse(allProjects));
|
|
30
21
|
}
|
|
31
|
-
export function allProjectsFromJSON(
|
|
32
|
-
jsonString: string,
|
|
33
|
-
): SafeParseResult<AllProjects, SDKValidationError> {
|
|
34
|
-
return safeParse(
|
|
35
|
-
jsonString,
|
|
36
|
-
(x) => AllProjects$inboundSchema.parse(JSON.parse(x)),
|
|
37
|
-
`Failed to parse 'AllProjects' from JSON`,
|
|
38
|
-
);
|
|
39
|
-
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 APIError = {
|
|
11
|
+
code: string | null;
|
|
12
|
+
failures?: any | undefined;
|
|
13
|
+
message: string;
|
|
14
|
+
param: string | null;
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const APIError$inboundSchema: z.ZodType<
|
|
20
|
+
APIError,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
code: z.nullable(z.string()),
|
|
25
|
+
failures: z.any().optional(),
|
|
26
|
+
message: z.string(),
|
|
27
|
+
param: z.nullable(z.string()),
|
|
28
|
+
type: z.string(),
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export function apiErrorFromJSON(
|
|
32
|
+
jsonString: string,
|
|
33
|
+
): SafeParseResult<APIError, SDKValidationError> {
|
|
34
|
+
return safeParse(
|
|
35
|
+
jsonString,
|
|
36
|
+
(x) => APIError$inboundSchema.parse(JSON.parse(x)),
|
|
37
|
+
`Failed to parse 'APIError' from JSON`,
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* Per-api-key cap. Replaces the legacy embedded `constraints.budget`
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* on auth.apiKeys.
|
|
15
|
+
*/
|
|
16
|
+
export type ApiKeyBudgetScopeRestResponse = {
|
|
17
|
+
apiKeyId?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ApiKeyBudgetScopeRestResponse$inboundSchema: z.ZodType<
|
|
22
|
+
ApiKeyBudgetScopeRestResponse,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
apiKeyId: z.string().optional(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function apiKeyBudgetScopeRestResponseFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<ApiKeyBudgetScopeRestResponse, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => ApiKeyBudgetScopeRestResponse$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'ApiKeyBudgetScopeRestResponse' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -4,18 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
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 { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
7
|
import {
|
|
11
8
|
ServiceAccountOwner,
|
|
12
|
-
ServiceAccountOwner$inboundSchema,
|
|
13
9
|
ServiceAccountOwner$Outbound,
|
|
14
10
|
ServiceAccountOwner$outboundSchema,
|
|
15
11
|
} from "./serviceaccountowner.js";
|
|
16
12
|
import {
|
|
17
13
|
UserOwner,
|
|
18
|
-
UserOwner$inboundSchema,
|
|
19
14
|
UserOwner$Outbound,
|
|
20
15
|
UserOwner$outboundSchema,
|
|
21
16
|
} from "./userowner.js";
|
|
@@ -35,19 +30,6 @@ export type ApiKeyOwner = {
|
|
|
35
30
|
serviceAccount?: ServiceAccountOwner | undefined;
|
|
36
31
|
};
|
|
37
32
|
|
|
38
|
-
/** @internal */
|
|
39
|
-
export const ApiKeyOwner$inboundSchema: z.ZodType<
|
|
40
|
-
ApiKeyOwner,
|
|
41
|
-
z.ZodTypeDef,
|
|
42
|
-
unknown
|
|
43
|
-
> = z.object({
|
|
44
|
-
user: UserOwner$inboundSchema.optional(),
|
|
45
|
-
service_account: ServiceAccountOwner$inboundSchema.optional(),
|
|
46
|
-
}).transform((v) => {
|
|
47
|
-
return remap$(v, {
|
|
48
|
-
"service_account": "serviceAccount",
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
33
|
/** @internal */
|
|
52
34
|
export type ApiKeyOwner$Outbound = {
|
|
53
35
|
user?: UserOwner$Outbound | undefined;
|
|
@@ -71,12 +53,3 @@ export const ApiKeyOwner$outboundSchema: z.ZodType<
|
|
|
71
53
|
export function apiKeyOwnerToJSON(apiKeyOwner: ApiKeyOwner): string {
|
|
72
54
|
return JSON.stringify(ApiKeyOwner$outboundSchema.parse(apiKeyOwner));
|
|
73
55
|
}
|
|
74
|
-
export function apiKeyOwnerFromJSON(
|
|
75
|
-
jsonString: string,
|
|
76
|
-
): SafeParseResult<ApiKeyOwner, SDKValidationError> {
|
|
77
|
-
return safeParse(
|
|
78
|
-
jsonString,
|
|
79
|
-
(x) => ApiKeyOwner$inboundSchema.parse(JSON.parse(x)),
|
|
80
|
-
`Failed to parse 'ApiKeyOwner' from JSON`,
|
|
81
|
-
);
|
|
82
|
-
}
|