@orq-ai/node 4.10.0-rc.1 → 4.10.0-rc.10
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 +46 -55
- 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/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/langchain/async-handler.d.mts.map +1 -1
- package/langchain/async-handler.mjs +8 -11
- package/langchain/async-handler.mjs.map +1 -1
- package/langchain/events.d.mts.map +1 -1
- package/langchain/events.mjs +12 -0
- package/langchain/events.mjs.map +1 -1
- package/langchain/handler.d.mts.map +1 -1
- package/langchain/handler.mjs +8 -11
- package/langchain/handler.mjs.map +1 -1
- package/langchain/span-builder.mjs +3 -3
- package/langchain/span-builder.mjs.map +1 -1
- package/langchain/utils.d.mts.map +1 -1
- package/langchain/utils.mjs +115 -0
- package/langchain/utils.mjs.map +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 +15 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +15 -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/{errors/deleteidentity.js → components/listidentitiesresponse.js} +16 -29
- 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/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 +73 -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/{operations/remoteconfigsgetconfig.js → components/responsemeta.js} +31 -27
- 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 +15 -15
- package/models/operations/createeval.js +16 -16
- 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/createrouterresponse.d.ts +6 -11
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +2 -8
- package/models/operations/createrouterresponse.js.map +1 -1
- 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.js +16 -16
- 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 +0 -3
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -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/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.js +16 -16
- 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/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 +7 -10
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +10 -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/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 +15 -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/queryreportrequest.ts +237 -0
- package/src/models/components/queryreportresponse.ts +96 -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 +31 -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/createrouterresponse.ts +3 -24
- 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 +16 -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 +0 -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/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 +16 -16
- 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/projects.ts +5 -2
- package/src/sdk/reporting.ts +27 -0
- package/src/sdk/sdk.ts +16 -22
- package/src/sdk/skills.ts +7 -4
- package/funcs/contactsCreate.d.ts +0 -17
- 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 +0 -115
- 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/funcs/remoteconfigsRetrieve.ts +0 -163
- 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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrieveidentity.js","sourceRoot":"","sources":["../../src/models/errors/retrieveidentity.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,+CAAyC;AAYzC;;GAEG;AACH,MAAa,sCAAuC,SAAQ,sBAAQ;IASlE,YACE,GAA+C,EAC/C,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QAEvB,IAAI,CAAC,IAAI,GAAG,wCAAwC,CAAC;IACvD,CAAC;CACF;AAtBD,wFAsBC;AAYD;;GAEG;AACH,MAAa,4BAA6B,SAAQ,sBAAQ;IASxD,YACE,GAAqC,EACrC,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,KAAK,G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|
-
* Identity not found
|
|
5
|
-
*/
|
|
6
|
-
export type UpdateIdentityResponseBodyData = {
|
|
7
|
-
/**
|
|
8
|
-
* Error message
|
|
9
|
-
*/
|
|
10
|
-
message: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Identity not found
|
|
14
|
-
*/
|
|
15
|
-
export declare class UpdateIdentityResponseBody extends OrqError {
|
|
16
|
-
/** The original data that was passed to this error instance. */
|
|
17
|
-
data$: UpdateIdentityResponseBodyData;
|
|
18
|
-
constructor(err: UpdateIdentityResponseBodyData, httpMeta: {
|
|
19
|
-
response: Response;
|
|
20
|
-
request: Request;
|
|
21
|
-
body: string;
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
/** @internal */
|
|
25
|
-
export declare const UpdateIdentityResponseBody$inboundSchema: z.ZodType<UpdateIdentityResponseBody, z.ZodTypeDef, unknown>;
|
|
26
|
-
//# sourceMappingURL=updateidentity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateidentity.d.ts","sourceRoot":"","sources":["../../src/models/errors/updateidentity.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,QAAQ;IACtD,gEAAgE;IAChE,KAAK,EAAE,8BAA8B,CAAC;gBAGpC,GAAG,EAAE,8BAA8B,EACnC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAQnE;AAED,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAaL,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateidentity.js","sourceRoot":"","sources":["../../src/models/errors/updateidentity.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,+CAAyC;AAYzC;;GAEG;AACH,MAAa,0BAA2B,SAAQ,sBAAQ;IAItD,YACE,GAAmC,EACnC,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,CAAC,IAAI,GAAG,4BAA4B,CAAC;IAC3C,CAAC;CACF;AAdD,gEAcC;AAED,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,0BAA0B,CAAC,CAAC,EAAE;QACvC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
/**
|
|
5
|
-
* Update user information payload
|
|
6
|
-
*/
|
|
7
|
-
export type CreateContactRequestBody = {
|
|
8
|
-
/**
|
|
9
|
-
* Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
|
|
10
|
-
*/
|
|
11
|
-
externalId: string;
|
|
12
|
-
/**
|
|
13
|
-
* Display name or nickname of the contact user. This is typically shown in user interfaces.
|
|
14
|
-
*/
|
|
15
|
-
displayName?: string | null | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Email address of the contact user
|
|
18
|
-
*/
|
|
19
|
-
email?: string | null | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* URL linking to the contact user's avatar image
|
|
22
|
-
*/
|
|
23
|
-
avatarUrl?: string | null | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
|
|
26
|
-
*/
|
|
27
|
-
tags?: Array<string> | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
|
|
30
|
-
*/
|
|
31
|
-
metadata?: {
|
|
32
|
-
[k: string]: any;
|
|
33
|
-
} | undefined;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Successful operation
|
|
37
|
-
*/
|
|
38
|
-
export type CreateContactResponseBody = {
|
|
39
|
-
/**
|
|
40
|
-
* Unique ULID (Universally Unique Lexicographically Sortable Identifier) for the contact
|
|
41
|
-
*/
|
|
42
|
-
id: string;
|
|
43
|
-
/**
|
|
44
|
-
* Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
|
|
45
|
-
*/
|
|
46
|
-
externalId: string;
|
|
47
|
-
/**
|
|
48
|
-
* Display name or nickname of the contact user. This is typically shown in user interfaces.
|
|
49
|
-
*/
|
|
50
|
-
displayName?: string | null | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* Email address of the contact user
|
|
53
|
-
*/
|
|
54
|
-
email?: string | null | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* URL linking to the contact user's avatar image
|
|
57
|
-
*/
|
|
58
|
-
avatarUrl?: string | null | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
|
|
61
|
-
*/
|
|
62
|
-
tags?: Array<string> | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
|
|
65
|
-
*/
|
|
66
|
-
metadata?: {
|
|
67
|
-
[k: string]: any;
|
|
68
|
-
} | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* The date and time the resource was created
|
|
71
|
-
*/
|
|
72
|
-
created?: Date | undefined;
|
|
73
|
-
/**
|
|
74
|
-
* The date and time the resource was last updated
|
|
75
|
-
*/
|
|
76
|
-
updated: Date;
|
|
77
|
-
};
|
|
78
|
-
/** @internal */
|
|
79
|
-
export type CreateContactRequestBody$Outbound = {
|
|
80
|
-
external_id: string;
|
|
81
|
-
display_name?: string | null | undefined;
|
|
82
|
-
email?: string | null | undefined;
|
|
83
|
-
avatar_url?: string | null | undefined;
|
|
84
|
-
tags?: Array<string> | undefined;
|
|
85
|
-
metadata?: {
|
|
86
|
-
[k: string]: any;
|
|
87
|
-
} | undefined;
|
|
88
|
-
};
|
|
89
|
-
/** @internal */
|
|
90
|
-
export declare const CreateContactRequestBody$outboundSchema: z.ZodType<CreateContactRequestBody$Outbound, z.ZodTypeDef, CreateContactRequestBody>;
|
|
91
|
-
export declare function createContactRequestBodyToJSON(createContactRequestBody: CreateContactRequestBody): string;
|
|
92
|
-
/** @internal */
|
|
93
|
-
export declare const CreateContactResponseBody$inboundSchema: z.ZodType<CreateContactResponseBody, z.ZodTypeDef, unknown>;
|
|
94
|
-
export declare function createContactResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateContactResponseBody, SDKValidationError>;
|
|
95
|
-
//# sourceMappingURL=createcontact.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createcontact.d.ts","sourceRoot":"","sources":["../../src/models/operations/createcontact.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC;;OAEG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;AACJ,CAAC"}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
/**
|
|
5
|
-
* Identity profile information
|
|
6
|
-
*/
|
|
7
|
-
export type CreateIdentityRequestBody = {
|
|
8
|
-
/**
|
|
9
|
-
* Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
|
|
10
|
-
*/
|
|
11
|
-
externalId: string;
|
|
12
|
-
/**
|
|
13
|
-
* Display name or nickname of the contact user. This is typically shown in user interfaces.
|
|
14
|
-
*/
|
|
15
|
-
displayName?: string | null | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Email address of the contact user
|
|
18
|
-
*/
|
|
19
|
-
email?: string | null | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* URL linking to the contact user's avatar image
|
|
22
|
-
*/
|
|
23
|
-
avatarUrl?: string | null | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
|
|
26
|
-
*/
|
|
27
|
-
tags?: Array<string> | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
|
|
30
|
-
*/
|
|
31
|
-
metadata?: {
|
|
32
|
-
[k: string]: any;
|
|
33
|
-
} | undefined;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Created Identity
|
|
37
|
-
*/
|
|
38
|
-
export type CreateIdentityResponseBody = {
|
|
39
|
-
/**
|
|
40
|
-
* Unique ULID (Universally Unique Lexicographically Sortable Identifier) for the contact
|
|
41
|
-
*/
|
|
42
|
-
id: string;
|
|
43
|
-
/**
|
|
44
|
-
* Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
|
|
45
|
-
*/
|
|
46
|
-
externalId: string;
|
|
47
|
-
/**
|
|
48
|
-
* Unique identifier for the workspace to which the contact belongs
|
|
49
|
-
*/
|
|
50
|
-
workspaceId: string;
|
|
51
|
-
/**
|
|
52
|
-
* Display name or nickname of the contact user. This is typically shown in user interfaces.
|
|
53
|
-
*/
|
|
54
|
-
displayName?: string | null | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* Email address of the contact user
|
|
57
|
-
*/
|
|
58
|
-
email?: string | null | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* URL linking to the contact user's avatar image
|
|
61
|
-
*/
|
|
62
|
-
avatarUrl?: string | null | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
|
|
65
|
-
*/
|
|
66
|
-
tags?: Array<string> | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
|
|
69
|
-
*/
|
|
70
|
-
metadata?: {
|
|
71
|
-
[k: string]: any;
|
|
72
|
-
} | undefined;
|
|
73
|
-
/**
|
|
74
|
-
* The date and time the resource was created
|
|
75
|
-
*/
|
|
76
|
-
created?: Date | undefined;
|
|
77
|
-
/**
|
|
78
|
-
* The date and time the resource was last updated
|
|
79
|
-
*/
|
|
80
|
-
updated: Date;
|
|
81
|
-
};
|
|
82
|
-
/** @internal */
|
|
83
|
-
export type CreateIdentityRequestBody$Outbound = {
|
|
84
|
-
external_id: string;
|
|
85
|
-
display_name?: string | null | undefined;
|
|
86
|
-
email?: string | null | undefined;
|
|
87
|
-
avatar_url?: string | null | undefined;
|
|
88
|
-
tags?: Array<string> | undefined;
|
|
89
|
-
metadata?: {
|
|
90
|
-
[k: string]: any;
|
|
91
|
-
} | undefined;
|
|
92
|
-
};
|
|
93
|
-
/** @internal */
|
|
94
|
-
export declare const CreateIdentityRequestBody$outboundSchema: z.ZodType<CreateIdentityRequestBody$Outbound, z.ZodTypeDef, CreateIdentityRequestBody>;
|
|
95
|
-
export declare function createIdentityRequestBodyToJSON(createIdentityRequestBody: CreateIdentityRequestBody): string;
|
|
96
|
-
/** @internal */
|
|
97
|
-
export declare const CreateIdentityResponseBody$inboundSchema: z.ZodType<CreateIdentityResponseBody, z.ZodTypeDef, unknown>;
|
|
98
|
-
export declare function createIdentityResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateIdentityResponseBody, SDKValidationError>;
|
|
99
|
-
//# sourceMappingURL=createidentity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createidentity.d.ts","sourceRoot":"","sources":["../../src/models/operations/createidentity.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;I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AC,EAAE;QACf,KAAK,EAAE,IAAI;QACX,aAAa,EAAE,YAAY;QAC3B,cAAc,EAAE,aAAa;QAC7B,cAAc,EAAE,aAAa;QAC7B,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
export type RemoteConfigsGetConfigRequestBody = {
|
|
6
|
-
/**
|
|
7
|
-
* Remote configuration key
|
|
8
|
-
*/
|
|
9
|
-
key: string;
|
|
10
|
-
/**
|
|
11
|
-
* Key-value pairs matching your data model, applied to each prompt key.
|
|
12
|
-
*/
|
|
13
|
-
context?: {
|
|
14
|
-
[k: string]: any;
|
|
15
|
-
} | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Key-value pairs to attach to the log generated by this request.
|
|
18
|
-
*/
|
|
19
|
-
metadata?: {
|
|
20
|
-
[k: string]: any;
|
|
21
|
-
} | undefined;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* The return type of the rule
|
|
25
|
-
*/
|
|
26
|
-
export declare const RemoteConfigsGetConfigType: {
|
|
27
|
-
readonly Boolean: "boolean";
|
|
28
|
-
readonly String: "string";
|
|
29
|
-
readonly Integer: "integer";
|
|
30
|
-
readonly Decimal: "decimal";
|
|
31
|
-
readonly List: "list";
|
|
32
|
-
readonly Json: "json";
|
|
33
|
-
readonly Deployment: "deployment";
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* The return type of the rule
|
|
37
|
-
*/
|
|
38
|
-
export type RemoteConfigsGetConfigType = ClosedEnum<typeof RemoteConfigsGetConfigType>;
|
|
39
|
-
/**
|
|
40
|
-
* An individual remote config
|
|
41
|
-
*/
|
|
42
|
-
export type RemoteConfigsGetConfigResponseBody = {
|
|
43
|
-
/**
|
|
44
|
-
* The return type of the rule
|
|
45
|
-
*/
|
|
46
|
-
type: RemoteConfigsGetConfigType;
|
|
47
|
-
value?: any | undefined;
|
|
48
|
-
};
|
|
49
|
-
/** @internal */
|
|
50
|
-
export type RemoteConfigsGetConfigRequestBody$Outbound = {
|
|
51
|
-
key: string;
|
|
52
|
-
context?: {
|
|
53
|
-
[k: string]: any;
|
|
54
|
-
} | undefined;
|
|
55
|
-
metadata?: {
|
|
56
|
-
[k: string]: any;
|
|
57
|
-
} | undefined;
|
|
58
|
-
};
|
|
59
|
-
/** @internal */
|
|
60
|
-
export declare const RemoteConfigsGetConfigRequestBody$outboundSchema: z.ZodType<RemoteConfigsGetConfigRequestBody$Outbound, z.ZodTypeDef, RemoteConfigsGetConfigRequestBody>;
|
|
61
|
-
export declare function remoteConfigsGetConfigRequestBodyToJSON(remoteConfigsGetConfigRequestBody: RemoteConfigsGetConfigRequestBody): string;
|
|
62
|
-
/** @internal */
|
|
63
|
-
export declare const RemoteConfigsGetConfigType$inboundSchema: z.ZodNativeEnum<typeof RemoteConfigsGetConfigType>;
|
|
64
|
-
/** @internal */
|
|
65
|
-
export declare const RemoteConfigsGetConfigResponseBody$inboundSchema: z.ZodType<RemoteConfigsGetConfigResponseBody, z.ZodTypeDef, unknown>;
|
|
66
|
-
export declare function remoteConfigsGetConfigResponseBodyFromJSON(jsonString: string): SafeParseResult<RemoteConfigsGetConfigResponseBody, SDKValidationError>;
|
|
67
|
-
//# sourceMappingURL=remoteconfigsgetconfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3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AAE;CACvC,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,wDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,wCAAwC,GAEjD,CAAC,CAAC,UAAU,CAAC,kCAA0B,CAAC,CAAC;AAE7C,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,gDAAwC;IAC9C,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CAC1B,CAAC,CAAC;AAEH,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
|
package/sdk/contacts.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class Contacts extends ClientSDK {
|
|
4
|
-
/**
|
|
5
|
-
* Update user information
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* Update or add user information to workspace
|
|
9
|
-
*/
|
|
10
|
-
create(request: operations.CreateContactRequestBody, options?: RequestOptions): Promise<operations.CreateContactResponseBody>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=contacts.d.ts.map
|
package/sdk/contacts.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../src/sdk/contacts.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;CAOjD"}
|
package/sdk/contacts.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Contacts = void 0;
|
|
7
|
-
const contactsCreate_js_1 = require("../funcs/contactsCreate.js");
|
|
8
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
-
const fp_js_1 = require("../types/fp.js");
|
|
10
|
-
class Contacts extends sdks_js_1.ClientSDK {
|
|
11
|
-
/**
|
|
12
|
-
* Update user information
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Update or add user information to workspace
|
|
16
|
-
*/
|
|
17
|
-
async create(request, options) {
|
|
18
|
-
return (0, fp_js_1.unwrapAsync)((0, contactsCreate_js_1.contactsCreate)(this, request, options));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.Contacts = Contacts;
|
|
22
|
-
//# sourceMappingURL=contacts.js.map
|
package/sdk/contacts.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../src/sdk/contacts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kEAA4D;AAC5D,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAA4C,EAC5C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAjBD,4BAiBC"}
|
package/sdk/remoteconfigs.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class Remoteconfigs extends ClientSDK {
|
|
4
|
-
/**
|
|
5
|
-
* Retrieve a remote config
|
|
6
|
-
*/
|
|
7
|
-
retrieve(request?: operations.RemoteConfigsGetConfigRequestBody | undefined, options?: RequestOptions): Promise<operations.RemoteConfigsGetConfigResponseBody>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=remoteconfigs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remoteconfigs.d.ts","sourceRoot":"","sources":["../src/sdk/remoteconfigs.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,aAAc,SAAQ,SAAS;IAC1C;;OAEG;IACG,QAAQ,CACZ,OAAO,CAAC,EAAE,UAAU,CAAC,iCAAiC,GAAG,SAAS,EAClE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;CAO1D"}
|
package/sdk/remoteconfigs.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Remoteconfigs = void 0;
|
|
7
|
-
const remoteconfigsRetrieve_js_1 = require("../funcs/remoteconfigsRetrieve.js");
|
|
8
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
-
const fp_js_1 = require("../types/fp.js");
|
|
10
|
-
class Remoteconfigs extends sdks_js_1.ClientSDK {
|
|
11
|
-
/**
|
|
12
|
-
* Retrieve a remote config
|
|
13
|
-
*/
|
|
14
|
-
async retrieve(request, options) {
|
|
15
|
-
return (0, fp_js_1.unwrapAsync)((0, remoteconfigsRetrieve_js_1.remoteconfigsRetrieve)(this, request, options));
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.Remoteconfigs = Remoteconfigs;
|
|
19
|
-
//# sourceMappingURL=remoteconfigs.js.map
|
package/sdk/remoteconfigs.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remoteconfigs.js","sourceRoot":"","sources":["../src/sdk/remoteconfigs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gFAA0E;AAC1E,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,aAAc,SAAQ,mBAAS;IAC1C;;OAEG;IACH,KAAK,CAAC,QAAQ,CACZ,OAAkE,EAClE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAdD,sCAcC"}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { OrqCore } from "../core.js";
|
|
6
|
-
import { encodeJSON } from "../lib/encodings.js";
|
|
7
|
-
import { matchStatusCode } from "../lib/http.js";
|
|
8
|
-
import * as M from "../lib/matchers.js";
|
|
9
|
-
import { compactMap } from "../lib/primitives.js";
|
|
10
|
-
import { safeParse } from "../lib/schemas.js";
|
|
11
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
-
import { pathToFunc } from "../lib/url.js";
|
|
14
|
-
import {
|
|
15
|
-
ConnectionError,
|
|
16
|
-
InvalidRequestError,
|
|
17
|
-
RequestAbortedError,
|
|
18
|
-
RequestTimeoutError,
|
|
19
|
-
UnexpectedClientError,
|
|
20
|
-
} from "../models/errors/httpclienterrors.js";
|
|
21
|
-
import { OrqError } from "../models/errors/orqerror.js";
|
|
22
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
23
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
|
-
import * as operations from "../models/operations/index.js";
|
|
25
|
-
import { APICall, APIPromise } from "../types/async.js";
|
|
26
|
-
import { Result } from "../types/fp.js";
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Retrieve a remote config
|
|
30
|
-
*/
|
|
31
|
-
export function remoteconfigsRetrieve(
|
|
32
|
-
client: OrqCore,
|
|
33
|
-
request?: operations.RemoteConfigsGetConfigRequestBody | undefined,
|
|
34
|
-
options?: RequestOptions,
|
|
35
|
-
): APIPromise<
|
|
36
|
-
Result<
|
|
37
|
-
operations.RemoteConfigsGetConfigResponseBody,
|
|
38
|
-
| OrqError
|
|
39
|
-
| ResponseValidationError
|
|
40
|
-
| ConnectionError
|
|
41
|
-
| RequestAbortedError
|
|
42
|
-
| RequestTimeoutError
|
|
43
|
-
| InvalidRequestError
|
|
44
|
-
| UnexpectedClientError
|
|
45
|
-
| SDKValidationError
|
|
46
|
-
>
|
|
47
|
-
> {
|
|
48
|
-
return new APIPromise($do(
|
|
49
|
-
client,
|
|
50
|
-
request,
|
|
51
|
-
options,
|
|
52
|
-
));
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
async function $do(
|
|
56
|
-
client: OrqCore,
|
|
57
|
-
request?: operations.RemoteConfigsGetConfigRequestBody | undefined,
|
|
58
|
-
options?: RequestOptions,
|
|
59
|
-
): Promise<
|
|
60
|
-
[
|
|
61
|
-
Result<
|
|
62
|
-
operations.RemoteConfigsGetConfigResponseBody,
|
|
63
|
-
| OrqError
|
|
64
|
-
| ResponseValidationError
|
|
65
|
-
| ConnectionError
|
|
66
|
-
| RequestAbortedError
|
|
67
|
-
| RequestTimeoutError
|
|
68
|
-
| InvalidRequestError
|
|
69
|
-
| UnexpectedClientError
|
|
70
|
-
| SDKValidationError
|
|
71
|
-
>,
|
|
72
|
-
APICall,
|
|
73
|
-
]
|
|
74
|
-
> {
|
|
75
|
-
const parsed = safeParse(
|
|
76
|
-
request,
|
|
77
|
-
(value) =>
|
|
78
|
-
operations.RemoteConfigsGetConfigRequestBody$outboundSchema.optional()
|
|
79
|
-
.parse(value),
|
|
80
|
-
"Input validation failed",
|
|
81
|
-
);
|
|
82
|
-
if (!parsed.ok) {
|
|
83
|
-
return [parsed, { status: "invalid" }];
|
|
84
|
-
}
|
|
85
|
-
const payload = parsed.value;
|
|
86
|
-
const body = payload === undefined
|
|
87
|
-
? null
|
|
88
|
-
: encodeJSON("body", payload, { explode: true });
|
|
89
|
-
|
|
90
|
-
const path = pathToFunc("/v2/remoteconfigs")();
|
|
91
|
-
|
|
92
|
-
const headers = new Headers(compactMap({
|
|
93
|
-
"Content-Type": "application/json",
|
|
94
|
-
Accept: "application/json",
|
|
95
|
-
}));
|
|
96
|
-
|
|
97
|
-
const secConfig = await extractSecurity(client._options.apiKey);
|
|
98
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
99
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
100
|
-
|
|
101
|
-
const context = {
|
|
102
|
-
options: client._options,
|
|
103
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
104
|
-
operationID: "RemoteConfigsGetConfig",
|
|
105
|
-
oAuth2Scopes: null,
|
|
106
|
-
|
|
107
|
-
resolvedSecurity: requestSecurity,
|
|
108
|
-
|
|
109
|
-
securitySource: client._options.apiKey,
|
|
110
|
-
retryConfig: options?.retries
|
|
111
|
-
|| client._options.retryConfig
|
|
112
|
-
|| { strategy: "none" },
|
|
113
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
const requestRes = client._createRequest(context, {
|
|
117
|
-
security: requestSecurity,
|
|
118
|
-
method: "POST",
|
|
119
|
-
baseURL: options?.serverURL,
|
|
120
|
-
path: path,
|
|
121
|
-
headers: headers,
|
|
122
|
-
body: body,
|
|
123
|
-
userAgent: client._options.userAgent,
|
|
124
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
125
|
-
}, options);
|
|
126
|
-
if (!requestRes.ok) {
|
|
127
|
-
return [requestRes, { status: "invalid" }];
|
|
128
|
-
}
|
|
129
|
-
const req = requestRes.value;
|
|
130
|
-
|
|
131
|
-
const doResult = await client._do(req, {
|
|
132
|
-
context,
|
|
133
|
-
isErrorStatusCode: (statusCode: number) =>
|
|
134
|
-
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
135
|
-
retryConfig: context.retryConfig,
|
|
136
|
-
retryCodes: context.retryCodes,
|
|
137
|
-
});
|
|
138
|
-
if (!doResult.ok) {
|
|
139
|
-
return [doResult, { status: "request-error", request: req }];
|
|
140
|
-
}
|
|
141
|
-
const response = doResult.value;
|
|
142
|
-
|
|
143
|
-
const [result] = await M.match<
|
|
144
|
-
operations.RemoteConfigsGetConfigResponseBody,
|
|
145
|
-
| OrqError
|
|
146
|
-
| ResponseValidationError
|
|
147
|
-
| ConnectionError
|
|
148
|
-
| RequestAbortedError
|
|
149
|
-
| RequestTimeoutError
|
|
150
|
-
| InvalidRequestError
|
|
151
|
-
| UnexpectedClientError
|
|
152
|
-
| SDKValidationError
|
|
153
|
-
>(
|
|
154
|
-
M.json(200, operations.RemoteConfigsGetConfigResponseBody$inboundSchema),
|
|
155
|
-
M.fail([400, 401, 404, "4XX"]),
|
|
156
|
-
M.fail([500, "5XX"]),
|
|
157
|
-
)(response, req);
|
|
158
|
-
if (!result.ok) {
|
|
159
|
-
return [result, { status: "complete", request: req, response }];
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
return [result, { status: "complete", request: req, response }];
|
|
163
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { OrqError } from "./orqerror.js";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Identity not found
|
|
10
|
-
*/
|
|
11
|
-
export type DeleteIdentityResponseBodyData = {
|
|
12
|
-
/**
|
|
13
|
-
* Error message
|
|
14
|
-
*/
|
|
15
|
-
error: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Identity not found
|
|
20
|
-
*/
|
|
21
|
-
export class DeleteIdentityResponseBody extends OrqError {
|
|
22
|
-
/**
|
|
23
|
-
* Error message
|
|
24
|
-
*/
|
|
25
|
-
error: string;
|
|
26
|
-
|
|
27
|
-
/** The original data that was passed to this error instance. */
|
|
28
|
-
data$: DeleteIdentityResponseBodyData;
|
|
29
|
-
|
|
30
|
-
constructor(
|
|
31
|
-
err: DeleteIdentityResponseBodyData,
|
|
32
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
33
|
-
) {
|
|
34
|
-
const message = "message" in err && typeof err.message === "string"
|
|
35
|
-
? err.message
|
|
36
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
37
|
-
super(message, httpMeta);
|
|
38
|
-
this.data$ = err;
|
|
39
|
-
this.error = err.error;
|
|
40
|
-
|
|
41
|
-
this.name = "DeleteIdentityResponseBody";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const DeleteIdentityResponseBody$inboundSchema: z.ZodType<
|
|
47
|
-
DeleteIdentityResponseBody,
|
|
48
|
-
z.ZodTypeDef,
|
|
49
|
-
unknown
|
|
50
|
-
> = z.object({
|
|
51
|
-
error: z.string(),
|
|
52
|
-
request$: z.instanceof(Request),
|
|
53
|
-
response$: z.instanceof(Response),
|
|
54
|
-
body$: z.string(),
|
|
55
|
-
})
|
|
56
|
-
.transform((v) => {
|
|
57
|
-
return new DeleteIdentityResponseBody(v, {
|
|
58
|
-
request: v.request$,
|
|
59
|
-
response: v.response$,
|
|
60
|
-
body: v.body$,
|
|
61
|
-
});
|
|
62
|
-
});
|