@orq-ai/node 4.10.0-rc.18 → 4.10.0-rc.19
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/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 +21 -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/createagentrequest.d.ts +3 -3
- 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.d.ts +3 -3
- 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 +21 -15
- 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/createknowledge.d.ts +9 -9
- package/models/operations/creatememorystore.d.ts +3 -3
- package/models/operations/createprompt.d.ts +3 -3
- package/models/operations/createtool.d.ts +30 -30
- 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.d.ts +15 -15
- 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/getoneknowledge.d.ts +6 -6
- 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/listagents.d.ts +3 -3
- 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/listknowledgebases.d.ts +6 -6
- 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/retrieveagentrequest.d.ts +3 -3
- 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.d.ts +15 -15
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +3 -3
- 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.d.ts +3 -3
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +6 -6
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.d.ts +3 -3
- 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/updateknowledge.d.ts +12 -12
- package/models/operations/updateprompt.d.ts +3 -3
- package/models/operations/updatetool.d.ts +30 -30
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- 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 +21 -0
- package/src/models/components/updateskillresponse.ts +3 -0
- package/src/models/errors/index.ts +0 -3
- package/src/models/operations/createagentrequest.ts +3 -3
- package/src/models/operations/createannotation.ts +7 -11
- package/src/models/operations/createdataset.ts +4 -4
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +45 -31
- package/src/models/operations/createknowledge.ts +9 -9
- package/src/models/operations/creatememorystore.ts +3 -3
- package/src/models/operations/createprompt.ts +3 -3
- package/src/models/operations/createtool.ts +36 -36
- package/src/models/operations/deleteidentity.ts +0 -3
- package/src/models/operations/getalltools.ts +21 -21
- package/src/models/operations/getevals.ts +22 -16
- package/src/models/operations/getoneknowledge.ts +6 -6
- 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/listagents.ts +3 -3
- 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/listknowledgebases.ts +6 -6
- 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/retrieveagentrequest.ts +3 -3
- 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 +21 -21
- package/src/models/operations/runagent.ts +4 -4
- 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 +4 -4
- package/src/models/operations/updateagent.ts +6 -6
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +4 -4
- 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/updateknowledge.ts +12 -12
- package/src/models/operations/updateprompt.ts +3 -3
- package/src/models/operations/updatetool.ts +37 -37
- 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/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
|
@@ -36,35 +36,26 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
39
|
+
exports.modelsList = modelsList;
|
|
41
40
|
const http_js_1 = require("../lib/http.js");
|
|
42
41
|
const M = __importStar(require("../lib/matchers.js"));
|
|
43
42
|
const primitives_js_1 = require("../lib/primitives.js");
|
|
44
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
43
|
const security_js_1 = require("../lib/security.js");
|
|
46
44
|
const url_js_1 = require("../lib/url.js");
|
|
47
45
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
46
|
const async_js_1 = require("../types/async.js");
|
|
49
47
|
/**
|
|
50
|
-
*
|
|
48
|
+
* List models
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Lists all models available through the AI Router. Returns each model in OpenAI-compatible shape with its provider, ID, and creation timestamp.
|
|
51
52
|
*/
|
|
52
|
-
function
|
|
53
|
-
return new async_js_1.APIPromise($do(client,
|
|
53
|
+
function modelsList(client, options) {
|
|
54
|
+
return new async_js_1.APIPromise($do(client, options));
|
|
54
55
|
}
|
|
55
|
-
async function $do(client,
|
|
56
|
-
const
|
|
57
|
-
.parse(value), "Input validation failed");
|
|
58
|
-
if (!parsed.ok) {
|
|
59
|
-
return [parsed, { status: "invalid" }];
|
|
60
|
-
}
|
|
61
|
-
const payload = parsed.value;
|
|
62
|
-
const body = payload === undefined
|
|
63
|
-
? null
|
|
64
|
-
: (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
|
|
65
|
-
const path = (0, url_js_1.pathToFunc)("/v2/remoteconfigs")();
|
|
56
|
+
async function $do(client, options) {
|
|
57
|
+
const path = (0, url_js_1.pathToFunc)("/v3/router/models")();
|
|
66
58
|
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
67
|
-
"Content-Type": "application/json",
|
|
68
59
|
Accept: "application/json",
|
|
69
60
|
}));
|
|
70
61
|
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
|
|
@@ -73,7 +64,7 @@ async function $do(client, request, options) {
|
|
|
73
64
|
const context = {
|
|
74
65
|
options: client._options,
|
|
75
66
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
76
|
-
operationID: "
|
|
67
|
+
operationID: "list-models",
|
|
77
68
|
oAuth2Scopes: null,
|
|
78
69
|
resolvedSecurity: requestSecurity,
|
|
79
70
|
securitySource: client._options.apiKey,
|
|
@@ -84,11 +75,10 @@ async function $do(client, request, options) {
|
|
|
84
75
|
};
|
|
85
76
|
const requestRes = client._createRequest(context, {
|
|
86
77
|
security: requestSecurity,
|
|
87
|
-
method: "
|
|
78
|
+
method: "GET",
|
|
88
79
|
baseURL: options?.serverURL,
|
|
89
80
|
path: path,
|
|
90
81
|
headers: headers,
|
|
91
|
-
body: body,
|
|
92
82
|
userAgent: client._options.userAgent,
|
|
93
83
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
94
84
|
}, options);
|
|
@@ -106,10 +96,10 @@ async function $do(client, request, options) {
|
|
|
106
96
|
return [doResult, { status: "request-error", request: req }];
|
|
107
97
|
}
|
|
108
98
|
const response = doResult.value;
|
|
109
|
-
const [result] = await M.match(M.json(200, operations.
|
|
99
|
+
const [result] = await M.match(M.json(200, operations.ListModelsResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
110
100
|
if (!result.ok) {
|
|
111
101
|
return [result, { status: "complete", request: req, response }];
|
|
112
102
|
}
|
|
113
103
|
return [result, { status: "complete", request: req, response }];
|
|
114
104
|
}
|
|
115
|
-
//# sourceMappingURL=
|
|
105
|
+
//# sourceMappingURL=modelsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modelsList.js","sourceRoot":"","sources":["../src/funcs/modelsList.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,gCAoBC;AA9CD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAW3C,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,MAAe,EACf,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAe,EACf,OAAwB;IAiBxB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,mBAAmB,CAAC,EAAE,CAAC;IAE/C,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,IAAA,0BAAU,EAAC;QACrC,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAC,CAAC;IAEJ,MAAM,SAAS,GAAG,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChE,MAAM,aAAa,GAAG,SAAS,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IACrE,MAAM,eAAe,GAAG,IAAA,mCAAqB,EAAC,aAAa,CAAC,CAAC;IAE7D,MAAM,OAAO,GAAG;QACd,OAAO,EAAE,MAAM,CAAC,QAAQ;QACxB,OAAO,EAAE,O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,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"}
|
|
@@ -11,7 +11,7 @@ import { Result } from "../types/fp.js";
|
|
|
11
11
|
* Create a new project
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Creates a
|
|
14
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access.
|
|
15
15
|
*/
|
|
16
16
|
export declare function projectsCreate(client: OrqCore, request: components.CreateProjectRequest, options?: RequestOptions): APIPromise<Result<components.CreateProjectResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
17
|
//# sourceMappingURL=projectsCreate.d.ts.map
|
package/funcs/projectsCreate.js
CHANGED
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Create a new project
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Creates a
|
|
53
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access.
|
|
54
54
|
*/
|
|
55
55
|
function projectsCreate(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -10,6 +10,9 @@ import { APIPromise } from "../types/async.js";
|
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
12
|
* Delete a project
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds.
|
|
13
16
|
*/
|
|
14
17
|
export declare function projectsDelete(client: OrqCore, request: operations.ProjectDeleteRequest, options?: RequestOptions): APIPromise<Result<components.DeleteProjectResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
15
18
|
//# sourceMappingURL=projectsDelete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectsDelete.d.ts","sourceRoot":"","sources":["../src/funcs/projectsDelete.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
|
|
1
|
+
{"version":3,"file":"projectsDelete.d.ts","sourceRoot":"","sources":["../src/funcs/projectsDelete.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,cAAc,CAC5B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,qBAAqB,EAC9B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
package/funcs/projectsDelete.js
CHANGED
|
@@ -49,6 +49,9 @@ const operations = __importStar(require("../models/operations/index.js"));
|
|
|
49
49
|
const async_js_1 = require("../types/async.js");
|
|
50
50
|
/**
|
|
51
51
|
* Delete a project
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds.
|
|
52
55
|
*/
|
|
53
56
|
function projectsDelete(client, request, options) {
|
|
54
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectsDelete.js","sourceRoot":"","sources":["../src/funcs/projectsDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"projectsDelete.js","sourceRoot":"","sources":["../src/funcs/projectsDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,wCAsBC;AAnDD,sDAAmD;AACnD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,cAAc,CAC5B,MAAe,EACf,OAAwC,EACxC,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,OAAwC,EACxC,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,mCAAmC,CAAC,KAAK,CAAC,KAAK,CAAC,EACtE,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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,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/projectsList.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* List all projects
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Returns
|
|
15
|
+
* Returns projects visible to the current workspace, ordered by creation time with the newest project first. Use `starting_after` or `ending_before` to page through large collections.
|
|
16
16
|
*/
|
|
17
17
|
export declare function projectsList(client: OrqCore, request?: operations.ProjectListRequest | undefined, options?: RequestOptions): APIPromise<Result<components.ListProjectsResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=projectsList.d.ts.map
|
package/funcs/projectsList.js
CHANGED
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* List all projects
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Returns
|
|
54
|
+
* Returns projects visible to the current workspace, ordered by creation time with the newest project first. Use `starting_after` or `ending_before` to page through large collections.
|
|
55
55
|
*/
|
|
56
56
|
function projectsList(client, request, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
* Query reporting metrics
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* Returns time-series analytics for AI usage, cost, latency, evaluator results, and guardrail outcomes. Select a metric and time range, break results down by supported dimensions, apply filters, and optionally include totals for the full range.
|
|
15
|
+
*/
|
|
16
|
+
export declare function reportingQuery(client: OrqCore, request: components.QueryReportRequest, options?: RequestOptions): APIPromise<Result<components.QueryReportResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
+
//# sourceMappingURL=reportingQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportingQuery.d.ts","sourceRoot":"","sources":["../src/funcs/reportingQuery.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,cAAc,CAC5B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,mBAAmB,EAC5B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.reportingQuery = reportingQuery;
|
|
40
40
|
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
41
|
const http_js_1 = require("../lib/http.js");
|
|
42
42
|
const M = __importStar(require("../lib/matchers.js"));
|
|
@@ -44,25 +44,25 @@ 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
|
+
* Query reporting metrics
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
*
|
|
53
|
+
* Returns time-series analytics for AI usage, cost, latency, evaluator results, and guardrail outcomes. Select a metric and time range, break results down by supported dimensions, apply filters, and optionally include totals for the full range.
|
|
54
54
|
*/
|
|
55
|
-
function
|
|
55
|
+
function reportingQuery(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.QueryReportRequest$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
64
|
const body = (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
|
|
65
|
-
const path = (0, url_js_1.pathToFunc)("/v2/
|
|
65
|
+
const path = (0, url_js_1.pathToFunc)("/v2/reporting")();
|
|
66
66
|
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
67
67
|
"Content-Type": "application/json",
|
|
68
68
|
Accept: "application/json",
|
|
@@ -73,7 +73,7 @@ async function $do(client, request, options) {
|
|
|
73
73
|
const context = {
|
|
74
74
|
options: client._options,
|
|
75
75
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
76
|
-
operationID: "
|
|
76
|
+
operationID: "ReportingQuery",
|
|
77
77
|
oAuth2Scopes: null,
|
|
78
78
|
resolvedSecurity: requestSecurity,
|
|
79
79
|
securitySource: client._options.apiKey,
|
|
@@ -106,10 +106,10 @@ async function $do(client, request, options) {
|
|
|
106
106
|
return [doResult, { status: "request-error", request: req }];
|
|
107
107
|
}
|
|
108
108
|
const response = doResult.value;
|
|
109
|
-
const [result] = await M.match(M.json(200,
|
|
109
|
+
const [result] = await M.match(M.json(200, components.QueryReportResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
110
110
|
if (!result.ok) {
|
|
111
111
|
return [result, { status: "complete", request: req, response }];
|
|
112
112
|
}
|
|
113
113
|
return [result, { status: "complete", request: req, response }];
|
|
114
114
|
}
|
|
115
|
-
//# sourceMappingURL=
|
|
115
|
+
//# sourceMappingURL=reportingQuery.js.map
|
|
@@ -0,0 +1 @@
|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
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
*
|
|
14
|
+
* Creates a reusable skill in the workspace. Skills store instructions, metadata, and an optional project location so teams can standardize repeatable AI workflows.
|
|
15
15
|
*/
|
|
16
16
|
export declare function skillsCreate(client: OrqCore, request: components.CreateSkillRequest, options?: RequestOptions): APIPromise<Result<components.CreateSkillResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
17
|
//# sourceMappingURL=skillsCreate.d.ts.map
|
package/funcs/skillsCreate.js
CHANGED
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Create a new skill
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
*
|
|
53
|
+
* Creates a reusable skill in the workspace. Skills store instructions, metadata, and an optional project location so teams can standardize repeatable AI workflows.
|
|
54
54
|
*/
|
|
55
55
|
function skillsCreate(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
package/funcs/skillsDelete.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ import { APIPromise } from "../types/async.js";
|
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
12
|
* Delete a skill
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Deletes a skill from the workspace. The response body is empty when the delete succeeds.
|
|
13
16
|
*/
|
|
14
17
|
export declare function skillsDelete(client: OrqCore, request: operations.SkillDeleteRequest, options?: RequestOptions): APIPromise<Result<components.DeleteSkillResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
15
18
|
//# sourceMappingURL=skillsDelete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skillsDelete.d.ts","sourceRoot":"","sources":["../src/funcs/skillsDelete.ts"],"names":[],"mappings":"AAIA,OAA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B,YAAY,CAC1B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,mBAAmB,EAC5B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
package/funcs/skillsDelete.js
CHANGED
|
@@ -49,6 +49,9 @@ const operations = __importStar(require("../models/operations/index.js"));
|
|
|
49
49
|
const async_js_1 = require("../types/async.js");
|
|
50
50
|
/**
|
|
51
51
|
* Delete a skill
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Deletes a skill from the workspace. The response body is empty when the delete succeeds.
|
|
52
55
|
*/
|
|
53
56
|
function skillsDelete(client, request, options) {
|
|
54
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skillsDelete.js","sourceRoot":"","sources":["../src/funcs/skillsDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"skillsDelete.js","sourceRoot":"","sources":["../src/funcs/skillsDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,oCAsBC;AAnDD,sDAAmD;AACnD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,YAAY,CAC1B,MAAe,EACf,OAAsC,EACtC,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;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H,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,iCAAiC,CAAC,EACzD,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/skillsGet.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Retrieve a skill
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Retrieves an existing skill by
|
|
15
|
+
* Retrieves an existing skill by skill ID. Display names are also accepted for compatibility because they are unique within a workspace.
|
|
16
16
|
*/
|
|
17
17
|
export declare function skillsGet(client: OrqCore, request: operations.SkillGetRequest, options?: RequestOptions): APIPromise<Result<components.GetSkillResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=skillsGet.d.ts.map
|
package/funcs/skillsGet.js
CHANGED
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* Retrieve a skill
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Retrieves an existing skill by
|
|
54
|
+
* Retrieves an existing skill by skill ID. Display names are also accepted for compatibility because they are unique within a workspace.
|
|
55
55
|
*/
|
|
56
56
|
function skillsGet(client, request, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
package/funcs/skillsList.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* List all skills
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Returns
|
|
15
|
+
* Returns the skills visible to the current workspace, ordered by creation time with the newest skill first. Use `starting_after` or `ending_before` to page through large collections.
|
|
16
16
|
*/
|
|
17
17
|
export declare function skillsList(client: OrqCore, request?: operations.SkillListRequest | undefined, options?: RequestOptions): APIPromise<Result<components.ListSkillsResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=skillsList.d.ts.map
|
package/funcs/skillsList.js
CHANGED
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* List all skills
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Returns
|
|
54
|
+
* Returns the skills visible to the current workspace, ordered by creation time with the newest skill first. Use `starting_after` or `ending_before` to page through large collections.
|
|
55
55
|
*/
|
|
56
56
|
function skillsList(client, request, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
package/funcs/skillsUpdate.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Update a skill
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Updates
|
|
15
|
+
* Updates mutable skill fields. Omitted optional fields keep their current values. Repeated fields such as `tags` replace the existing collection when provided.
|
|
16
16
|
*/
|
|
17
17
|
export declare function skillsUpdate(client: OrqCore, request: operations.SkillUpdateRequest, options?: RequestOptions): APIPromise<Result<components.UpdateSkillResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=skillsUpdate.d.ts.map
|
package/funcs/skillsUpdate.js
CHANGED
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* Update a skill
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Updates
|
|
54
|
+
* Updates mutable skill fields. Omitted optional fields keep their current values. Repeated fields such as `tags` replace the existing collection when provided.
|
|
55
55
|
*/
|
|
56
56
|
function skillsUpdate(client, request, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -39,8 +39,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
39
39
|
export declare const SDK_METADATA: {
|
|
40
40
|
readonly language: "typescript";
|
|
41
41
|
readonly openapiDocVersion: "2.0";
|
|
42
|
-
readonly sdkVersion: "4.10.0-rc.
|
|
43
|
-
readonly genVersion: "2.884.
|
|
44
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.10.0-rc.
|
|
42
|
+
readonly sdkVersion: "4.10.0-rc.19";
|
|
43
|
+
readonly genVersion: "2.884.7";
|
|
44
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.10.0-rc.19 2.884.7 2.0 @orq-ai/node";
|
|
45
45
|
};
|
|
46
46
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.10.0-rc.
|
|
32
|
-
genVersion: "2.884.
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.10.0-rc.
|
|
31
|
+
sdkVersion: "4.10.0-rc.19",
|
|
32
|
+
genVersion: "2.884.7",
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.10.0-rc.19 2.884.7 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
export type CreateIdentityRequestMetadata = {};
|
|
3
|
+
export type CreateIdentityRequest = {
|
|
4
|
+
externalId?: string | undefined;
|
|
5
|
+
displayName?: string | undefined;
|
|
6
|
+
email?: string | undefined;
|
|
7
|
+
avatarUrl?: string | undefined;
|
|
8
|
+
tags?: Array<string> | undefined;
|
|
9
|
+
metadata?: CreateIdentityRequestMetadata | undefined;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export type CreateIdentityRequestMetadata$Outbound = {};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const CreateIdentityRequestMetadata$outboundSchema: z.ZodType<CreateIdentityRequestMetadata$Outbound, z.ZodTypeDef, CreateIdentityRequestMetadata>;
|
|
15
|
+
export declare function createIdentityRequestMetadataToJSON(createIdentityRequestMetadata: CreateIdentityRequestMetadata): string;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type CreateIdentityRequest$Outbound = {
|
|
18
|
+
external_id?: string | undefined;
|
|
19
|
+
display_name?: string | undefined;
|
|
20
|
+
email?: string | undefined;
|
|
21
|
+
avatar_url?: string | undefined;
|
|
22
|
+
tags?: Array<string> | undefined;
|
|
23
|
+
metadata?: CreateIdentityRequestMetadata$Outbound | undefined;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const CreateIdentityRequest$outboundSchema: z.ZodType<CreateIdentityRequest$Outbound, z.ZodTypeDef, CreateIdentityRequest>;
|
|
27
|
+
export declare function createIdentityRequestToJSON(createIdentityRequest: CreateIdentityRequest): string;
|
|
28
|
+
//# sourceMappingURL=createidentityrequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createidentityrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/createidentityrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAE/C,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;CACtD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG,EAAE,CAAC;AAExD,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CACf,CAAC;AAEjB,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,sCAAsC,GAAG,SAAS,CAAC;CAC/D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAerB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -36,53 +36,33 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
39
|
+
exports.CreateIdentityRequest$outboundSchema = exports.CreateIdentityRequestMetadata$outboundSchema = void 0;
|
|
40
|
+
exports.createIdentityRequestMetadataToJSON = createIdentityRequestMetadataToJSON;
|
|
41
|
+
exports.createIdentityRequestToJSON = createIdentityRequestToJSON;
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
43
43
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
44
|
/** @internal */
|
|
46
|
-
exports.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
email: z.nullable(z.string()).optional(),
|
|
50
|
-
avatarUrl: z.nullable(z.string()).optional(),
|
|
51
|
-
tags: z.array(z.string()).optional(),
|
|
52
|
-
metadata: z.record(z.any()).optional(),
|
|
53
|
-
}).transform((v) => {
|
|
54
|
-
return (0, primitives_js_1.remap)(v, {
|
|
55
|
-
externalId: "external_id",
|
|
56
|
-
displayName: "display_name",
|
|
57
|
-
avatarUrl: "avatar_url",
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
function createIdentityRequestBodyToJSON(createIdentityRequestBody) {
|
|
61
|
-
return JSON.stringify(exports.CreateIdentityRequestBody$outboundSchema.parse(createIdentityRequestBody));
|
|
45
|
+
exports.CreateIdentityRequestMetadata$outboundSchema = z.object({});
|
|
46
|
+
function createIdentityRequestMetadataToJSON(createIdentityRequestMetadata) {
|
|
47
|
+
return JSON.stringify(exports.CreateIdentityRequestMetadata$outboundSchema.parse(createIdentityRequestMetadata));
|
|
62
48
|
}
|
|
63
49
|
/** @internal */
|
|
64
|
-
exports.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
email: z.nullable(z.string()).optional(),
|
|
70
|
-
avatar_url: z.nullable(z.string()).optional(),
|
|
50
|
+
exports.CreateIdentityRequest$outboundSchema = z.object({
|
|
51
|
+
externalId: z.string().optional(),
|
|
52
|
+
displayName: z.string().optional(),
|
|
53
|
+
email: z.string().optional(),
|
|
54
|
+
avatarUrl: z.string().optional(),
|
|
71
55
|
tags: z.array(z.string()).optional(),
|
|
72
|
-
metadata: z.
|
|
73
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
56
|
+
metadata: z.lazy(() => exports.CreateIdentityRequestMetadata$outboundSchema)
|
|
74
57
|
.optional(),
|
|
75
|
-
updated: z.string().datetime({ offset: true }).default("2026-05-19T14:38:12.201Z").transform(v => new Date(v)),
|
|
76
58
|
}).transform((v) => {
|
|
77
59
|
return (0, primitives_js_1.remap)(v, {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"display_name": "displayName",
|
|
82
|
-
"avatar_url": "avatarUrl",
|
|
60
|
+
externalId: "external_id",
|
|
61
|
+
displayName: "display_name",
|
|
62
|
+
avatarUrl: "avatar_url",
|
|
83
63
|
});
|
|
84
64
|
});
|
|
85
|
-
function
|
|
86
|
-
return
|
|
65
|
+
function createIdentityRequestToJSON(createIdentityRequest) {
|
|
66
|
+
return JSON.stringify(exports.CreateIdentityRequest$outboundSchema.parse(createIdentityRequest));
|
|
87
67
|
}
|
|
88
|
-
//# sourceMappingURL=
|
|
68
|
+
//# sourceMappingURL=createidentityrequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createidentityrequest.js","sourceRoot":"","sources":["../../src/models/components/createidentityrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,kFAQC;AAiCD,kEAMC;AAvED,0CAA4B;AAC5B,2DAA0D;AAgB1D,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AAYD,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,oDAA4C,CAAC;SACjE,QAAQ,EAAE;CACd,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;QACzB,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { Identity } from "./identity.js";
|
|
5
|
+
export type CreateIdentityResponse = {
|
|
6
|
+
identity?: Identity | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const CreateIdentityResponse$inboundSchema: z.ZodType<CreateIdentityResponse, z.ZodTypeDef, unknown>;
|
|
10
|
+
export declare function createIdentityResponseFromJSON(jsonString: string): SafeParseResult<CreateIdentityResponse, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=createidentityresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createidentityresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createidentityresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAA0B,MAAM,eAAe,CAAC;AAEjE,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|