@orq-ai/node 4.10.0-rc.3 → 4.10.0-rc.30
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 +16 -20
- package/funcs/identitiesCreate.d.ts +3 -3
- package/funcs/identitiesCreate.d.ts.map +1 -1
- package/funcs/identitiesCreate.js +5 -7
- package/funcs/identitiesCreate.js.map +1 -1
- package/funcs/identitiesDelete.d.ts +3 -3
- package/funcs/identitiesDelete.d.ts.map +1 -1
- package/funcs/identitiesDelete.js +3 -7
- package/funcs/identitiesDelete.js.map +1 -1
- package/funcs/identitiesList.d.ts +2 -1
- package/funcs/identitiesList.d.ts.map +1 -1
- package/funcs/identitiesList.js +3 -2
- package/funcs/identitiesList.js.map +1 -1
- package/funcs/identitiesRetrieve.d.ts +2 -2
- package/funcs/identitiesRetrieve.d.ts.map +1 -1
- package/funcs/identitiesRetrieve.js +2 -5
- package/funcs/identitiesRetrieve.js.map +1 -1
- package/funcs/identitiesUpdate.d.ts +2 -2
- package/funcs/identitiesUpdate.d.ts.map +1 -1
- package/funcs/identitiesUpdate.js +5 -6
- package/funcs/identitiesUpdate.js.map +1 -1
- package/funcs/{contactsCreate.d.ts → modelsList.d.ts} +4 -4
- package/funcs/modelsList.d.ts.map +1 -0
- package/funcs/{remoteconfigsRetrieve.js → modelsList.js} +13 -23
- package/funcs/modelsList.js.map +1 -0
- package/funcs/projectsCreate.d.ts +1 -1
- package/funcs/projectsCreate.js +1 -1
- package/funcs/projectsDelete.d.ts +3 -0
- package/funcs/projectsDelete.d.ts.map +1 -1
- package/funcs/projectsDelete.js +3 -0
- package/funcs/projectsDelete.js.map +1 -1
- package/funcs/projectsList.d.ts +1 -1
- package/funcs/projectsList.js +1 -1
- package/funcs/reportingQuery.d.ts +17 -0
- package/funcs/reportingQuery.d.ts.map +1 -0
- package/funcs/{contactsCreate.js → reportingQuery.js} +10 -10
- package/funcs/reportingQuery.js.map +1 -0
- package/funcs/skillsCreate.d.ts +1 -1
- package/funcs/skillsCreate.js +1 -1
- package/funcs/skillsDelete.d.ts +3 -0
- package/funcs/skillsDelete.d.ts.map +1 -1
- package/funcs/skillsDelete.js +3 -0
- package/funcs/skillsDelete.js.map +1 -1
- package/funcs/skillsGet.d.ts +1 -1
- package/funcs/skillsGet.js +1 -1
- package/funcs/skillsList.d.ts +1 -1
- package/funcs/skillsList.js +1 -1
- package/funcs/skillsUpdate.d.ts +1 -1
- package/funcs/skillsUpdate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/createidentityrequest.d.ts +28 -0
- package/models/components/createidentityrequest.d.ts.map +1 -0
- package/models/{operations/createidentity.js → components/createidentityrequest.js} +18 -38
- package/models/components/createidentityrequest.js.map +1 -0
- package/models/components/createidentityresponse.d.ts +11 -0
- package/models/components/createidentityresponse.d.ts.map +1 -0
- package/models/components/createidentityresponse.js +51 -0
- package/models/components/createidentityresponse.js.map +1 -0
- package/models/components/createprojectrequest.d.ts +6 -0
- package/models/components/createprojectrequest.d.ts.map +1 -1
- package/models/components/createprojectrequest.js.map +1 -1
- package/models/components/createprojectresponse.d.ts +3 -0
- package/models/components/createprojectresponse.d.ts.map +1 -1
- package/models/components/createprojectresponse.js.map +1 -1
- package/models/components/createskillrequest.d.ts +18 -0
- package/models/components/createskillrequest.d.ts.map +1 -1
- package/models/components/createskillrequest.js.map +1 -1
- package/models/components/createskillresponse.d.ts +3 -0
- package/models/components/createskillresponse.d.ts.map +1 -1
- package/models/components/createskillresponse.js.map +1 -1
- package/models/components/datapoint.d.ts +40 -0
- package/models/components/datapoint.d.ts.map +1 -0
- package/models/components/datapoint.js +53 -0
- package/models/components/datapoint.js.map +1 -0
- package/models/components/deleteidentityresponse.d.ts +8 -0
- package/models/components/deleteidentityresponse.d.ts.map +1 -0
- package/models/components/deleteidentityresponse.js +48 -0
- package/models/components/deleteidentityresponse.js.map +1 -0
- package/models/components/file.d.ts +0 -1
- package/models/components/file.d.ts.map +1 -1
- package/models/components/file.js +0 -2
- package/models/components/file.js.map +1 -1
- package/models/components/filter.d.ts +99 -0
- package/models/components/filter.d.ts.map +1 -0
- package/models/components/filter.js +120 -0
- package/models/components/filter.js.map +1 -0
- package/models/components/getprojectresponse.d.ts +3 -0
- package/models/components/getprojectresponse.d.ts.map +1 -1
- package/models/components/getprojectresponse.js.map +1 -1
- package/models/components/getskillresponse.d.ts +3 -0
- package/models/components/getskillresponse.d.ts.map +1 -1
- package/models/components/getskillresponse.js.map +1 -1
- package/models/components/identity.d.ts +25 -0
- package/models/components/identity.d.ts.map +1 -0
- package/models/{operations/createcontact.js → components/identity.js} +22 -32
- package/models/components/identity.js.map +1 -0
- package/models/components/identitymetrics.d.ts +13 -0
- package/models/components/identitymetrics.d.ts.map +1 -0
- package/models/{errors/updateidentity.js → components/identitymetrics.js} +19 -26
- package/models/components/identitymetrics.js.map +1 -0
- package/models/components/index.d.ts +16 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +16 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +6 -6
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +7 -6
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/listidentitiesresponse.d.ts +13 -0
- package/models/components/listidentitiesresponse.d.ts.map +1 -0
- package/models/components/listidentitiesresponse.js +58 -0
- package/models/components/listidentitiesresponse.js.map +1 -0
- package/models/components/listprojectsresponse.d.ts +12 -0
- package/models/components/listprojectsresponse.d.ts.map +1 -1
- package/models/components/listprojectsresponse.js.map +1 -1
- package/models/components/listskillsresponse.d.ts +12 -0
- package/models/components/listskillsresponse.d.ts.map +1 -1
- package/models/components/listskillsresponse.js.map +1 -1
- package/models/components/modelref.d.ts +2 -0
- package/models/components/modelref.d.ts.map +1 -1
- package/models/components/modelref.js +4 -0
- package/models/components/modelref.js.map +1 -1
- package/models/components/project.d.ts +42 -1
- package/models/components/project.d.ts.map +1 -1
- package/models/components/project.js +0 -2
- package/models/components/project.js.map +1 -1
- package/models/components/publicmodelentry.d.ts +38 -0
- package/models/components/publicmodelentry.d.ts.map +1 -0
- package/models/{errors/deleteidentity.js → components/publicmodelentry.js} +23 -27
- package/models/components/publicmodelentry.js.map +1 -0
- package/models/components/queryreportrequest.d.ts +156 -0
- package/models/components/queryreportrequest.d.ts.map +1 -0
- package/models/components/queryreportrequest.js +166 -0
- package/models/components/queryreportrequest.js.map +1 -0
- package/models/components/queryreportresponse.d.ts +59 -0
- package/models/components/queryreportresponse.d.ts.map +1 -0
- package/models/components/queryreportresponse.js +72 -0
- package/models/components/queryreportresponse.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responsemeta.d.ts +63 -0
- package/models/components/responsemeta.d.ts.map +1 -0
- package/models/components/responsemeta.js +79 -0
- package/models/components/responsemeta.js.map +1 -0
- package/models/components/retrieveidentityresponse.d.ts +11 -0
- package/models/components/retrieveidentityresponse.d.ts.map +1 -0
- package/models/components/retrieveidentityresponse.js +51 -0
- package/models/components/retrieveidentityresponse.js.map +1 -0
- package/models/components/skill.d.ts +37 -1
- package/models/components/skill.d.ts.map +1 -1
- package/models/components/skill.js +0 -2
- package/models/components/skill.js.map +1 -1
- package/models/components/totals.d.ts +18 -0
- package/models/components/totals.d.ts.map +1 -0
- package/models/components/totals.js +51 -0
- package/models/components/totals.js.map +1 -0
- package/models/components/updateidentityrequest.d.ts +28 -0
- package/models/components/updateidentityrequest.d.ts.map +1 -0
- package/models/components/updateidentityrequest.js +67 -0
- package/models/components/updateidentityrequest.js.map +1 -0
- package/models/components/updateidentityresponse.d.ts +11 -0
- package/models/components/updateidentityresponse.d.ts.map +1 -0
- package/models/components/updateidentityresponse.js +51 -0
- package/models/components/updateidentityresponse.js.map +1 -0
- package/models/components/updateprojectrequest.d.ts +12 -0
- package/models/components/updateprojectrequest.d.ts.map +1 -1
- package/models/components/updateprojectrequest.js.map +1 -1
- package/models/components/updateprojectresponse.d.ts +3 -0
- package/models/components/updateprojectresponse.d.ts.map +1 -1
- package/models/components/updateprojectresponse.js.map +1 -1
- package/models/components/updateskillrequest.d.ts +26 -0
- package/models/components/updateskillrequest.d.ts.map +1 -1
- package/models/components/updateskillrequest.js.map +1 -1
- package/models/components/updateskillresponse.d.ts +3 -0
- package/models/components/updateskillresponse.d.ts.map +1 -1
- package/models/components/updateskillresponse.js.map +1 -1
- package/models/errors/index.d.ts +0 -3
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -3
- package/models/errors/index.js.map +1 -1
- package/models/operations/createannotation.d.ts +4 -4
- package/models/operations/createannotation.d.ts.map +1 -1
- package/models/operations/createannotation.js +5 -5
- package/models/operations/createannotation.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +6 -0
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +24 -16
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deleteidentity.d.ts +0 -3
- package/models/operations/deleteidentity.d.ts.map +1 -1
- package/models/operations/deleteidentity.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.d.ts +2 -0
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +20 -16
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +1 -3
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -3
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeeval.d.ts +28 -28
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +40 -40
- package/models/operations/invokeeval.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.d.ts +5 -121
- package/models/operations/listidentities.d.ts.map +1 -1
- package/models/operations/listidentities.js +5 -76
- package/models/operations/listidentities.js.map +1 -1
- package/models/operations/listmodels.d.ts +34 -0
- package/models/operations/listmodels.d.ts.map +1 -0
- package/models/operations/{remoteconfigsgetconfig.js → listmodels.js} +12 -27
- package/models/operations/listmodels.js.map +1 -0
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2agentsa2a.d.ts +4 -4
- package/models/operations/postv2agentsa2a.d.ts.map +1 -1
- package/models/operations/postv2agentsa2a.js +6 -6
- package/models/operations/postv2agentsa2a.js.map +1 -1
- package/models/operations/postv2feedback.d.ts +15 -15
- package/models/operations/postv2feedback.d.ts.map +1 -1
- package/models/operations/postv2feedback.js +15 -16
- package/models/operations/postv2feedback.js.map +1 -1
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2feedbackremove.d.ts +8 -8
- package/models/operations/postv2feedbackremove.d.ts.map +1 -1
- package/models/operations/postv2feedbackremove.js +8 -7
- package/models/operations/postv2feedbackremove.js.map +1 -1
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/projectdelete.d.ts +3 -0
- package/models/operations/projectdelete.d.ts.map +1 -1
- package/models/operations/projectdelete.js.map +1 -1
- package/models/operations/projectget.d.ts +3 -0
- package/models/operations/projectget.d.ts.map +1 -1
- package/models/operations/projectget.js.map +1 -1
- package/models/operations/projectlist.d.ts +15 -0
- package/models/operations/projectlist.d.ts.map +1 -1
- package/models/operations/projectlist.js.map +1 -1
- package/models/operations/projectupdate.d.ts +3 -0
- package/models/operations/projectupdate.d.ts.map +1 -1
- package/models/operations/projectupdate.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.d.ts +2 -78
- package/models/operations/retrieveidentity.d.ts.map +1 -1
- package/models/operations/retrieveidentity.js +2 -46
- package/models/operations/retrieveidentity.js.map +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/skilldelete.d.ts +3 -0
- package/models/operations/skilldelete.d.ts.map +1 -1
- package/models/operations/skilldelete.js.map +1 -1
- package/models/operations/skilllist.d.ts +12 -0
- package/models/operations/skilllist.d.ts.map +1 -1
- package/models/operations/skilllist.js.map +1 -1
- package/models/operations/skillupdate.d.ts +3 -0
- package/models/operations/skillupdate.d.ts.map +1 -1
- package/models/operations/skillupdate.js.map +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +6 -4
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +22 -19
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateidentity.d.ts +3 -96
- package/models/operations/updateidentity.d.ts.map +1 -1
- package/models/operations/updateidentity.js +4 -46
- package/models/operations/updateidentity.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/sdk/feedback.d.ts +1 -1
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +3 -3
- package/sdk/feedback.js.map +1 -1
- package/sdk/identities.d.ts +11 -10
- package/sdk/identities.d.ts.map +1 -1
- package/sdk/identities.js +9 -9
- package/sdk/identities.js.map +1 -1
- package/sdk/models.d.ts +12 -0
- package/sdk/models.d.ts.map +1 -0
- package/sdk/models.js +22 -0
- package/sdk/models.js.map +1 -0
- package/sdk/projects.d.ts +5 -2
- package/sdk/projects.d.ts.map +1 -1
- package/sdk/projects.js +5 -2
- package/sdk/projects.js.map +1 -1
- package/sdk/reporting.d.ts +12 -0
- package/sdk/reporting.d.ts.map +1 -0
- package/sdk/reporting.js +22 -0
- package/sdk/reporting.js.map +1 -0
- package/sdk/sdk.d.ts +10 -10
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +14 -14
- package/sdk/sdk.js.map +1 -1
- package/sdk/skills.d.ts +7 -4
- package/sdk/skills.d.ts.map +1 -1
- package/sdk/skills.js +7 -4
- package/sdk/skills.js.map +1 -1
- package/src/funcs/identitiesCreate.ts +10 -15
- package/src/funcs/identitiesDelete.ts +7 -16
- package/src/funcs/identitiesList.ts +6 -5
- package/src/funcs/identitiesRetrieve.ts +6 -18
- package/src/funcs/identitiesUpdate.ts +9 -15
- package/src/funcs/{remoteconfigsRetrieve.ts → modelsList.ts} +14 -33
- package/src/funcs/projectsCreate.ts +1 -1
- package/src/funcs/projectsDelete.ts +3 -0
- package/src/funcs/projectsList.ts +1 -1
- package/src/funcs/{contactsCreate.ts → reportingQuery.ts} +13 -13
- package/src/funcs/skillsCreate.ts +1 -1
- package/src/funcs/skillsDelete.ts +3 -0
- package/src/funcs/skillsGet.ts +1 -1
- package/src/funcs/skillsList.ts +1 -1
- package/src/funcs/skillsUpdate.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/createidentityrequest.ts +76 -0
- package/src/models/components/createidentityresponse.ts +32 -0
- package/src/models/components/createprojectrequest.ts +6 -0
- package/src/models/components/createprojectresponse.ts +3 -0
- package/src/models/components/createskillrequest.ts +18 -0
- package/src/models/components/createskillresponse.ts +3 -0
- package/src/models/components/datapoint.ts +60 -0
- package/src/models/components/deleteidentityresponse.ts +27 -0
- package/src/models/components/file.ts +0 -3
- package/src/models/components/filter.ts +137 -0
- package/src/models/components/getprojectresponse.ts +3 -0
- package/src/models/components/getskillresponse.ts +3 -0
- package/src/models/components/identity.ts +83 -0
- package/src/models/components/identitymetrics.ts +45 -0
- package/src/models/components/index.ts +16 -0
- package/src/models/components/invokedeploymentrequest.ts +17 -10
- package/src/models/components/listidentitiesresponse.ts +41 -0
- package/src/models/components/listprojectsresponse.ts +12 -0
- package/src/models/components/listskillsresponse.ts +12 -0
- package/src/models/components/modelref.ts +6 -0
- package/src/models/components/project.ts +42 -3
- package/src/models/components/publicmodelentry.ts +70 -0
- package/src/models/components/queryreportrequest.ts +237 -0
- package/src/models/components/queryreportresponse.ts +99 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responsemeta.ts +103 -0
- package/src/models/components/retrieveidentityresponse.ts +32 -0
- package/src/models/components/skill.ts +37 -3
- package/src/models/components/totals.ts +34 -0
- package/src/models/components/updateidentityrequest.ts +75 -0
- package/src/models/components/updateidentityresponse.ts +32 -0
- package/src/models/components/updateprojectrequest.ts +12 -0
- package/src/models/components/updateprojectresponse.ts +3 -0
- package/src/models/components/updateskillrequest.ts +26 -0
- package/src/models/components/updateskillresponse.ts +3 -0
- package/src/models/errors/index.ts +0 -3
- package/src/models/operations/createannotation.ts +7 -11
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +30 -16
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deleteidentity.ts +0 -3
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +22 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +1 -3
- package/src/models/operations/invokeeval.ts +83 -80
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +9 -230
- package/src/models/operations/listmodels.ts +60 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2agentsa2a.ts +14 -17
- package/src/models/operations/postv2feedback.ts +34 -27
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2feedbackremove.ts +14 -17
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/projectdelete.ts +3 -0
- package/src/models/operations/projectget.ts +3 -0
- package/src/models/operations/projectlist.ts +15 -0
- package/src/models/operations/projectupdate.ts +3 -0
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +3 -138
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/skilldelete.ts +3 -0
- package/src/models/operations/skilllist.ts +12 -0
- package/src/models/operations/skillupdate.ts +3 -0
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +30 -23
- package/src/models/operations/updateidentity.ts +5 -154
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +8 -8
- package/src/sdk/identities.ts +18 -17
- package/src/sdk/models.ts +25 -0
- package/src/sdk/projects.ts +5 -2
- package/src/sdk/reporting.ts +27 -0
- package/src/sdk/sdk.ts +22 -22
- package/src/sdk/skills.ts +7 -4
- package/src/types/async.ts +8 -7
- package/types/async.d.ts.map +1 -1
- package/types/async.js +8 -7
- package/types/async.js.map +1 -1
- package/funcs/contactsCreate.d.ts.map +0 -1
- package/funcs/contactsCreate.js.map +0 -1
- package/funcs/remoteconfigsRetrieve.d.ts +0 -14
- package/funcs/remoteconfigsRetrieve.d.ts.map +0 -1
- package/funcs/remoteconfigsRetrieve.js.map +0 -1
- package/models/errors/deleteidentity.d.ts +0 -30
- package/models/errors/deleteidentity.d.ts.map +0 -1
- package/models/errors/deleteidentity.js.map +0 -1
- package/models/errors/retrieveidentity.d.ts +0 -57
- package/models/errors/retrieveidentity.d.ts.map +0 -1
- package/models/errors/retrieveidentity.js +0 -100
- package/models/errors/retrieveidentity.js.map +0 -1
- package/models/errors/updateidentity.d.ts +0 -26
- package/models/errors/updateidentity.d.ts.map +0 -1
- package/models/errors/updateidentity.js.map +0 -1
- package/models/operations/createcontact.d.ts +0 -95
- package/models/operations/createcontact.d.ts.map +0 -1
- package/models/operations/createcontact.js.map +0 -1
- package/models/operations/createidentity.d.ts +0 -99
- package/models/operations/createidentity.d.ts.map +0 -1
- package/models/operations/createidentity.js.map +0 -1
- package/models/operations/remoteconfigsgetconfig.d.ts +0 -67
- package/models/operations/remoteconfigsgetconfig.d.ts.map +0 -1
- package/models/operations/remoteconfigsgetconfig.js.map +0 -1
- package/sdk/contacts.d.ts +0 -12
- package/sdk/contacts.d.ts.map +0 -1
- package/sdk/contacts.js +0 -22
- package/sdk/contacts.js.map +0 -1
- package/sdk/remoteconfigs.d.ts +0 -9
- package/sdk/remoteconfigs.d.ts.map +0 -1
- package/sdk/remoteconfigs.js +0 -19
- package/sdk/remoteconfigs.js.map +0 -1
- package/src/models/errors/deleteidentity.ts +0 -62
- package/src/models/errors/retrieveidentity.ts +0 -118
- package/src/models/errors/updateidentity.ts +0 -54
- package/src/models/operations/createcontact.ts +0 -156
- package/src/models/operations/createidentity.ts +0 -162
- package/src/models/operations/remoteconfigsgetconfig.ts +0 -108
- package/src/sdk/contacts.ts +0 -27
- package/src/sdk/remoteconfigs.ts +0 -24
package/README.md
CHANGED
|
@@ -164,10 +164,6 @@ run();
|
|
|
164
164
|
|
|
165
165
|
* [parse](docs/sdks/chunking/README.md#parse) - Parse text
|
|
166
166
|
|
|
167
|
-
### [Contacts](docs/sdks/contacts/README.md)
|
|
168
|
-
|
|
169
|
-
* [create](docs/sdks/contacts/README.md#create) - Update user information
|
|
170
|
-
|
|
171
167
|
### [Datasets](docs/sdks/datasets/README.md)
|
|
172
168
|
|
|
173
169
|
* [list](docs/sdks/datasets/README.md#list) - List datasets
|
|
@@ -204,8 +200,8 @@ run();
|
|
|
204
200
|
|
|
205
201
|
### [Feedback](docs/sdks/feedback/README.md)
|
|
206
202
|
|
|
207
|
-
* [postV2Feedback](docs/sdks/feedback/README.md#postv2feedback)
|
|
208
203
|
* [postV2FeedbackRemove](docs/sdks/feedback/README.md#postv2feedbackremove)
|
|
204
|
+
* [postV2Feedback](docs/sdks/feedback/README.md#postv2feedback)
|
|
209
205
|
|
|
210
206
|
### [Files](docs/sdks/files/README.md)
|
|
211
207
|
|
|
@@ -237,8 +233,8 @@ run();
|
|
|
237
233
|
* [list](docs/sdks/identities/README.md#list) - List identities
|
|
238
234
|
* [create](docs/sdks/identities/README.md#create) - Create an identity
|
|
239
235
|
* [retrieve](docs/sdks/identities/README.md#retrieve) - Retrieve an identity
|
|
240
|
-
* [update](docs/sdks/identities/README.md#update) - Update an identity
|
|
241
236
|
* [delete](docs/sdks/identities/README.md#delete) - Delete an identity
|
|
237
|
+
* [update](docs/sdks/identities/README.md#update) - Update an identity
|
|
242
238
|
|
|
243
239
|
### [Knowledge](docs/sdks/knowledge/README.md)
|
|
244
240
|
|
|
@@ -280,6 +276,10 @@ run();
|
|
|
280
276
|
* [updateDocument](docs/sdks/memorystores/README.md#updatedocument) - Update a specific memory document
|
|
281
277
|
* [deleteDocument](docs/sdks/memorystores/README.md#deletedocument) - Delete a specific memory document
|
|
282
278
|
|
|
279
|
+
### [Models](docs/sdks/models/README.md)
|
|
280
|
+
|
|
281
|
+
* [list](docs/sdks/models/README.md#list) - List models
|
|
282
|
+
|
|
283
283
|
### [Policies](docs/sdks/policies/README.md)
|
|
284
284
|
|
|
285
285
|
* [list](docs/sdks/policies/README.md#list) - List policies
|
|
@@ -306,9 +306,9 @@ run();
|
|
|
306
306
|
* [listVersions](docs/sdks/prompts/README.md#listversions) - List all prompt versions
|
|
307
307
|
* [getVersion](docs/sdks/prompts/README.md#getversion) - Retrieve a prompt version
|
|
308
308
|
|
|
309
|
-
### [
|
|
309
|
+
### [Reporting](docs/sdks/reporting/README.md)
|
|
310
310
|
|
|
311
|
-
* [
|
|
311
|
+
* [query](docs/sdks/reporting/README.md#query) - Query reporting metrics
|
|
312
312
|
|
|
313
313
|
### [Responses](docs/sdks/responses/README.md)
|
|
314
314
|
|
|
@@ -428,7 +428,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
428
428
|
- [`annotationsCreate`](docs/sdks/annotations/README.md#create) - Annotate a span
|
|
429
429
|
- [`annotationsDelete`](docs/sdks/annotations/README.md#delete) - Remove an annotation from a span
|
|
430
430
|
- [`chunkingParse`](docs/sdks/chunking/README.md#parse) - Parse text
|
|
431
|
-
- [`contactsCreate`](docs/sdks/contacts/README.md#create) - Update user information
|
|
432
431
|
- [`datasetsClear`](docs/sdks/datasets/README.md#clear) - Delete all datapoints
|
|
433
432
|
- [`datasetsCreate`](docs/sdks/datasets/README.md#create) - Create a dataset
|
|
434
433
|
- [`datasetsCreateDatapoint`](docs/sdks/datasets/README.md#createdatapoint) - Create a datapoint
|
|
@@ -507,6 +506,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
507
506
|
- [`memoryStoresUpdate`](docs/sdks/memorystores/README.md#update) - Update memory store
|
|
508
507
|
- [`memoryStoresUpdateDocument`](docs/sdks/memorystores/README.md#updatedocument) - Update a specific memory document
|
|
509
508
|
- [`memoryStoresUpdateMemory`](docs/sdks/memorystores/README.md#updatememory) - Update a specific memory
|
|
509
|
+
- [`modelsList`](docs/sdks/models/README.md#list) - List models
|
|
510
510
|
- [`policiesCreate`](docs/sdks/policies/README.md#create) - Create policy
|
|
511
511
|
- [`policiesDelete`](docs/sdks/policies/README.md#delete) - Delete policy
|
|
512
512
|
- [`policiesList`](docs/sdks/policies/README.md#list) - List policies
|
|
@@ -526,7 +526,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
526
526
|
- [`promptsListVersions`](docs/sdks/prompts/README.md#listversions) - List all prompt versions
|
|
527
527
|
- [`promptsRetrieve`](docs/sdks/prompts/README.md#retrieve) - Retrieve a prompt
|
|
528
528
|
- [`promptsUpdate`](docs/sdks/prompts/README.md#update) - Update a prompt
|
|
529
|
-
- [`
|
|
529
|
+
- [`reportingQuery`](docs/sdks/reporting/README.md#query) - Query reporting metrics
|
|
530
530
|
- [`responsesCreate`](docs/sdks/responses/README.md#create) - Create response
|
|
531
531
|
- [`responsesGet`](docs/sdks/responses/README.md#get) - Retrieve response
|
|
532
532
|
- [`routerAudioSpeechCreate`](docs/sdks/speech/README.md#create) - Create speech
|
|
@@ -835,7 +835,7 @@ const orq = new Orq({
|
|
|
835
835
|
|
|
836
836
|
async function run() {
|
|
837
837
|
try {
|
|
838
|
-
const result = await orq.
|
|
838
|
+
const result = await orq.evals.all({});
|
|
839
839
|
|
|
840
840
|
console.log(result);
|
|
841
841
|
} catch (error) {
|
|
@@ -847,7 +847,7 @@ async function run() {
|
|
|
847
847
|
console.log(error.headers);
|
|
848
848
|
|
|
849
849
|
// Depending on the method different errors may be thrown
|
|
850
|
-
if (error instanceof errors.
|
|
850
|
+
if (error instanceof errors.GetEvalsResponseBody) {
|
|
851
851
|
console.log(error.data$.message); // string
|
|
852
852
|
}
|
|
853
853
|
}
|
|
@@ -862,7 +862,7 @@ run();
|
|
|
862
862
|
**Primary error:**
|
|
863
863
|
* [`OrqError`](./src/models/errors/orqerror.ts): The base class for HTTP error responses.
|
|
864
864
|
|
|
865
|
-
<details><summary>Less common errors (
|
|
865
|
+
<details><summary>Less common errors (44)</summary>
|
|
866
866
|
|
|
867
867
|
<br />
|
|
868
868
|
|
|
@@ -876,24 +876,19 @@ run();
|
|
|
876
876
|
|
|
877
877
|
**Inherit from [`OrqError`](./src/models/errors/orqerror.ts)**:
|
|
878
878
|
* [`HonoApiError`](./src/models/errors/honoapierror.ts): Applicable to 10 of 153 methods.*
|
|
879
|
-
* [`PostV2FeedbackResponseBody`](./src/models/errors/postv2feedbackresponsebody.ts): Bad Request. Status code `400`. Applicable to 1 of 153 methods.*
|
|
880
879
|
* [`InvokeEvalResponseBody`](./src/models/errors/invokeevalresponsebody.ts): Bad request. Status code `400`. Applicable to 1 of 153 methods.*
|
|
881
880
|
* [`PostV2AgentsA2aResponseBody`](./src/models/errors/postv2agentsa2aresponsebody.ts): Invalid request or agent card fetch failed. Status code `400`. Applicable to 1 of 153 methods.*
|
|
882
881
|
* [`PostV2AgentsKeyCardRefreshResponseBody`](./src/models/errors/postv2agentskeycardrefreshresponsebody.ts): Invalid request - Agent is not an A2A agent or card fetch failed. Status code `400`. Applicable to 1 of 153 methods.*
|
|
882
|
+
* [`PostV2FeedbackResponseBody`](./src/models/errors/postv2feedbackresponsebody.ts): Bad Request. Status code `400`. Applicable to 1 of 153 methods.*
|
|
883
883
|
* [`CreateAgentScheduleResponseBody`](./src/models/errors/createagentscheduleresponsebody.ts): Invalid schedule type, expression, or sub-hour cadence. Status code `400`. Applicable to 1 of 153 methods.*
|
|
884
884
|
* [`UpdateAgentScheduleResponseBody`](./src/models/errors/updateagentscheduleresponsebody.ts): Invalid type, expression, or sub-hour cadence. Status code `400`. Applicable to 1 of 153 methods.*
|
|
885
885
|
* [`TriggerAgentScheduleResponseBody`](./src/models/errors/triggeragentscheduleresponsebody.ts): Schedule is inactive. Status code `400`. Applicable to 1 of 153 methods.*
|
|
886
|
-
* [`PostV2FeedbackFeedbackResponseBody`](./src/models/errors/postv2feedbackfeedbackresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 153 methods.*
|
|
887
|
-
* [`PostV2FeedbackRemoveResponseBody`](./src/models/errors/postv2feedbackremoveresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 153 methods.*
|
|
888
886
|
* [`GetEvalsResponseBody`](./src/models/errors/getevalsresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 153 methods.*
|
|
889
887
|
* [`CreateEvalResponseBody`](./src/models/errors/createevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 153 methods.*
|
|
890
888
|
* [`UpdateEvalResponseBody`](./src/models/errors/updateevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 153 methods.*
|
|
891
889
|
* [`DeleteEvalResponseBody`](./src/models/errors/deleteevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 153 methods.*
|
|
892
890
|
* [`InvokeEvalEvalsResponseBody`](./src/models/errors/invokeevalevalsresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 153 methods.*
|
|
893
891
|
* [`GetV2EvaluatorsIdVersionsResponseBody`](./src/models/errors/getv2evaluatorsidversionsresponsebody.ts): Evaluator not found. Status code `404`. Applicable to 1 of 153 methods.*
|
|
894
|
-
* [`RetrieveIdentityResponseBody`](./src/models/errors/retrieveidentityresponsebody.ts): Identity not found. Status code `404`. Applicable to 1 of 153 methods.*
|
|
895
|
-
* [`UpdateIdentityResponseBody`](./src/models/errors/updateidentityresponsebody.ts): Identity not found. Status code `404`. Applicable to 1 of 153 methods.*
|
|
896
|
-
* [`DeleteIdentityResponseBody`](./src/models/errors/deleteidentityresponsebody.ts): Identity not found. Status code `404`. Applicable to 1 of 153 methods.*
|
|
897
892
|
* [`PostV2AgentsKeyCardRefreshAgentsResponseBody`](./src/models/errors/postv2agentskeycardrefreshagentsresponsebody.ts): Agent not found. Status code `404`. Applicable to 1 of 153 methods.*
|
|
898
893
|
* [`DeleteAgentResponseBody`](./src/models/errors/deleteagentresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or has already been deleted. Status code `404`. Applicable to 1 of 153 methods.*
|
|
899
894
|
* [`RetrieveAgentRequestResponseBody`](./src/models/errors/retrieveagentrequestresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or you do not have permission to access it. Status code `404`. Applicable to 1 of 153 methods.*
|
|
@@ -906,6 +901,8 @@ run();
|
|
|
906
901
|
* [`UpdateToolResponseBody`](./src/models/errors/updatetoolresponsebody.ts): Tool not found. Status code `404`. Applicable to 1 of 153 methods.*
|
|
907
902
|
* [`GetV2ToolsToolIdVersionsResponseBody`](./src/models/errors/getv2toolstoolidversionsresponsebody.ts): Tool not found. Status code `404`. Applicable to 1 of 153 methods.*
|
|
908
903
|
* [`GetV2ToolsToolIdVersionsVersionIdResponseBody`](./src/models/errors/getv2toolstoolidversionsversionidresponsebody.ts): Tool or version not found. Status code `404`. Applicable to 1 of 153 methods.*
|
|
904
|
+
* [`PostV2FeedbackRemoveResponseBody`](./src/models/errors/postv2feedbackremoveresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 153 methods.*
|
|
905
|
+
* [`PostV2FeedbackFeedbackResponseBody`](./src/models/errors/postv2feedbackfeedbackresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 153 methods.*
|
|
909
906
|
* [`CreateAgentScheduleSchedulesResponseBody`](./src/models/errors/createagentscheduleschedulesresponsebody.ts): Agent (or agent version, when agent_tag is set) not found. Status code `404`. Applicable to 1 of 153 methods.*
|
|
910
907
|
* [`DeleteAgentScheduleResponseBody`](./src/models/errors/deleteagentscheduleresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 153 methods.*
|
|
911
908
|
* [`RetrieveAgentScheduleResponseBody`](./src/models/errors/retrieveagentscheduleresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 153 methods.*
|
|
@@ -916,7 +913,6 @@ run();
|
|
|
916
913
|
* [`CreateTranscriptionResponseBody`](./src/models/errors/createtranscriptionresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 153 methods.*
|
|
917
914
|
* [`CreateTranslationResponseBody`](./src/models/errors/createtranslationresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 153 methods.*
|
|
918
915
|
* [`InvokeEvalEvalsResponseResponseBody`](./src/models/errors/invokeevalevalsresponseresponsebody.ts): Error running the evaluator. Status code `500`. Applicable to 1 of 153 methods.*
|
|
919
|
-
* [`RetrieveIdentityIdentitiesResponseBody`](./src/models/errors/retrieveidentityidentitiesresponsebody.ts): Failed to fetch metrics. Status code `500`. Applicable to 1 of 153 methods.*
|
|
920
916
|
* [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
|
|
921
917
|
|
|
922
918
|
</details>
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { OrqCore } from "../core.js";
|
|
2
2
|
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import * as components from "../models/components/index.js";
|
|
3
4
|
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
5
|
import { OrqError } from "../models/errors/orqerror.js";
|
|
5
6
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
6
7
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
8
|
import { APIPromise } from "../types/async.js";
|
|
9
9
|
import { Result } from "../types/fp.js";
|
|
10
10
|
/**
|
|
11
11
|
* Create an identity
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Creates a new identity with a unique external_id. If an identity with the same external_id already exists, the operation will fail.
|
|
14
|
+
* Creates a new identity with a unique external_id. If an identity with the same external_id already exists, the operation will fail.
|
|
15
15
|
*/
|
|
16
|
-
export declare function identitiesCreate(client: OrqCore, request
|
|
16
|
+
export declare function identitiesCreate(client: OrqCore, request: components.CreateIdentityRequest, options?: RequestOptions): APIPromise<Result<components.CreateIdentityResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
17
|
//# sourceMappingURL=identitiesCreate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitiesCreate.d.ts","sourceRoot":"","sources":["../src/funcs/identitiesCreate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,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
@@ -44,26 +44,24 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
44
44
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
45
|
const security_js_1 = require("../lib/security.js");
|
|
46
46
|
const url_js_1 = require("../lib/url.js");
|
|
47
|
-
const
|
|
47
|
+
const components = __importStar(require("../models/components/index.js"));
|
|
48
48
|
const async_js_1 = require("../types/async.js");
|
|
49
49
|
/**
|
|
50
50
|
* Create an identity
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Creates a new identity with a unique external_id. If an identity with the same external_id already exists, the operation will fail.
|
|
53
|
+
* Creates a new identity with a unique external_id. If an identity with the same external_id already exists, the operation will fail.
|
|
54
54
|
*/
|
|
55
55
|
function identitiesCreate(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
57
57
|
}
|
|
58
58
|
async function $do(client, request, options) {
|
|
59
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) =>
|
|
59
|
+
const parsed = (0, schemas_js_1.safeParse)(request, (value) => components.CreateIdentityRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60
60
|
if (!parsed.ok) {
|
|
61
61
|
return [parsed, { status: "invalid" }];
|
|
62
62
|
}
|
|
63
63
|
const payload = parsed.value;
|
|
64
|
-
const body = payload
|
|
65
|
-
? null
|
|
66
|
-
: (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
|
|
64
|
+
const body = (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
|
|
67
65
|
const path = (0, url_js_1.pathToFunc)("/v2/identities")();
|
|
68
66
|
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
69
67
|
"Content-Type": "application/json",
|
|
@@ -108,7 +106,7 @@ async function $do(client, request, options) {
|
|
|
108
106
|
return [doResult, { status: "request-error", request: req }];
|
|
109
107
|
}
|
|
110
108
|
const response = doResult.value;
|
|
111
|
-
const [result] = await M.match(M.json(
|
|
109
|
+
const [result] = await M.match(M.json(200, components.CreateIdentityResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
112
110
|
if (!result.ok) {
|
|
113
111
|
return [result, { status: "complete", request: req, response }];
|
|
114
112
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitiesCreate.js","sourceRoot":"","sources":["../src/funcs/identitiesCreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BH,4CAsBC;AAlDD,sDAAiD;AACjD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;
|
|
1
|
+
{"version":3,"file":"identitiesCreate.js","sourceRoot":"","sources":["../src/funcs/identitiesCreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BH,4CAsBC;AAlDD,sDAAiD;AACjD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,gBAAgB,CAC9B,MAAe,EACf,OAAyC,EACzC,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,OAAyC,EACzC,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,oCAAoC,CAAC,KAAK,CAAC,KAAK,CAAC,EACvE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CA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AE,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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OrqCore } from "../core.js";
|
|
2
2
|
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import * as components from "../models/components/index.js";
|
|
3
4
|
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
5
|
import { OrqError } from "../models/errors/orqerror.js";
|
|
6
6
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
7
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Delete an identity
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Permanently deletes an identity from your workspace and cleans up associated budget configurations.
|
|
15
|
+
* Permanently deletes an identity from your workspace and cleans up associated budget configurations.
|
|
16
16
|
*/
|
|
17
|
-
export declare function identitiesDelete(client: OrqCore, request: operations.DeleteIdentityRequest, options?: RequestOptions): APIPromise<Result<
|
|
17
|
+
export declare function identitiesDelete(client: OrqCore, request: operations.DeleteIdentityRequest, options?: RequestOptions): APIPromise<Result<components.DeleteIdentityResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=identitiesDelete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitiesDelete.d.ts","sourceRoot":"","sources":["../src/funcs/identitiesDelete.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"identitiesDelete.d.ts","sourceRoot":"","sources":["../src/funcs/identitiesDelete.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,gBAAgB,CAC9B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,sBAAsB,EAC/B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -37,7 +37,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.identitiesDelete = identitiesDelete;
|
|
40
|
-
const z = __importStar(require("zod/v3"));
|
|
41
40
|
const encodings_js_1 = require("../lib/encodings.js");
|
|
42
41
|
const http_js_1 = require("../lib/http.js");
|
|
43
42
|
const M = __importStar(require("../lib/matchers.js"));
|
|
@@ -45,14 +44,14 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
45
44
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
46
45
|
const security_js_1 = require("../lib/security.js");
|
|
47
46
|
const url_js_1 = require("../lib/url.js");
|
|
48
|
-
const
|
|
47
|
+
const components = __importStar(require("../models/components/index.js"));
|
|
49
48
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
50
49
|
const async_js_1 = require("../types/async.js");
|
|
51
50
|
/**
|
|
52
51
|
* Delete an identity
|
|
53
52
|
*
|
|
54
53
|
* @remarks
|
|
55
|
-
* Permanently deletes an identity from your workspace and cleans up associated budget configurations.
|
|
54
|
+
* Permanently deletes an identity from your workspace and cleans up associated budget configurations.
|
|
56
55
|
*/
|
|
57
56
|
function identitiesDelete(client, request, options) {
|
|
58
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -113,10 +112,7 @@ async function $do(client, request, options) {
|
|
|
113
112
|
return [doResult, { status: "request-error", request: req }];
|
|
114
113
|
}
|
|
115
114
|
const response = doResult.value;
|
|
116
|
-
const
|
|
117
|
-
HttpMeta: { Response: response, Request: req },
|
|
118
|
-
};
|
|
119
|
-
const [result] = await M.match(M.nil(204, z.void()), M.jsonErr(404, errors.DeleteIdentityResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
115
|
+
const [result] = await M.match(M.json(200, components.DeleteIdentityResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
120
116
|
if (!result.ok) {
|
|
121
117
|
return [result, { status: "complete", request: req, response }];
|
|
122
118
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitiesDelete.js","sourceRoot":"","sources":["../src/funcs/identitiesDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"identitiesDelete.js","sourceRoot":"","sources":["../src/funcs/identitiesDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,4CAsBC;AAnDD,sDAAmD;AACnD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,gBAAgB,CAC9B,MAAe,EACf,OAAyC,EACzC,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,OAAyC,EACzC,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,oCAAoC,CAAC,KAAK,CAAC,KAAK,CAAC,EACvE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,MAAM,UAAU,GAAG;QACjB,EAAE,EAAE,IAAA,2BAAY,EAAC,IAAI,EAAE,OAAO,CAAC,EAAE,EAAE;YACjC,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,SAAS;SACxB,CAAC;KACH,CAAC;IACF,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,qBAAqB,CAAC,CAAC,UAAU,CAA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,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OrqCore } from "../core.js";
|
|
2
2
|
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import * as components from "../models/components/index.js";
|
|
3
4
|
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
5
|
import { OrqError } from "../models/errors/orqerror.js";
|
|
5
6
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
@@ -13,5 +14,5 @@ import { Result } from "../types/fp.js";
|
|
|
13
14
|
* @remarks
|
|
14
15
|
* Retrieves a paginated list of identities in your workspace. Use pagination parameters to navigate through large identity lists efficiently.
|
|
15
16
|
*/
|
|
16
|
-
export declare function identitiesList(client: OrqCore, request?: operations.ListIdentitiesRequest | undefined, options?: RequestOptions): APIPromise<Result<
|
|
17
|
+
export declare function identitiesList(client: OrqCore, request?: operations.ListIdentitiesRequest | undefined, options?: RequestOptions): APIPromise<Result<components.ListIdentitiesResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
18
|
//# sourceMappingURL=identitiesList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitiesList.d.ts","sourceRoot":"","sources":["../src/funcs/identitiesList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,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,MAA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U,CAAC,sBAAsB,EAC/B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
package/funcs/identitiesList.js
CHANGED
|
@@ -44,6 +44,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
44
44
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
45
|
const security_js_1 = require("../lib/security.js");
|
|
46
46
|
const url_js_1 = require("../lib/url.js");
|
|
47
|
+
const components = __importStar(require("../models/components/index.js"));
|
|
47
48
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
49
|
const async_js_1 = require("../types/async.js");
|
|
49
50
|
/**
|
|
@@ -65,7 +66,7 @@ async function $do(client, request, options) {
|
|
|
65
66
|
const path = (0, url_js_1.pathToFunc)("/v2/identities")();
|
|
66
67
|
const query = (0, encodings_js_1.encodeFormQuery)({
|
|
67
68
|
"ending_before": payload?.ending_before,
|
|
68
|
-
"filter_by": payload?.filter_by,
|
|
69
|
+
"filter_by.tags": payload?.["filter_by.tags"],
|
|
69
70
|
"include_metrics": payload?.include_metrics,
|
|
70
71
|
"limit": payload?.limit,
|
|
71
72
|
"search": payload?.search,
|
|
@@ -114,7 +115,7 @@ async function $do(client, request, options) {
|
|
|
114
115
|
return [doResult, { status: "request-error", request: req }];
|
|
115
116
|
}
|
|
116
117
|
const response = doResult.value;
|
|
117
|
-
const [result] = await M.match(M.json(200,
|
|
118
|
+
const [result] = await M.match(M.json(200, components.ListIdentitiesResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
118
119
|
if (!result.ok) {
|
|
119
120
|
return [result, { status: "complete", request: req, response }];
|
|
120
121
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitiesList.js","sourceRoot":"","sources":["../src/funcs/identitiesList.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;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AE,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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OrqCore } from "../core.js";
|
|
2
2
|
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import * as components from "../models/components/index.js";
|
|
3
4
|
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
5
|
import { OrqError } from "../models/errors/orqerror.js";
|
|
6
6
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
7
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
@@ -14,5 +14,5 @@ import { Result } from "../types/fp.js";
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* Retrieves detailed information about a specific identity using their identity ID or external ID from your system.
|
|
16
16
|
*/
|
|
17
|
-
export declare function identitiesRetrieve(client: OrqCore, request: operations.RetrieveIdentityRequest, options?: RequestOptions): APIPromise<Result<
|
|
17
|
+
export declare function identitiesRetrieve(client: OrqCore, request: operations.RetrieveIdentityRequest, options?: RequestOptions): APIPromise<Result<components.RetrieveIdentityResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=identitiesRetrieve.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitiesRetrieve.d.ts","sourceRoot":"","sources":["../src/funcs/identitiesRetrieve.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,
|
|
1
|
+
{"version":3,"file":"identitiesRetrieve.d.ts","sourceRoot":"","sources":["../src/funcs/identitiesRetrieve.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,kBAAkB,CAChC,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,wBAAwB,EACjC,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -44,7 +44,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
44
44
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
45
|
const security_js_1 = require("../lib/security.js");
|
|
46
46
|
const url_js_1 = require("../lib/url.js");
|
|
47
|
-
const
|
|
47
|
+
const components = __importStar(require("../models/components/index.js"));
|
|
48
48
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
49
49
|
const async_js_1 = require("../types/async.js");
|
|
50
50
|
/**
|
|
@@ -116,10 +116,7 @@ async function $do(client, request, options) {
|
|
|
116
116
|
return [doResult, { status: "request-error", request: req }];
|
|
117
117
|
}
|
|
118
118
|
const response = doResult.value;
|
|
119
|
-
const
|
|
120
|
-
HttpMeta: { Response: response, Request: req },
|
|
121
|
-
};
|
|
122
|
-
const [result] = await M.match(M.json(200, operations.RetrieveIdentityResponseBody$inboundSchema), M.jsonErr(404, errors.RetrieveIdentityResponseBody$inboundSchema), M.jsonErr(500, errors.RetrieveIdentityIdentitiesResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
119
|
+
const [result] = await M.match(M.json(200, components.RetrieveIdentityResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
123
120
|
if (!result.ok) {
|
|
124
121
|
return [result, { status: "complete", request: req, response }];
|
|
125
122
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitiesRetrieve.js","sourceRoot":"","sources":["../src/funcs/identitiesRetrieve.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,
|
|
1
|
+
{"version":3,"file":"identitiesRetrieve.js","sourceRoot":"","sources":["../src/funcs/identitiesRetrieve.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,gDAsBC;AAnDD,sDAAoE;AACpE,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,kBAAkB,CAChC,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ACrC,OAAO;QACP,iBAAiB,EAAE,CAAC,UAAkB,EAAE,EAAE,CACxC,IAAA,yBAAe,EAAC,EAAE,MAAM,EAAE,UAAU,EAAc,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACrE,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,sCAAsC,CAAC,EAC9D,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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OrqCore } from "../core.js";
|
|
2
2
|
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import * as components from "../models/components/index.js";
|
|
3
4
|
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
5
|
import { OrqError } from "../models/errors/orqerror.js";
|
|
6
6
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
7
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
@@ -14,5 +14,5 @@ import { Result } from "../types/fp.js";
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* Updates specific fields of an existing identity. Only the fields provided in the request body will be updated.
|
|
16
16
|
*/
|
|
17
|
-
export declare function identitiesUpdate(client: OrqCore, request: operations.UpdateIdentityRequest, options?: RequestOptions): APIPromise<Result<
|
|
17
|
+
export declare function identitiesUpdate(client: OrqCore, request: operations.UpdateIdentityRequest, options?: RequestOptions): APIPromise<Result<components.UpdateIdentityResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=identitiesUpdate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitiesUpdate.d.ts","sourceRoot":"","sources":["../src/funcs/identitiesUpdate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,
|
|
1
|
+
{"version":3,"file":"identitiesUpdate.d.ts","sourceRoot":"","sources":["../src/funcs/identitiesUpdate.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,gBAAgB,CAC9B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,sBAAsB,EAC/B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -44,7 +44,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
44
44
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
45
|
const security_js_1 = require("../lib/security.js");
|
|
46
46
|
const url_js_1 = require("../lib/url.js");
|
|
47
|
-
const
|
|
47
|
+
const components = __importStar(require("../models/components/index.js"));
|
|
48
48
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
49
49
|
const async_js_1 = require("../types/async.js");
|
|
50
50
|
/**
|
|
@@ -62,7 +62,9 @@ async function $do(client, request, options) {
|
|
|
62
62
|
return [parsed, { status: "invalid" }];
|
|
63
63
|
}
|
|
64
64
|
const payload = parsed.value;
|
|
65
|
-
const body = (0, encodings_js_1.encodeJSON)("body", payload.
|
|
65
|
+
const body = (0, encodings_js_1.encodeJSON)("body", payload.UpdateIdentityRequest, {
|
|
66
|
+
explode: true,
|
|
67
|
+
});
|
|
66
68
|
const pathParams = {
|
|
67
69
|
id: (0, encodings_js_1.encodeSimple)("id", payload.id, {
|
|
68
70
|
explode: false,
|
|
@@ -113,10 +115,7 @@ async function $do(client, request, options) {
|
|
|
113
115
|
return [doResult, { status: "request-error", request: req }];
|
|
114
116
|
}
|
|
115
117
|
const response = doResult.value;
|
|
116
|
-
const
|
|
117
|
-
HttpMeta: { Response: response, Request: req },
|
|
118
|
-
};
|
|
119
|
-
const [result] = await M.match(M.json(200, operations.UpdateIdentityResponseBody$inboundSchema), M.jsonErr(404, errors.UpdateIdentityResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
118
|
+
const [result] = await M.match(M.json(200, components.UpdateIdentityResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
120
119
|
if (!result.ok) {
|
|
121
120
|
return [result, { status: "complete", request: req, response }];
|
|
122
121
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitiesUpdate.js","sourceRoot":"","sources":["../src/funcs/identitiesUpdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,
|
|
1
|
+
{"version":3,"file":"identitiesUpdate.js","sourceRoot":"","sources":["../src/funcs/identitiesUpdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,4CAsBC;AAnDD,sDAA+D;AAC/D,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,gBAAgB,CAC9B,MAAe,EACf,OAAyC,EACzC,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CA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AAC,CAAC;QACrE,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,oCAAoC,CAAC,EAC5D,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"}
|
|
@@ -8,10 +8,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
8
8
|
import { APIPromise } from "../types/async.js";
|
|
9
9
|
import { Result } from "../types/fp.js";
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* List models
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
*
|
|
14
|
+
* Lists all models available through the AI Router. Returns each model in OpenAI-compatible shape with its provider, ID, and creation timestamp.
|
|
15
15
|
*/
|
|
16
|
-
export declare function
|
|
17
|
-
//# sourceMappingURL=
|
|
16
|
+
export declare function modelsList(client: OrqCore, options?: RequestOptions): APIPromise<Result<operations.ListModelsResponseBody, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
+
//# sourceMappingURL=modelsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modelsList.d.ts","sourceRoot":"","sources":["../src/funcs/modelsList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAIrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,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,UAAU,CACxB,MAAM,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,sBAAsB,EAC/B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
|