@orq-ai/node 4.14.0-rc.15 → 4.14.0-rc.16
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 +37 -52
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/accesslevel.d.ts +13 -0
- package/models/components/accesslevel.d.ts.map +1 -0
- package/models/components/{createpersonrequest.js → accesslevel.js} +11 -11
- package/models/components/accesslevel.js.map +1 -0
- package/models/components/createapikeyrequest.d.ts +3 -2
- package/models/components/createapikeyrequest.d.ts.map +1 -1
- package/models/components/createapikeyrequest.js +2 -1
- package/models/components/createapikeyrequest.js.map +1 -1
- package/models/components/createmanagementkeyrequest.d.ts +3 -2
- package/models/components/createmanagementkeyrequest.d.ts.map +1 -1
- package/models/components/createmanagementkeyrequest.js +2 -1
- package/models/components/createmanagementkeyrequest.js.map +1 -1
- package/models/components/domain.d.ts +13 -7
- package/models/components/domain.d.ts.map +1 -1
- package/models/components/domain.js +5 -1
- package/models/components/domain.js.map +1 -1
- package/models/components/domaingroup.d.ts +11 -0
- package/models/components/domaingroup.d.ts.map +1 -0
- package/models/components/{resendinvitationrequest.js → domaingroup.js} +9 -7
- package/models/components/domaingroup.js.map +1 -0
- package/models/components/embeddingorqparams.d.ts +3 -6
- package/models/components/embeddingorqparams.d.ts.map +1 -1
- package/models/components/embeddingorqparams.js +2 -2
- package/models/components/embeddingorqparams.js.map +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/index.d.ts +6 -11
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +6 -11
- package/models/components/index.js.map +1 -1
- package/models/components/listmanagementcapabilitiesresponse.d.ts +2 -2
- package/models/components/listmanagementcapabilitiesresponse.d.ts.map +1 -1
- package/models/components/listmanagementcapabilitiesresponse.js +2 -2
- package/models/components/listmanagementcapabilitiesresponse.js.map +1 -1
- package/models/components/managementdomain.d.ts +37 -0
- package/models/components/managementdomain.d.ts.map +1 -0
- package/models/components/{updatepersonrequest.js → managementdomain.js} +14 -12
- package/models/components/managementdomain.js.map +1 -0
- package/models/components/managementdomaingroup.d.ts +9 -0
- package/models/components/managementdomaingroup.d.ts.map +1 -0
- package/models/components/{personstatus.js → managementdomaingroup.js} +5 -7
- package/models/components/managementdomaingroup.js.map +1 -0
- package/models/components/managementkey.d.ts +2 -1
- package/models/components/managementkey.d.ts.map +1 -1
- package/models/components/managementkey.js +2 -1
- package/models/components/managementkey.js.map +1 -1
- package/models/components/publicresponseresource.d.ts +2 -5
- package/models/components/publicresponseresource.d.ts.map +1 -1
- package/models/components/publicresponseresource.js +2 -2
- package/models/components/publicresponseresource.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responsetelemetry.d.ts +11 -0
- package/models/components/responsetelemetry.d.ts.map +1 -0
- package/models/components/{listpeopleresponse.js → responsetelemetry.js} +10 -11
- package/models/components/responsetelemetry.js.map +1 -0
- package/models/components/scopemode.d.ts +10 -0
- package/models/components/scopemode.d.ts.map +1 -0
- package/models/components/{deletepersonresponse.js → scopemode.js} +8 -8
- package/models/components/scopemode.js.map +1 -0
- package/models/components/updateapikeyrequest.d.ts +3 -2
- package/models/components/updateapikeyrequest.d.ts.map +1 -1
- package/models/components/updateapikeyrequest.js +2 -1
- package/models/components/updateapikeyrequest.js.map +1 -1
- package/models/components/updatemanagementkeyrequest.d.ts +3 -2
- package/models/components/updatemanagementkeyrequest.d.ts.map +1 -1
- package/models/components/updatemanagementkeyrequest.js +2 -1
- package/models/components/updatemanagementkeyrequest.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 +1 -4
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +1 -1
- 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/index.d.ts +0 -5
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -5
- package/models/operations/index.js.map +1 -1
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/responsebodynodes.js +33 -33
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.js +31 -31
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.js +6 -6
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.js +18 -18
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.js +16 -16
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.js +34 -34
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.js +30 -30
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.js +5 -5
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.js +26 -26
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.js +5 -5
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.js +3 -3
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.js +30 -30
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.js +26 -26
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.js +25 -25
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.js +24 -24
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.js +2 -2
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.js +18 -18
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.js +4 -4
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.js +30 -30
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.js +30 -30
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.js +4 -4
- package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.js +31 -31
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.js +32 -32
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.js +1 -1
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.js +8 -8
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.js +8 -8
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveresponse.d.ts +1 -4
- package/models/operations/retrieveresponse.d.ts.map +1 -1
- package/models/operations/retrieveresponse.js +1 -1
- package/models/operations/retrieveresponse.js.map +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/summary4.js +10 -10
- package/models/operations/twentythree.js +1 -1
- package/models/operations/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +9 -9
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/sdk/sdk.d.ts +0 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -4
- package/sdk/sdk.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/accesslevel.ts +20 -0
- package/src/models/components/createapikeyrequest.ts +4 -3
- package/src/models/components/createmanagementkeyrequest.ts +4 -3
- package/src/models/components/domain.ts +16 -8
- package/src/models/components/domaingroup.ts +17 -0
- package/src/models/components/embeddingorqparams.ts +7 -10
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/index.ts +6 -11
- package/src/models/components/listmanagementcapabilitiesresponse.ts +6 -3
- package/src/models/components/managementdomain.ts +70 -0
- package/src/models/components/managementdomaingroup.ts +16 -0
- package/src/models/components/managementkey.ts +3 -2
- package/src/models/components/publicresponseresource.ts +6 -6
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responsetelemetry.ts +39 -0
- package/src/models/components/scopemode.ts +16 -0
- package/src/models/components/updateapikeyrequest.ts +4 -3
- package/src/models/components/updatemanagementkeyrequest.ts +4 -3
- 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 +2 -5
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +0 -5
- 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/responsebodynodes.ts +33 -33
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.ts +34 -34
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.ts +5 -5
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.ts +5 -5
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.ts +3 -3
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.ts +25 -25
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.ts +8 -8
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.ts +8 -8
- 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/retrieveresponse.ts +2 -5
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/summary4.ts +10 -10
- package/src/models/operations/twentythree.ts +1 -1
- package/src/models/operations/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
- package/src/sdk/sdk.ts +0 -6
- package/funcs/peopleCreate.d.ts +0 -17
- package/funcs/peopleCreate.d.ts.map +0 -1
- package/funcs/peopleCreate.js +0 -115
- package/funcs/peopleCreate.js.map +0 -1
- package/funcs/peopleDelete.d.ts +0 -18
- package/funcs/peopleDelete.d.ts.map +0 -1
- package/funcs/peopleDelete.js +0 -121
- package/funcs/peopleDelete.js.map +0 -1
- package/funcs/peopleGet.d.ts +0 -18
- package/funcs/peopleGet.d.ts.map +0 -1
- package/funcs/peopleGet.js +0 -121
- package/funcs/peopleGet.js.map +0 -1
- package/funcs/peopleList.d.ts +0 -18
- package/funcs/peopleList.d.ts.map +0 -1
- package/funcs/peopleList.js +0 -121
- package/funcs/peopleList.js.map +0 -1
- package/funcs/peopleResendInvitation.d.ts +0 -18
- package/funcs/peopleResendInvitation.d.ts.map +0 -1
- package/funcs/peopleResendInvitation.js +0 -124
- package/funcs/peopleResendInvitation.js.map +0 -1
- package/funcs/peopleUpdate.d.ts +0 -18
- package/funcs/peopleUpdate.d.ts.map +0 -1
- package/funcs/peopleUpdate.js +0 -124
- package/funcs/peopleUpdate.js.map +0 -1
- package/models/components/createpersonrequest.d.ts +0 -25
- package/models/components/createpersonrequest.d.ts.map +0 -1
- package/models/components/createpersonrequest.js.map +0 -1
- package/models/components/createpersonresponse.d.ts +0 -14
- package/models/components/createpersonresponse.d.ts.map +0 -1
- package/models/components/createpersonresponse.js +0 -51
- package/models/components/createpersonresponse.js.map +0 -1
- package/models/components/deletepersonresponse.d.ts +0 -8
- package/models/components/deletepersonresponse.d.ts.map +0 -1
- package/models/components/deletepersonresponse.js.map +0 -1
- package/models/components/getpersonresponse.d.ts +0 -14
- package/models/components/getpersonresponse.d.ts.map +0 -1
- package/models/components/getpersonresponse.js +0 -51
- package/models/components/getpersonresponse.js.map +0 -1
- package/models/components/listpeopleresponse.d.ts +0 -25
- package/models/components/listpeopleresponse.d.ts.map +0 -1
- package/models/components/listpeopleresponse.js.map +0 -1
- package/models/components/person.d.ts +0 -51
- package/models/components/person.d.ts.map +0 -1
- package/models/components/person.js +0 -72
- package/models/components/person.js.map +0 -1
- package/models/components/personstatus.d.ts +0 -11
- package/models/components/personstatus.d.ts.map +0 -1
- package/models/components/personstatus.js.map +0 -1
- package/models/components/resendinvitationrequest.d.ts +0 -8
- package/models/components/resendinvitationrequest.d.ts.map +0 -1
- package/models/components/resendinvitationrequest.js.map +0 -1
- package/models/components/resendinvitationresponse.d.ts +0 -14
- package/models/components/resendinvitationresponse.d.ts.map +0 -1
- package/models/components/resendinvitationresponse.js +0 -51
- package/models/components/resendinvitationresponse.js.map +0 -1
- package/models/components/updatepersonrequest.d.ts +0 -30
- package/models/components/updatepersonrequest.d.ts.map +0 -1
- package/models/components/updatepersonrequest.js.map +0 -1
- package/models/components/updatepersonresponse.d.ts +0 -14
- package/models/components/updatepersonresponse.d.ts.map +0 -1
- package/models/components/updatepersonresponse.js +0 -51
- package/models/components/updatepersonresponse.js.map +0 -1
- package/models/operations/persondelete.d.ts +0 -15
- package/models/operations/persondelete.d.ts.map +0 -1
- package/models/operations/persondelete.js +0 -54
- package/models/operations/persondelete.js.map +0 -1
- package/models/operations/personget.d.ts +0 -15
- package/models/operations/personget.d.ts.map +0 -1
- package/models/operations/personget.js +0 -54
- package/models/operations/personget.js.map +0 -1
- package/models/operations/personlist.d.ts +0 -31
- package/models/operations/personlist.d.ts.map +0 -1
- package/models/operations/personlist.js +0 -57
- package/models/operations/personlist.js.map +0 -1
- package/models/operations/personresendinvitation.d.ts +0 -18
- package/models/operations/personresendinvitation.d.ts.map +0 -1
- package/models/operations/personresendinvitation.js +0 -57
- package/models/operations/personresendinvitation.js.map +0 -1
- package/models/operations/personupdate.d.ts +0 -18
- package/models/operations/personupdate.d.ts.map +0 -1
- package/models/operations/personupdate.js +0 -57
- package/models/operations/personupdate.js.map +0 -1
- package/sdk/people.d.ts +0 -48
- package/sdk/people.d.ts.map +0 -1
- package/sdk/people.js +0 -72
- package/sdk/people.js.map +0 -1
- package/src/funcs/peopleCreate.ts +0 -162
- package/src/funcs/peopleDelete.ts +0 -168
- package/src/funcs/peopleGet.ts +0 -168
- package/src/funcs/peopleList.ts +0 -170
- package/src/funcs/peopleResendInvitation.ts +0 -172
- package/src/funcs/peopleUpdate.ts +0 -171
- package/src/models/components/createpersonrequest.ts +0 -46
- package/src/models/components/createpersonresponse.ts +0 -35
- package/src/models/components/deletepersonresponse.ts +0 -27
- package/src/models/components/getpersonresponse.ts +0 -35
- package/src/models/components/listpeopleresponse.ts +0 -53
- package/src/models/components/person.ts +0 -95
- package/src/models/components/personstatus.ts +0 -17
- package/src/models/components/resendinvitationrequest.ts +0 -25
- package/src/models/components/resendinvitationresponse.ts +0 -35
- package/src/models/components/updatepersonrequest.ts +0 -58
- package/src/models/components/updatepersonresponse.ts +0 -35
- package/src/models/operations/persondelete.ts +0 -39
- package/src/models/operations/personget.ts +0 -39
- package/src/models/operations/personlist.ts +0 -58
- package/src/models/operations/personresendinvitation.ts +0 -46
- package/src/models/operations/personupdate.ts +0 -44
- package/src/sdk/people.ts +0 -118
|
@@ -2425,10 +2425,10 @@ export const Evaluations5$inboundSchema: z.ZodType<
|
|
|
2425
2425
|
.optional(),
|
|
2426
2426
|
explanation: z.string().optional(),
|
|
2427
2427
|
started_at: z.string().datetime({ offset: true }).default(
|
|
2428
|
-
"2026-08-
|
|
2428
|
+
"2026-08-13T13:31:17.457Z",
|
|
2429
2429
|
).transform(v => new Date(v)),
|
|
2430
2430
|
finished_at: z.string().datetime({ offset: true }).default(
|
|
2431
|
-
"2026-08-
|
|
2431
|
+
"2026-08-13T13:31:17.457Z",
|
|
2432
2432
|
).transform(v => new Date(v)),
|
|
2433
2433
|
type:
|
|
2434
2434
|
RetrieveAnnotationQueueItemEvaluationsAnnotationQueuesResponse200ApplicationJSONType$inboundSchema,
|
|
@@ -2557,10 +2557,10 @@ export const RetrieveAnnotationQueueItemEvaluations4$inboundSchema: z.ZodType<
|
|
|
2557
2557
|
.optional(),
|
|
2558
2558
|
explanation: z.string().optional(),
|
|
2559
2559
|
started_at: z.string().datetime({ offset: true }).default(
|
|
2560
|
-
"2026-08-
|
|
2560
|
+
"2026-08-13T13:31:17.457Z",
|
|
2561
2561
|
).transform(v => new Date(v)),
|
|
2562
2562
|
finished_at: z.string().datetime({ offset: true }).default(
|
|
2563
|
-
"2026-08-
|
|
2563
|
+
"2026-08-13T13:31:17.457Z",
|
|
2564
2564
|
).transform(v => new Date(v)),
|
|
2565
2565
|
type:
|
|
2566
2566
|
RetrieveAnnotationQueueItemEvaluationsAnnotationQueuesResponse200Type$inboundSchema,
|
|
@@ -2694,10 +2694,10 @@ export const RetrieveAnnotationQueueItemEvaluations3$inboundSchema: z.ZodType<
|
|
|
2694
2694
|
.optional(),
|
|
2695
2695
|
explanation: z.string().optional(),
|
|
2696
2696
|
started_at: z.string().datetime({ offset: true }).default(
|
|
2697
|
-
"2026-08-
|
|
2697
|
+
"2026-08-13T13:31:17.456Z",
|
|
2698
2698
|
).transform(v => new Date(v)),
|
|
2699
2699
|
finished_at: z.string().datetime({ offset: true }).default(
|
|
2700
|
-
"2026-08-
|
|
2700
|
+
"2026-08-13T13:31:17.456Z",
|
|
2701
2701
|
).transform(v => new Date(v)),
|
|
2702
2702
|
type:
|
|
2703
2703
|
RetrieveAnnotationQueueItemEvaluationsAnnotationQueuesResponseType$inboundSchema,
|
|
@@ -2825,10 +2825,10 @@ export const RetrieveAnnotationQueueItemEvaluations2$inboundSchema: z.ZodType<
|
|
|
2825
2825
|
.optional(),
|
|
2826
2826
|
explanation: z.string().optional(),
|
|
2827
2827
|
started_at: z.string().datetime({ offset: true }).default(
|
|
2828
|
-
"2026-08-
|
|
2828
|
+
"2026-08-13T13:31:17.455Z",
|
|
2829
2829
|
).transform(v => new Date(v)),
|
|
2830
2830
|
finished_at: z.string().datetime({ offset: true }).default(
|
|
2831
|
-
"2026-08-
|
|
2831
|
+
"2026-08-13T13:31:17.455Z",
|
|
2832
2832
|
).transform(v => new Date(v)),
|
|
2833
2833
|
type:
|
|
2834
2834
|
RetrieveAnnotationQueueItemEvaluationsAnnotationQueuesType$inboundSchema,
|
|
@@ -2963,10 +2963,10 @@ export const RetrieveAnnotationQueueItemEvaluations1$inboundSchema: z.ZodType<
|
|
|
2963
2963
|
RetrieveAnnotationQueueItemEvaluationsOutputSchema$inboundSchema.optional(),
|
|
2964
2964
|
explanation: z.string().optional(),
|
|
2965
2965
|
started_at: z.string().datetime({ offset: true }).default(
|
|
2966
|
-
"2026-08-
|
|
2966
|
+
"2026-08-13T13:31:17.454Z",
|
|
2967
2967
|
).transform(v => new Date(v)),
|
|
2968
2968
|
finished_at: z.string().datetime({ offset: true }).default(
|
|
2969
|
-
"2026-08-
|
|
2969
|
+
"2026-08-13T13:31:17.454Z",
|
|
2970
2970
|
).transform(v => new Date(v)),
|
|
2971
2971
|
type: RetrieveAnnotationQueueItemEvaluationsType$inboundSchema,
|
|
2972
2972
|
status: EvaluationsStatus$inboundSchema,
|
|
@@ -5932,7 +5932,7 @@ export const TwentyThree$inboundSchema: z.ZodType<
|
|
|
5932
5932
|
z.ZodTypeDef,
|
|
5933
5933
|
unknown
|
|
5934
5934
|
> = z.object({
|
|
5935
|
-
_id: z.string().default("
|
|
5935
|
+
_id: z.string().default("01KZXN3W9RT5P6MVJ4J4357BAY"),
|
|
5936
5936
|
name: z.string().optional(),
|
|
5937
5937
|
trace_id: z.string(),
|
|
5938
5938
|
duration: z.number().optional(),
|
|
@@ -195,7 +195,7 @@ export const UpdateAnnotationQueueResponseBody$inboundSchema: z.ZodType<
|
|
|
195
195
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
196
196
|
.optional(),
|
|
197
197
|
updated: z.string().datetime({ offset: true }).default(
|
|
198
|
-
"2026-08-
|
|
198
|
+
"2026-08-13T13:31:02.322Z",
|
|
199
199
|
).transform(v => new Date(v)),
|
|
200
200
|
}).transform((v) => {
|
|
201
201
|
return remap$(v, {
|
|
@@ -2747,7 +2747,7 @@ export const UpdateDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
2747
2747
|
explanation: z.string().optional(),
|
|
2748
2748
|
reviewed_by_id: z.string(),
|
|
2749
2749
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2750
|
-
"2026-08-
|
|
2750
|
+
"2026-08-13T13:31:17.282Z",
|
|
2751
2751
|
).transform(v => new Date(v)),
|
|
2752
2752
|
type: z.literal("string_array"),
|
|
2753
2753
|
values: z.array(z.string()),
|
|
@@ -2847,7 +2847,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2847
2847
|
explanation: z.string().optional(),
|
|
2848
2848
|
reviewed_by_id: z.string(),
|
|
2849
2849
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2850
|
-
"2026-08-
|
|
2850
|
+
"2026-08-13T13:31:17.281Z",
|
|
2851
2851
|
).transform(v => new Date(v)),
|
|
2852
2852
|
type: z.literal("boolean"),
|
|
2853
2853
|
value: z.boolean(),
|
|
@@ -2944,7 +2944,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2944
2944
|
explanation: z.string().optional(),
|
|
2945
2945
|
reviewed_by_id: z.string(),
|
|
2946
2946
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2947
|
-
"2026-08-
|
|
2947
|
+
"2026-08-13T13:31:17.280Z",
|
|
2948
2948
|
).transform(v => new Date(v)),
|
|
2949
2949
|
type: z.literal("number"),
|
|
2950
2950
|
value: z.number(),
|
|
@@ -3033,7 +3033,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3033
3033
|
explanation: z.string().optional(),
|
|
3034
3034
|
reviewed_by_id: z.string(),
|
|
3035
3035
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3036
|
-
"2026-08-
|
|
3036
|
+
"2026-08-13T13:31:17.279Z",
|
|
3037
3037
|
).transform(v => new Date(v)),
|
|
3038
3038
|
type: z.literal("string"),
|
|
3039
3039
|
value: z.string(),
|
|
@@ -3118,7 +3118,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3118
3118
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3119
3119
|
.optional(),
|
|
3120
3120
|
updated: z.string().datetime({ offset: true }).default(
|
|
3121
|
-
"2026-08-
|
|
3121
|
+
"2026-08-13T13:31:02.322Z",
|
|
3122
3122
|
).transform(v => new Date(v)),
|
|
3123
3123
|
}).transform((v) => {
|
|
3124
3124
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-08-
|
|
185
|
+
"2026-08-13T13:31:02.322Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -221,7 +221,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
221
221
|
z.ZodTypeDef,
|
|
222
222
|
unknown
|
|
223
223
|
> = z.object({
|
|
224
|
-
_id: z.string().default("
|
|
224
|
+
_id: z.string().default("01KZXN3TAAWGA5NE3ACJMW5VQB"),
|
|
225
225
|
display_name: z.string(),
|
|
226
226
|
description: z.nullable(z.string()).optional(),
|
|
227
227
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -1480,7 +1480,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1480
1480
|
z.ZodTypeDef,
|
|
1481
1481
|
RequestBodyTools
|
|
1482
1482
|
> = z.object({
|
|
1483
|
-
id: z.string().default("
|
|
1483
|
+
id: z.string().default("01KZXN3T6Z9F305R2E063EP6KA"),
|
|
1484
1484
|
name: z.string(),
|
|
1485
1485
|
description: z.string().optional(),
|
|
1486
1486
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2203,7 +2203,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2203
2203
|
z.ZodTypeDef,
|
|
2204
2204
|
unknown
|
|
2205
2205
|
> = z.object({
|
|
2206
|
-
_id: z.string().default("
|
|
2206
|
+
_id: z.string().default("tool_01KZXN3T6SV9MAJ8AHAVKR7MRV"),
|
|
2207
2207
|
path: z.string(),
|
|
2208
2208
|
key: z.string(),
|
|
2209
2209
|
display_name: z.string().optional(),
|
|
@@ -2306,7 +2306,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2306
2306
|
z.ZodTypeDef,
|
|
2307
2307
|
unknown
|
|
2308
2308
|
> = z.object({
|
|
2309
|
-
id: z.string().default("
|
|
2309
|
+
id: z.string().default("01KZXN3T6R6MSWV9456ZAECD84"),
|
|
2310
2310
|
name: z.string(),
|
|
2311
2311
|
description: z.string().optional(),
|
|
2312
2312
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2364,7 +2364,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2364
2364
|
z.ZodTypeDef,
|
|
2365
2365
|
unknown
|
|
2366
2366
|
> = z.object({
|
|
2367
|
-
_id: z.string().default("
|
|
2367
|
+
_id: z.string().default("tool_01KZXN3T6Q3XB858YRR798ECVA"),
|
|
2368
2368
|
path: z.string(),
|
|
2369
2369
|
key: z.string(),
|
|
2370
2370
|
display_name: z.string().optional(),
|
|
@@ -2554,7 +2554,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2554
2554
|
z.ZodTypeDef,
|
|
2555
2555
|
unknown
|
|
2556
2556
|
> = z.object({
|
|
2557
|
-
_id: z.string().default("
|
|
2557
|
+
_id: z.string().default("tool_01KZXN3T6PPV624YWSDTE98EN9"),
|
|
2558
2558
|
path: z.string(),
|
|
2559
2559
|
key: z.string(),
|
|
2560
2560
|
display_name: z.string().optional(),
|
|
@@ -2649,7 +2649,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2649
2649
|
z.ZodTypeDef,
|
|
2650
2650
|
unknown
|
|
2651
2651
|
> = z.object({
|
|
2652
|
-
_id: z.string().default("
|
|
2652
|
+
_id: z.string().default("tool_01KZXN3T6MD9RVW4PZ61J6VEDV"),
|
|
2653
2653
|
path: z.string(),
|
|
2654
2654
|
key: z.string(),
|
|
2655
2655
|
display_name: z.string().optional(),
|
|
@@ -2752,7 +2752,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2752
2752
|
z.ZodTypeDef,
|
|
2753
2753
|
unknown
|
|
2754
2754
|
> = z.object({
|
|
2755
|
-
_id: z.string().default("
|
|
2755
|
+
_id: z.string().default("tool_01KZXN3T6KZKF36TB851FDSWS0"),
|
|
2756
2756
|
path: z.string(),
|
|
2757
2757
|
key: z.string(),
|
|
2758
2758
|
display_name: z.string().optional(),
|
package/src/sdk/feedback.ts
CHANGED
|
@@ -45,10 +45,10 @@ export class Feedback extends ClientSDK {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create
|
|
48
|
+
* Create a notifier
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
*
|
|
51
|
+
* Creates a notifier destination in a project. Choose `NOTIFIER_TYPE_EMAIL`, `NOTIFIER_TYPE_SLACK_WEBHOOK`, or `NOTIFIER_TYPE_WEBHOOK` and provide the matching destination fields.
|
|
52
52
|
*/
|
|
53
53
|
async create(
|
|
54
54
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -24,7 +24,6 @@ import { ManagementKeys } from "./managementkeys.js";
|
|
|
24
24
|
import { MemoryStores } from "./memorystores.js";
|
|
25
25
|
import { Models } from "./models.js";
|
|
26
26
|
import { Notifiers } from "./notifiers.js";
|
|
27
|
-
import { People } from "./people.js";
|
|
28
27
|
import { Pii } from "./pii.js";
|
|
29
28
|
import { Policies } from "./policies.js";
|
|
30
29
|
import { Projects } from "./projects.js";
|
|
@@ -168,11 +167,6 @@ export class Orq extends ClientSDK {
|
|
|
168
167
|
return (this._notifiers ??= new Notifiers(this._options));
|
|
169
168
|
}
|
|
170
169
|
|
|
171
|
-
private _people?: People;
|
|
172
|
-
get people(): People {
|
|
173
|
-
return (this._people ??= new People(this._options));
|
|
174
|
-
}
|
|
175
|
-
|
|
176
170
|
private _projects?: Projects;
|
|
177
171
|
get projects(): Projects {
|
|
178
172
|
return (this._projects ??= new Projects(this._options));
|
package/funcs/peopleCreate.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OrqCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import * as components from "../models/components/index.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
-
import { OrqError } from "../models/errors/orqerror.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
/**
|
|
11
|
-
* Invite people to a workspace
|
|
12
|
-
*
|
|
13
|
-
* @remarks
|
|
14
|
-
* Invites one or more people to the current workspace. If an email is not already registered, a new account is created and an invitation email is sent. Existing accounts are linked directly to the workspace.
|
|
15
|
-
*/
|
|
16
|
-
export declare function peopleCreate(client: OrqCore, request: components.CreatePersonRequest, options?: RequestOptions): APIPromise<Result<components.CreatePersonResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
-
//# sourceMappingURL=peopleCreate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peopleCreate.d.ts","sourceRoot":"","sources":["../src/funcs/peopleCreate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,oBAAoB,EAC7B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
package/funcs/peopleCreate.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
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.peopleCreate = peopleCreate;
|
|
40
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
-
const http_js_1 = require("../lib/http.js");
|
|
42
|
-
const M = __importStar(require("../lib/matchers.js"));
|
|
43
|
-
const primitives_js_1 = require("../lib/primitives.js");
|
|
44
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
|
-
const security_js_1 = require("../lib/security.js");
|
|
46
|
-
const url_js_1 = require("../lib/url.js");
|
|
47
|
-
const components = __importStar(require("../models/components/index.js"));
|
|
48
|
-
const async_js_1 = require("../types/async.js");
|
|
49
|
-
/**
|
|
50
|
-
* Invite people to a workspace
|
|
51
|
-
*
|
|
52
|
-
* @remarks
|
|
53
|
-
* Invites one or more people to the current workspace. If an email is not already registered, a new account is created and an invitation email is sent. Existing accounts are linked directly to the workspace.
|
|
54
|
-
*/
|
|
55
|
-
function peopleCreate(client, request, options) {
|
|
56
|
-
return new async_js_1.APIPromise($do(client, request, options));
|
|
57
|
-
}
|
|
58
|
-
async function $do(client, request, options) {
|
|
59
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) => components.CreatePersonRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60
|
-
if (!parsed.ok) {
|
|
61
|
-
return [parsed, { status: "invalid" }];
|
|
62
|
-
}
|
|
63
|
-
const payload = parsed.value;
|
|
64
|
-
const body = (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
|
|
65
|
-
const path = (0, url_js_1.pathToFunc)("/v2/people")();
|
|
66
|
-
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
67
|
-
"Content-Type": "application/json",
|
|
68
|
-
Accept: "application/json",
|
|
69
|
-
}));
|
|
70
|
-
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
|
|
71
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
72
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
73
|
-
const context = {
|
|
74
|
-
options: client._options,
|
|
75
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
76
|
-
operationID: "PersonCreate",
|
|
77
|
-
oAuth2Scopes: null,
|
|
78
|
-
resolvedSecurity: requestSecurity,
|
|
79
|
-
securitySource: client._options.apiKey,
|
|
80
|
-
retryConfig: options?.retries
|
|
81
|
-
|| client._options.retryConfig
|
|
82
|
-
|| { strategy: "none" },
|
|
83
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
84
|
-
};
|
|
85
|
-
const requestRes = client._createRequest(context, {
|
|
86
|
-
security: requestSecurity,
|
|
87
|
-
method: "POST",
|
|
88
|
-
baseURL: options?.serverURL,
|
|
89
|
-
path: path,
|
|
90
|
-
headers: headers,
|
|
91
|
-
body: body,
|
|
92
|
-
userAgent: client._options.userAgent,
|
|
93
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
94
|
-
}, options);
|
|
95
|
-
if (!requestRes.ok) {
|
|
96
|
-
return [requestRes, { status: "invalid" }];
|
|
97
|
-
}
|
|
98
|
-
const req = requestRes.value;
|
|
99
|
-
const doResult = await client._do(req, {
|
|
100
|
-
context,
|
|
101
|
-
isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
|
|
102
|
-
retryConfig: context.retryConfig,
|
|
103
|
-
retryCodes: context.retryCodes,
|
|
104
|
-
});
|
|
105
|
-
if (!doResult.ok) {
|
|
106
|
-
return [doResult, { status: "request-error", request: req }];
|
|
107
|
-
}
|
|
108
|
-
const response = doResult.value;
|
|
109
|
-
const [result] = await M.match(M.json(200, components.CreatePersonResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
110
|
-
if (!result.ok) {
|
|
111
|
-
return [result, { status: "complete", request: req, response }];
|
|
112
|
-
}
|
|
113
|
-
return [result, { status: "complete", request: req, response }];
|
|
114
|
-
}
|
|
115
|
-
//# sourceMappingURL=peopleCreate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peopleCreate.js","sourceRoot":"","sources":["../src/funcs/peopleCreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BH,oCAsBC;AAlDD,sDAAiD;AACjD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,YAAY,CAC1B,MAAe,EACf,OAAuC,EACvC,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAe,EACf,OAAuC,EACvC,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,kCAAkC,CAAC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AW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,kCAAkC,CAAC,EAC1D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
package/funcs/peopleDelete.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OrqCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import * as components from "../models/components/index.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
-
import { OrqError } from "../models/errors/orqerror.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* Delete a person
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Removes a member or invited user from the workspace. API keys owned by the removed user are cascade revoked. The response body is empty when the delete succeeds.
|
|
16
|
-
*/
|
|
17
|
-
export declare function peopleDelete(client: OrqCore, request: operations.PersonDeleteRequest, options?: RequestOptions): APIPromise<Result<components.DeletePersonResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
|
-
//# sourceMappingURL=peopleDelete.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peopleDelete.d.ts","sourceRoot":"","sources":["../src/funcs/peopleDelete.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,oBAAoB,EAC7B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
package/funcs/peopleDelete.js
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
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.peopleDelete = peopleDelete;
|
|
40
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
-
const http_js_1 = require("../lib/http.js");
|
|
42
|
-
const M = __importStar(require("../lib/matchers.js"));
|
|
43
|
-
const primitives_js_1 = require("../lib/primitives.js");
|
|
44
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
|
-
const security_js_1 = require("../lib/security.js");
|
|
46
|
-
const url_js_1 = require("../lib/url.js");
|
|
47
|
-
const components = __importStar(require("../models/components/index.js"));
|
|
48
|
-
const operations = __importStar(require("../models/operations/index.js"));
|
|
49
|
-
const async_js_1 = require("../types/async.js");
|
|
50
|
-
/**
|
|
51
|
-
* Delete a person
|
|
52
|
-
*
|
|
53
|
-
* @remarks
|
|
54
|
-
* Removes a member or invited user from the workspace. API keys owned by the removed user are cascade revoked. The response body is empty when the delete succeeds.
|
|
55
|
-
*/
|
|
56
|
-
function peopleDelete(client, request, options) {
|
|
57
|
-
return new async_js_1.APIPromise($do(client, request, options));
|
|
58
|
-
}
|
|
59
|
-
async function $do(client, request, options) {
|
|
60
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.PersonDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
61
|
-
if (!parsed.ok) {
|
|
62
|
-
return [parsed, { status: "invalid" }];
|
|
63
|
-
}
|
|
64
|
-
const payload = parsed.value;
|
|
65
|
-
const body = null;
|
|
66
|
-
const pathParams = {
|
|
67
|
-
person_id: (0, encodings_js_1.encodeSimple)("person_id", payload.person_id, {
|
|
68
|
-
explode: false,
|
|
69
|
-
charEncoding: "percent",
|
|
70
|
-
}),
|
|
71
|
-
};
|
|
72
|
-
const path = (0, url_js_1.pathToFunc)("/v2/people/{person_id}")(pathParams);
|
|
73
|
-
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
74
|
-
Accept: "application/json",
|
|
75
|
-
}));
|
|
76
|
-
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
|
|
77
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
78
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
79
|
-
const context = {
|
|
80
|
-
options: client._options,
|
|
81
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
82
|
-
operationID: "PersonDelete",
|
|
83
|
-
oAuth2Scopes: null,
|
|
84
|
-
resolvedSecurity: requestSecurity,
|
|
85
|
-
securitySource: client._options.apiKey,
|
|
86
|
-
retryConfig: options?.retries
|
|
87
|
-
|| client._options.retryConfig
|
|
88
|
-
|| { strategy: "none" },
|
|
89
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
90
|
-
};
|
|
91
|
-
const requestRes = client._createRequest(context, {
|
|
92
|
-
security: requestSecurity,
|
|
93
|
-
method: "DELETE",
|
|
94
|
-
baseURL: options?.serverURL,
|
|
95
|
-
path: path,
|
|
96
|
-
headers: headers,
|
|
97
|
-
body: body,
|
|
98
|
-
userAgent: client._options.userAgent,
|
|
99
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
100
|
-
}, options);
|
|
101
|
-
if (!requestRes.ok) {
|
|
102
|
-
return [requestRes, { status: "invalid" }];
|
|
103
|
-
}
|
|
104
|
-
const req = requestRes.value;
|
|
105
|
-
const doResult = await client._do(req, {
|
|
106
|
-
context,
|
|
107
|
-
isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
|
|
108
|
-
retryConfig: context.retryConfig,
|
|
109
|
-
retryCodes: context.retryCodes,
|
|
110
|
-
});
|
|
111
|
-
if (!doResult.ok) {
|
|
112
|
-
return [doResult, { status: "request-error", request: req }];
|
|
113
|
-
}
|
|
114
|
-
const response = doResult.value;
|
|
115
|
-
const [result] = await M.match(M.json(200, components.DeletePersonResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
116
|
-
if (!result.ok) {
|
|
117
|
-
return [result, { status: "complete", request: req, response }];
|
|
118
|
-
}
|
|
119
|
-
return [result, { status: "complete", request: req, response }];
|
|
120
|
-
}
|
|
121
|
-
//# sourceMapp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EAAE,CAAC,CAAC;AAClE,CAAC"}
|
package/funcs/peopleGet.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OrqCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import * as components from "../models/components/index.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
-
import { OrqError } from "../models/errors/orqerror.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* Retrieve a person
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Retrieves the details of an existing workspace member or invited user by their person ID.
|
|
16
|
-
*/
|
|
17
|
-
export declare function peopleGet(client: OrqCore, request: operations.PersonGetRequest, options?: RequestOptions): APIPromise<Result<components.GetPersonResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
|
-
//# sourceMappingURL=peopleGet.d.ts.map
|
package/funcs/peopleGet.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"peopleGet.d.ts","sourceRoot":"","sources":["../src/funcs/peopleGet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,iBAAiB,EAC1B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|