@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
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { ApiKeyOwner } from "./apikeyowner.js";
|
|
5
|
-
import { ApiKeyStatus } from "./apikeystatus.js";
|
|
6
|
-
import { BudgetAlert } from "./budgetalert.js";
|
|
7
|
-
import { BudgetLimits } from "./budgetlimits.js";
|
|
8
|
-
import { BudgetMatch } from "./budgetmatch.js";
|
|
9
|
-
import { BudgetScope } from "./budgetscope.js";
|
|
10
|
-
import { BudgetUsage } from "./budgetusage.js";
|
|
11
|
-
import { LegacyTokenFamily } from "./legacytokenfamily.js";
|
|
12
|
-
import { McpAccess } from "./mcpaccess.js";
|
|
13
|
-
import { PermissionMode } from "./permissionmode.js";
|
|
14
|
-
import { ProjectScope } from "./projectscope.js";
|
|
15
|
-
import { RateLimit } from "./ratelimit.js";
|
|
16
|
-
/**
|
|
17
|
-
* The budget scoped to this api-key, if one exists. Read-only here:
|
|
18
|
-
*
|
|
19
|
-
* @remarks
|
|
20
|
-
* budgets are created and managed through the Budgets API
|
|
21
|
-
* (scope.api_key). Populated only when the read request sets
|
|
22
|
-
* `include_budget`. Live consumption (`usage`) is not attached on this
|
|
23
|
-
* path — call the Budgets API for current spend.
|
|
24
|
-
*/
|
|
25
|
-
export type ApiKeyBudget = {
|
|
26
|
-
budgetId?: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* Denormalized metadata for UI rendering, list filters, and the
|
|
29
|
-
*
|
|
30
|
-
* @remarks
|
|
31
|
-
* resolver's prefilter index. Never consulted for matching — the
|
|
32
|
-
* `match` expression is the single source of matching semantics.
|
|
33
|
-
* Unset for budgets created from a raw CEL expression ("custom").
|
|
34
|
-
*/
|
|
35
|
-
scope?: BudgetScope | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* The matching semantics of the budget. The enforcement resolver
|
|
38
|
-
*
|
|
39
|
-
* @remarks
|
|
40
|
-
* evaluates `match.cel` against the request context; a budget
|
|
41
|
-
* applies to a request if and only if the expression evaluates to
|
|
42
|
-
* true. Scoped creates derive a canonical expression (e.g.
|
|
43
|
-
* `provider == "openai"`); an empty expression always matches
|
|
44
|
-
* (workspace-wide).
|
|
45
|
-
*/
|
|
46
|
-
match?: BudgetMatch | undefined;
|
|
47
|
-
/**
|
|
48
|
-
* BudgetLimits is the per-period spend and token ceiling. At least one
|
|
49
|
-
*
|
|
50
|
-
* @remarks
|
|
51
|
-
* of `amount`, `token_limit`, or RateLimit.requests_per_minute MUST be
|
|
52
|
-
* set on a Budget; that invariant is enforced by the handler.
|
|
53
|
-
*/
|
|
54
|
-
limits?: BudgetLimits | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* RateLimit is the per-minute request ceiling. Enforced via atomic
|
|
57
|
-
*
|
|
58
|
-
* @remarks
|
|
59
|
-
* increment-first semantics in the enforcement middleware.
|
|
60
|
-
*/
|
|
61
|
-
rateLimit?: RateLimit | undefined;
|
|
62
|
-
isActive?: boolean | undefined;
|
|
63
|
-
expiresAt?: Date | undefined;
|
|
64
|
-
createdAt?: Date | undefined;
|
|
65
|
-
updatedAt?: Date | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Live consumption for the current period, read from the Redis
|
|
68
|
-
*
|
|
69
|
-
* @remarks
|
|
70
|
-
* counters the enforcement gate maintains. Populated by read paths
|
|
71
|
-
* (Get / List); omitted on write responses (Create / Update / Reset)
|
|
72
|
-
* where it carries no signal. Absent or all-zero for a budget that
|
|
73
|
-
* has not been spent against in the current period.
|
|
74
|
-
*/
|
|
75
|
-
usage?: BudgetUsage | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* Threshold notifications. Absent when the budget has none.
|
|
78
|
-
*/
|
|
79
|
-
alerts?: Array<BudgetAlert> | undefined;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* ApiKey is the canonical record stored in MongoDB `auth.apiKeys`.
|
|
83
|
-
*
|
|
84
|
-
* @remarks
|
|
85
|
-
* It is the source of truth for scope, permissions, owner, budget,
|
|
86
|
-
* expiration, and revocation (see ADR 0001).
|
|
87
|
-
*/
|
|
88
|
-
export type ApiKey = {
|
|
89
|
-
/**
|
|
90
|
-
* Canonical key identifier (ULID). Embedded in opaque tokens as
|
|
91
|
-
*
|
|
92
|
-
* @remarks
|
|
93
|
-
* `sk-orq-<id>-<secret>`.
|
|
94
|
-
*/
|
|
95
|
-
apiKeyId: string;
|
|
96
|
-
/**
|
|
97
|
-
* Human-readable name shown in the dashboard.
|
|
98
|
-
*/
|
|
99
|
-
name: string;
|
|
100
|
-
/**
|
|
101
|
-
* Owner attribution (drives lifecycle).
|
|
102
|
-
*/
|
|
103
|
-
owner: ApiKeyOwner;
|
|
104
|
-
/**
|
|
105
|
-
* Project authorization scope.
|
|
106
|
-
*/
|
|
107
|
-
projectScope: ProjectScope;
|
|
108
|
-
permissionMode: PermissionMode;
|
|
109
|
-
/**
|
|
110
|
-
* Per-domain access map. Only populated when `permission_mode` is
|
|
111
|
-
*
|
|
112
|
-
* @remarks
|
|
113
|
-
* `PERMISSION_MODE_RESTRICTED`. The authoritative list of valid
|
|
114
|
-
* keys and the per-domain read / write semantics are exposed at
|
|
115
|
-
* runtime via the capability catalog endpoint.
|
|
116
|
-
*
|
|
117
|
-
* Valid keys are the Domain.id values in the capability catalog —
|
|
118
|
-
* see libs/catalog/orq/apikeys/v1/catalog.textpb for the canonical
|
|
119
|
-
* list. The ids are intentionally not duplicated here to avoid drift.
|
|
120
|
-
*
|
|
121
|
-
* Values are AccessLevel enum names on the JSON wire:
|
|
122
|
-
* "ACCESS_LEVEL_NONE" — capability not granted
|
|
123
|
-
* "ACCESS_LEVEL_READ" — list / view verbs
|
|
124
|
-
* "ACCESS_LEVEL_WRITE" — list / view + mutating / execute verbs
|
|
125
|
-
*/
|
|
126
|
-
access?: {
|
|
127
|
-
[k: string]: number;
|
|
128
|
-
} | undefined;
|
|
129
|
-
/**
|
|
130
|
-
* Displayable prefix for UI listings (e.g. "sk-orq-01HXY..."). Safe
|
|
131
|
-
*
|
|
132
|
-
* @remarks
|
|
133
|
-
* to expose.
|
|
134
|
-
*/
|
|
135
|
-
tokenPrefix: string;
|
|
136
|
-
status: ApiKeyStatus;
|
|
137
|
-
/**
|
|
138
|
-
* Audit: user who created the key. Optional. Distinct from
|
|
139
|
-
*
|
|
140
|
-
* @remarks
|
|
141
|
-
* `owner.user_id` — created_by is provenance only, while owner
|
|
142
|
-
* determines lifecycle binding.
|
|
143
|
-
*/
|
|
144
|
-
createdById?: string | undefined;
|
|
145
|
-
/**
|
|
146
|
-
* Audit: user who last updated the key.
|
|
147
|
-
*/
|
|
148
|
-
updatedById?: string | undefined;
|
|
149
|
-
/**
|
|
150
|
-
* Time the key was created.
|
|
151
|
-
*/
|
|
152
|
-
createdAt: Date;
|
|
153
|
-
/**
|
|
154
|
-
* Time the key was last updated.
|
|
155
|
-
*/
|
|
156
|
-
updatedAt: Date;
|
|
157
|
-
/**
|
|
158
|
-
* Last authenticated use. Updated via NATS debounce + 1% sampler.
|
|
159
|
-
*/
|
|
160
|
-
lastUsedAt?: Date | undefined;
|
|
161
|
-
/**
|
|
162
|
-
* Optional expiration. The authenticate hot-path rejects keys whose
|
|
163
|
-
*
|
|
164
|
-
* @remarks
|
|
165
|
-
* `expires_at` is in the past. Unset means the key never expires.
|
|
166
|
-
*/
|
|
167
|
-
expiresAt?: Date | undefined;
|
|
168
|
-
legacyTokenFamily?: LegacyTokenFamily | undefined;
|
|
169
|
-
/**
|
|
170
|
-
* Legacy MongoDB `_id` from before the canonical ULID was assigned.
|
|
171
|
-
*
|
|
172
|
-
* @remarks
|
|
173
|
-
* Used by the adapter to resolve a JWT back to this canonical record.
|
|
174
|
-
*/
|
|
175
|
-
legacyKeyId?: string | undefined;
|
|
176
|
-
/**
|
|
177
|
-
* The budget scoped to this api-key, if one exists. Read-only here:
|
|
178
|
-
*
|
|
179
|
-
* @remarks
|
|
180
|
-
* budgets are created and managed through the Budgets API
|
|
181
|
-
* (scope.api_key). Populated only when the read request sets
|
|
182
|
-
* `include_budget`. Live consumption (`usage`) is not attached on this
|
|
183
|
-
* path — call the Budgets API for current spend.
|
|
184
|
-
*/
|
|
185
|
-
budget?: ApiKeyBudget | undefined;
|
|
186
|
-
/**
|
|
187
|
-
* Optional MCP-gateway access restriction. Unset means the key can
|
|
188
|
-
*
|
|
189
|
-
* @remarks
|
|
190
|
-
* reach every MCP gateway allowed by its project scope. See
|
|
191
|
-
* McpAccess for the deny_all / allow-list semantics.
|
|
192
|
-
*/
|
|
193
|
-
mcpAccess?: McpAccess | undefined;
|
|
194
|
-
};
|
|
195
|
-
/** @internal */
|
|
196
|
-
export declare const ApiKeyBudget$inboundSchema: z.ZodType<ApiKeyBudget, z.ZodTypeDef, unknown>;
|
|
197
|
-
export declare function apiKeyBudgetFromJSON(jsonString: string): SafeParseResult<ApiKeyBudget, SDKValidationError>;
|
|
198
|
-
/** @internal */
|
|
199
|
-
export declare const ApiKey$inboundSchema: z.ZodType<ApiKey, z.ZodTypeDef, unknown>;
|
|
200
|
-
export declare function apiKeyFromJSON(jsonString: string): SafeParseResult<ApiKey, SDKValidationError>;
|
|
201
|
-
//# sourceMappingURL=apikey.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apikey.d.ts","sourceRoot":"","sources":["../../src/models/components/apikey.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,WAAW,EAA6B,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,WAAW,EAA6B,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,WAAW,EAA6B,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,WAAW,EAA6B,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,WAAW,EAA6B,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAA2B,MAAM,gBAAgB,CAAC;AACpE,OAAO,EACL,cAAc,EAEf,MA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
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ApiKey$inboundSchema = exports.ApiKeyBudget$inboundSchema = void 0;
|
|
40
|
-
exports.apiKeyBudgetFromJSON = apiKeyBudgetFromJSON;
|
|
41
|
-
exports.apiKeyFromJSON = apiKeyFromJSON;
|
|
42
|
-
const z = __importStar(require("zod/v3"));
|
|
43
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
-
const apikeyowner_js_1 = require("./apikeyowner.js");
|
|
46
|
-
const apikeystatus_js_1 = require("./apikeystatus.js");
|
|
47
|
-
const budgetalert_js_1 = require("./budgetalert.js");
|
|
48
|
-
const budgetlimits_js_1 = require("./budgetlimits.js");
|
|
49
|
-
const budgetmatch_js_1 = require("./budgetmatch.js");
|
|
50
|
-
const budgetscope_js_1 = require("./budgetscope.js");
|
|
51
|
-
const budgetusage_js_1 = require("./budgetusage.js");
|
|
52
|
-
const legacytokenfamily_js_1 = require("./legacytokenfamily.js");
|
|
53
|
-
const mcpaccess_js_1 = require("./mcpaccess.js");
|
|
54
|
-
const permissionmode_js_1 = require("./permissionmode.js");
|
|
55
|
-
const projectscope_js_1 = require("./projectscope.js");
|
|
56
|
-
const ratelimit_js_1 = require("./ratelimit.js");
|
|
57
|
-
/** @internal */
|
|
58
|
-
exports.ApiKeyBudget$inboundSchema = z.object({
|
|
59
|
-
budget_id: z.string().optional(),
|
|
60
|
-
scope: budgetscope_js_1.BudgetScope$inboundSchema.optional(),
|
|
61
|
-
match: budgetmatch_js_1.BudgetMatch$inboundSchema.optional(),
|
|
62
|
-
limits: budgetlimits_js_1.BudgetLimits$inboundSchema.optional(),
|
|
63
|
-
rate_limit: ratelimit_js_1.RateLimit$inboundSchema.optional(),
|
|
64
|
-
is_active: z.boolean().optional(),
|
|
65
|
-
expires_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
66
|
-
.optional(),
|
|
67
|
-
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
68
|
-
.optional(),
|
|
69
|
-
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
70
|
-
.optional(),
|
|
71
|
-
usage: budgetusage_js_1.BudgetUsage$inboundSchema.optional(),
|
|
72
|
-
alerts: z.array(budgetalert_js_1.BudgetAlert$inboundSchema).optional(),
|
|
73
|
-
}).transform((v) => {
|
|
74
|
-
return (0, primitives_js_1.remap)(v, {
|
|
75
|
-
"budget_id": "budgetId",
|
|
76
|
-
"rate_limit": "rateLimit",
|
|
77
|
-
"is_active": "isActive",
|
|
78
|
-
"expires_at": "expiresAt",
|
|
79
|
-
"created_at": "createdAt",
|
|
80
|
-
"updated_at": "updatedAt",
|
|
81
|
-
});
|
|
82
|
-
});
|
|
83
|
-
function apiKeyBudgetFromJSON(jsonString) {
|
|
84
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ApiKeyBudget$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ApiKeyBudget' from JSON`);
|
|
85
|
-
}
|
|
86
|
-
/** @internal */
|
|
87
|
-
exports.ApiKey$inboundSchema = z
|
|
88
|
-
.object({
|
|
89
|
-
api_key_id: z.string(),
|
|
90
|
-
name: z.string(),
|
|
91
|
-
owner: apikeyowner_js_1.ApiKeyOwner$inboundSchema,
|
|
92
|
-
project_scope: projectscope_js_1.ProjectScope$inboundSchema,
|
|
93
|
-
permission_mode: permissionmode_js_1.PermissionMode$inboundSchema,
|
|
94
|
-
access: z.record(z.number().int()).optional(),
|
|
95
|
-
token_prefix: z.string(),
|
|
96
|
-
status: apikeystatus_js_1.ApiKeyStatus$inboundSchema,
|
|
97
|
-
created_by_id: z.string().optional(),
|
|
98
|
-
updated_by_id: z.string().optional(),
|
|
99
|
-
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
100
|
-
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
101
|
-
last_used_at: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
|
|
102
|
-
expires_at: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
|
|
103
|
-
legacy_token_family: legacytokenfamily_js_1.LegacyTokenFamily$inboundSchema.optional(),
|
|
104
|
-
legacy_key_id: z.string().optional(),
|
|
105
|
-
budget: z.lazy(() => exports.ApiKeyBudget$inboundSchema).optional(),
|
|
106
|
-
mcp_access: mcpaccess_js_1.McpAccess$inboundSchema.optional(),
|
|
107
|
-
}).transform((v) => {
|
|
108
|
-
return (0, primitives_js_1.remap)(v, {
|
|
109
|
-
"api_key_id": "apiKeyId",
|
|
110
|
-
"project_scope": "projectScope",
|
|
111
|
-
"permission_mode": "permissionMode",
|
|
112
|
-
"token_prefix": "tokenPrefix",
|
|
113
|
-
"created_by_id": "createdById",
|
|
114
|
-
"updated_by_id": "updatedById",
|
|
115
|
-
"created_at": "createdAt",
|
|
116
|
-
"updated_at": "updatedAt",
|
|
117
|
-
"last_used_at": "lastUsedAt",
|
|
118
|
-
"expires_at": "expiresAt",
|
|
119
|
-
"legacy_token_family": "legacyTokenFamily",
|
|
120
|
-
"legacy_key_id": "legacyKeyId",
|
|
121
|
-
"mcp_access": "mcpAccess",
|
|
122
|
-
});
|
|
123
|
-
});
|
|
124
|
-
function apiKeyFromJSON(jsonString) {
|
|
125
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ApiKey$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ApiKey' from JSON`);
|
|
126
|
-
}
|
|
127
|
-
//# sourceMappingURL=apikey.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apikey.js","sourceRoot":"","sources":["../../src/models/components/apikey.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4OH,oDAQC;AAiDD,wCAQC;AA3SD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,qDAA0E;AAC1E,uDAA6E;AAC7E,qDAA0E;AAC1E,uDAA6E;AAC7E,qDAA0E;AAC1E,qDAA0E;AAC1E,qDAA0E;AAC1E,iEAGgC;AAChC,iDAAoE;AACpE,2DAG6B;AAC7B,uDAA6E;AAC7E,iDAAo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CAAC,CAAC,CAAC,CACZ,CAAC,QAAQ,EAAE;IACZ,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAC9D,IAAI,IAAI,CAAC,CAAC,CAAC,CACZ,CAAC,QAAQ,EAAE;IACZ,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAC9D,IAAI,IAAI,CAAC,CAAC,CAAC,CACZ,CAAC,QAAQ,EAAE;IACZ,KAAK,EAAE,0CAAyB,CAAC,QAAQ,EAAE;IAC3C,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,0CAAyB,CAAC,CAAC,QAAQ,EAAE;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,YAAY,EAAE,WAAW;QACzB,WAAW,EAAE,UAAU;QACvB,YAAY,EAAE,WAAW;QACzB,YAAY,EAAE,WAAW;QACzB,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,cAAc,CAC5B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChD,oCAAoC,CACrC,CAAC;AACJ,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { ApiKey } from "./apikey.js";
|
|
5
|
-
export type CreateApiKeyResponse = {
|
|
6
|
-
/**
|
|
7
|
-
* Newly minted api-key record.
|
|
8
|
-
*/
|
|
9
|
-
apiKey: ApiKey;
|
|
10
|
-
/**
|
|
11
|
-
* Raw bearer token in the form `sk-orq-<api_key_id>-<secret>`.
|
|
12
|
-
*
|
|
13
|
-
* @remarks
|
|
14
|
-
* Returned ONCE; the API never exposes this value again. Clients
|
|
15
|
-
* must persist it immediately on receipt.
|
|
16
|
-
*/
|
|
17
|
-
token: string;
|
|
18
|
-
};
|
|
19
|
-
/** @internal */
|
|
20
|
-
export declare const CreateApiKeyResponse$inboundSchema: z.ZodType<CreateApiKeyResponse, z.ZodTypeDef, unknown>;
|
|
21
|
-
export declare function createApiKeyResponseFromJSON(jsonString: string): SafeParseResult<CreateApiKeyResponse, SDKValidationError>;
|
|
22
|
-
//# sourceMappingURL=createapikeyresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createapikeyresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createapikeyresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createapikeyresponse.js","sourceRoot":"","sources":["../../src/models/components/createapikeyresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCH,oEAQC;AA5CD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,2CAA2D;AAiB3D,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,gCAAoB;IAC7B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;KACpB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type DeleteApiKeyResponse = {};
|
|
5
|
-
/** @internal */
|
|
6
|
-
export declare const DeleteApiKeyResponse$inboundSchema: z.ZodType<DeleteApiKeyResponse, z.ZodTypeDef, unknown>;
|
|
7
|
-
export declare function deleteApiKeyResponseFromJSON(jsonString: string): SafeParseResult<DeleteApiKeyResponse, SDKValidationError>;
|
|
8
|
-
//# sourceMappingURL=deleteapikeyresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteapikeyresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/deleteapikeyresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAEtC,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteapikeyresponse.js","sourceRoot":"","sources":["../../src/models/components/deleteapikeyresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBH,oEAQC;AAtBD,0CAA4B;AAC5B,qDAAiD;AAMjD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { ApiKey } from "./apikey.js";
|
|
5
|
-
export type GetApiKeyResponse = {
|
|
6
|
-
/**
|
|
7
|
-
* Requested api-key. Raw token never included.
|
|
8
|
-
*/
|
|
9
|
-
apiKey: ApiKey;
|
|
10
|
-
};
|
|
11
|
-
/** @internal */
|
|
12
|
-
export declare const GetApiKeyResponse$inboundSchema: z.ZodType<GetApiKeyResponse, z.ZodTypeDef, unknown>;
|
|
13
|
-
export declare function getApiKeyResponseFromJSON(jsonString: string): SafeParseResult<GetApiKeyResponse, SDKValidationError>;
|
|
14
|
-
//# sourceMappingURL=getapikeyresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getapikeyresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getapikeyresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getapikeyresponse.js","sourceRoot":"","sources":["../../src/models/components/getapikeyresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,8DAQC;AAnCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,2CAA2D;AAS3D,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,gCAAoB;CAC9B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;KACpB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
export declare const LegacyTokenFamily: {
|
|
4
|
-
readonly LegacyTokenFamilyUnspecified: "LEGACY_TOKEN_FAMILY_UNSPECIFIED";
|
|
5
|
-
readonly LegacyTokenFamilyRouterJwt: "LEGACY_TOKEN_FAMILY_ROUTER_JWT";
|
|
6
|
-
readonly LegacyTokenFamilyProjectJwt: "LEGACY_TOKEN_FAMILY_PROJECT_JWT";
|
|
7
|
-
readonly LegacyTokenFamilyWorkspaceJwt: "LEGACY_TOKEN_FAMILY_WORKSPACE_JWT";
|
|
8
|
-
};
|
|
9
|
-
export type LegacyTokenFamily = ClosedEnum<typeof LegacyTokenFamily>;
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare const LegacyTokenFamily$inboundSchema: z.ZodNativeEnum<typeof LegacyTokenFamily>;
|
|
12
|
-
//# sourceMappingURL=legacytokenfamily.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legacytokenfamily.d.ts","sourceRoot":"","sources":["../../src/models/components/legacytokenfamily.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,iBAAiB;;;;;CAKpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legacytokenfamily.js","sourceRoot":"","sources":["../../src/models/components/legacytokenfamily.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,iBAAiB,GAAG;IAC/B,4BAA4B,EAAE,iCAAiC;IAC/D,0BAA0B,EAAE,gCAAgC;IAC5D,2BAA2B,EAAE,iCAAiC;IAC9D,6BAA6B,EAAE,mCAAmC;CAC1D,CAAC;AAGX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { ApiKey } from "./apikey.js";
|
|
5
|
-
export type ListApiKeysResponse = {
|
|
6
|
-
/**
|
|
7
|
-
* Object discriminator for list responses; always `list`.
|
|
8
|
-
*/
|
|
9
|
-
object: string;
|
|
10
|
-
/**
|
|
11
|
-
* Page of api-keys, ordered newest first. `token_hash` and
|
|
12
|
-
*
|
|
13
|
-
* @remarks
|
|
14
|
-
* `api_key` are always elided in list responses.
|
|
15
|
-
*/
|
|
16
|
-
data: Array<ApiKey>;
|
|
17
|
-
/**
|
|
18
|
-
* Whether more api-keys are available in the selected pagination
|
|
19
|
-
*
|
|
20
|
-
* @remarks
|
|
21
|
-
* direction.
|
|
22
|
-
*/
|
|
23
|
-
hasMore: boolean;
|
|
24
|
-
};
|
|
25
|
-
/** @internal */
|
|
26
|
-
export declare const ListApiKeysResponse$inboundSchema: z.ZodType<ListApiKeysResponse, z.ZodTypeDef, unknown>;
|
|
27
|
-
export declare function listApiKeysResponseFromJSON(jsonString: string): SafeParseResult<ListApiKeysResponse, SDKValidationError>;
|
|
28
|
-
//# sourceMappingURL=listapikeysresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listapikeysresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/listapikeysresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpB;;;;;OAKG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listapikeysresponse.js","sourceRoot":"","sources":["../../src/models/components/listapikeysresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CH,kEAQC;AAnDD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,2CAA2D;AAuB3D,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAoB,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,SAAS;KACtB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type SmartRouterMetrics = {
|
|
5
|
-
/**
|
|
6
|
-
* Total gateway requests served by the router over the window.
|
|
7
|
-
*/
|
|
8
|
-
requests: number;
|
|
9
|
-
/**
|
|
10
|
-
* Total cost in USD attributed to the router over the window.
|
|
11
|
-
*/
|
|
12
|
-
spend: number;
|
|
13
|
-
/**
|
|
14
|
-
* Requests per selected model, keyed by the provider/model reference.
|
|
15
|
-
*/
|
|
16
|
-
traffic: {
|
|
17
|
-
[k: string]: number;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const SmartRouterMetrics$inboundSchema: z.ZodType<SmartRouterMetrics, z.ZodTypeDef, unknown>;
|
|
22
|
-
export declare function smartRouterMetricsFromJSON(jsonString: string): SafeParseResult<SmartRouterMetrics, SDKValidationError>;
|
|
23
|
-
//# sourceMappingURL=smartroutermetrics.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"smartroutermetrics.d.ts","sourceRoot":"","sources":["../../src/models/components/smartroutermetrics.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"smartroutermetrics.js","sourceRoot":"","sources":["../../src/models/components/smartroutermetrics.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCH,gEAQC;AAvCD,0CAA4B;AAC5B,qDAAiD;AAmBjD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC9B,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { ApiKey } from "./apikey.js";
|
|
5
|
-
export type UpdateApiKeyResponse = {
|
|
6
|
-
/**
|
|
7
|
-
* Updated api-key.
|
|
8
|
-
*/
|
|
9
|
-
apiKey: ApiKey;
|
|
10
|
-
};
|
|
11
|
-
/** @internal */
|
|
12
|
-
export declare const UpdateApiKeyResponse$inboundSchema: z.ZodType<UpdateApiKeyResponse, z.ZodTypeDef, unknown>;
|
|
13
|
-
export declare function updateApiKeyResponseFromJSON(jsonString: string): SafeParseResult<UpdateApiKeyResponse, SDKValidationError>;
|
|
14
|
-
//# sourceMappingURL=updateapikeyresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateapikeyresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/updateapikeyresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAA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