@orq-ai/node 4.10.0 → 4.10.1
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/funcs/filesDelete.d.ts +3 -0
- package/funcs/filesDelete.d.ts.map +1 -1
- package/funcs/filesDelete.js +3 -0
- package/funcs/filesDelete.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/apikey.d.ts +10 -10
- package/models/components/apikey.d.ts.map +1 -1
- package/models/components/apikey.js +9 -9
- package/models/components/apikey.js.map +1 -1
- package/models/components/createapikeyrequest.d.ts +3 -3
- package/models/components/createapikeyrequest.d.ts.map +1 -1
- package/models/components/createapikeyrequest.js +1 -1
- package/models/components/createapikeyrequest.js.map +1 -1
- package/models/components/createapikeyresponse.d.ts +2 -2
- package/models/components/createapikeyresponse.d.ts.map +1 -1
- package/models/components/createapikeyresponse.js +2 -2
- package/models/components/createapikeyresponse.js.map +1 -1
- package/models/components/createfilerequest.d.ts +13 -4
- package/models/components/createfilerequest.d.ts.map +1 -1
- package/models/components/createfilerequest.js +2 -2
- package/models/components/createfilerequest.js.map +1 -1
- package/models/components/createfileresponse.d.ts +4 -1
- package/models/components/createfileresponse.d.ts.map +1 -1
- package/models/components/createfileresponse.js +1 -1
- package/models/components/createfileresponse.js.map +1 -1
- package/models/components/createidentityrequest.d.ts +26 -2
- package/models/components/createidentityrequest.d.ts.map +1 -1
- package/models/components/createidentityrequest.js +1 -1
- package/models/components/createidentityrequest.js.map +1 -1
- package/models/components/createidentityresponse.d.ts +4 -1
- package/models/components/createidentityresponse.d.ts.map +1 -1
- package/models/components/createidentityresponse.js +1 -1
- package/models/components/createidentityresponse.js.map +1 -1
- package/models/components/createprojectrequest.d.ts +2 -2
- package/models/components/createprojectrequest.d.ts.map +1 -1
- package/models/components/createprojectrequest.js +1 -1
- package/models/components/createprojectrequest.js.map +1 -1
- package/models/components/createprojectresponse.d.ts +1 -1
- package/models/components/createprojectresponse.d.ts.map +1 -1
- package/models/components/createprojectresponse.js +1 -1
- package/models/components/createprojectresponse.js.map +1 -1
- package/models/components/createskillrequest.d.ts +2 -2
- package/models/components/createskillrequest.d.ts.map +1 -1
- package/models/components/createskillrequest.js +1 -1
- package/models/components/createskillrequest.js.map +1 -1
- package/models/components/createskillresponse.d.ts +1 -1
- package/models/components/createskillresponse.d.ts.map +1 -1
- package/models/components/createskillresponse.js +1 -1
- package/models/components/createskillresponse.js.map +1 -1
- package/models/components/file.d.ts +18 -6
- package/models/components/file.d.ts.map +1 -1
- package/models/components/file.js +6 -6
- package/models/components/file.js.map +1 -1
- package/models/components/getapikeyresponse.d.ts +1 -1
- package/models/components/getapikeyresponse.d.ts.map +1 -1
- package/models/components/getapikeyresponse.js +1 -1
- package/models/components/getapikeyresponse.js.map +1 -1
- package/models/components/getfilecontentresponse.d.ts +4 -1
- package/models/components/getfilecontentresponse.d.ts.map +1 -1
- package/models/components/getfilecontentresponse.js +1 -1
- package/models/components/getfilecontentresponse.js.map +1 -1
- package/models/components/getfileresponse.d.ts +4 -1
- package/models/components/getfileresponse.d.ts.map +1 -1
- package/models/components/getfileresponse.js +1 -1
- package/models/components/getfileresponse.js.map +1 -1
- package/models/components/getprojectresponse.d.ts +1 -1
- package/models/components/getprojectresponse.d.ts.map +1 -1
- package/models/components/getprojectresponse.js +1 -1
- package/models/components/getprojectresponse.js.map +1 -1
- package/models/components/getskillresponse.d.ts +1 -1
- package/models/components/getskillresponse.d.ts.map +1 -1
- package/models/components/getskillresponse.js +1 -1
- package/models/components/getskillresponse.js.map +1 -1
- package/models/components/identity.d.ts +50 -5
- package/models/components/identity.d.ts.map +1 -1
- package/models/components/identity.js +5 -5
- package/models/components/identity.js.map +1 -1
- package/models/components/identitymetrics.d.ts +16 -4
- package/models/components/identitymetrics.d.ts.map +1 -1
- package/models/components/identitymetrics.js +4 -4
- package/models/components/identitymetrics.js.map +1 -1
- package/models/components/listapikeysresponse.d.ts +3 -3
- package/models/components/listapikeysresponse.d.ts.map +1 -1
- package/models/components/listapikeysresponse.js +3 -3
- package/models/components/listapikeysresponse.js.map +1 -1
- package/models/components/listcapabilitiesresponse.d.ts +1 -1
- package/models/components/listcapabilitiesresponse.d.ts.map +1 -1
- package/models/components/listcapabilitiesresponse.js +1 -1
- package/models/components/listcapabilitiesresponse.js.map +1 -1
- package/models/components/listfilesresponse.d.ts +12 -3
- package/models/components/listfilesresponse.d.ts.map +1 -1
- package/models/components/listfilesresponse.js +3 -3
- package/models/components/listfilesresponse.js.map +1 -1
- package/models/components/listidentitiesresponse.d.ts +15 -3
- package/models/components/listidentitiesresponse.d.ts.map +1 -1
- package/models/components/listidentitiesresponse.js +3 -3
- package/models/components/listidentitiesresponse.js.map +1 -1
- package/models/components/listprojectsresponse.d.ts +3 -3
- package/models/components/listprojectsresponse.d.ts.map +1 -1
- package/models/components/listprojectsresponse.js +3 -3
- package/models/components/listprojectsresponse.js.map +1 -1
- package/models/components/listskillsresponse.d.ts +3 -3
- package/models/components/listskillsresponse.d.ts.map +1 -1
- package/models/components/listskillsresponse.js +3 -3
- package/models/components/listskillsresponse.js.map +1 -1
- package/models/components/project.d.ts +8 -8
- package/models/components/project.d.ts.map +1 -1
- package/models/components/project.js +8 -8
- package/models/components/project.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/retrieveidentityresponse.d.ts +4 -1
- package/models/components/retrieveidentityresponse.d.ts.map +1 -1
- package/models/components/retrieveidentityresponse.js +1 -1
- package/models/components/retrieveidentityresponse.js.map +1 -1
- package/models/components/singleproject.d.ts +5 -2
- package/models/components/singleproject.d.ts.map +1 -1
- package/models/components/singleproject.js +2 -2
- package/models/components/singleproject.js.map +1 -1
- package/models/components/skill.d.ts +13 -13
- package/models/components/skill.d.ts.map +1 -1
- package/models/components/skill.js +12 -12
- package/models/components/skill.js.map +1 -1
- package/models/components/updateapikeyrequest.d.ts +1 -6
- package/models/components/updateapikeyrequest.d.ts.map +1 -1
- package/models/components/updateapikeyrequest.js +0 -2
- package/models/components/updateapikeyrequest.js.map +1 -1
- package/models/components/updateapikeyresponse.d.ts +1 -1
- package/models/components/updateapikeyresponse.d.ts.map +1 -1
- package/models/components/updateapikeyresponse.js +1 -1
- package/models/components/updateapikeyresponse.js.map +1 -1
- package/models/components/updatefilerequest.d.ts +5 -4
- package/models/components/updatefilerequest.d.ts.map +1 -1
- package/models/components/updatefilerequest.js +1 -3
- package/models/components/updatefilerequest.js.map +1 -1
- package/models/components/updatefileresponse.d.ts +4 -1
- package/models/components/updatefileresponse.d.ts.map +1 -1
- package/models/components/updatefileresponse.js +1 -1
- package/models/components/updatefileresponse.js.map +1 -1
- package/models/components/updateidentityrequest.d.ts +18 -2
- package/models/components/updateidentityrequest.d.ts.map +1 -1
- package/models/components/updateidentityrequest.js +0 -1
- package/models/components/updateidentityrequest.js.map +1 -1
- package/models/components/updateidentityresponse.d.ts +4 -1
- package/models/components/updateidentityresponse.d.ts.map +1 -1
- package/models/components/updateidentityresponse.js +1 -1
- package/models/components/updateidentityresponse.js.map +1 -1
- package/models/components/updateprojectrequest.d.ts +0 -5
- package/models/components/updateprojectrequest.d.ts.map +1 -1
- package/models/components/updateprojectrequest.js +0 -6
- package/models/components/updateprojectrequest.js.map +1 -1
- package/models/components/updateprojectresponse.d.ts +1 -1
- package/models/components/updateprojectresponse.d.ts.map +1 -1
- package/models/components/updateprojectresponse.js +1 -1
- package/models/components/updateprojectresponse.js.map +1 -1
- package/models/components/updateskillrequest.d.ts +0 -5
- package/models/components/updateskillrequest.d.ts.map +1 -1
- package/models/components/updateskillrequest.js +0 -2
- package/models/components/updateskillrequest.js.map +1 -1
- package/models/components/updateskillresponse.d.ts +1 -1
- package/models/components/updateskillresponse.d.ts.map +1 -1
- package/models/components/updateskillresponse.js +1 -1
- package/models/components/updateskillresponse.js.map +1 -1
- package/models/components/userowner.d.ts +5 -2
- package/models/components/userowner.d.ts.map +1 -1
- package/models/components/userowner.js +2 -2
- package/models/components/userowner.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.d.ts +3 -3
- package/models/operations/createdatasource.d.ts.map +1 -1
- package/models/operations/createdatasource.js +3 -3
- package/models/operations/createdatasource.js.map +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createknowledge.d.ts +2 -2
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +2 -2
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deleteidentity.d.ts +3 -0
- package/models/operations/deleteidentity.d.ts.map +1 -1
- package/models/operations/deleteidentity.js.map +1 -1
- package/models/operations/filecontent.d.ts +3 -0
- package/models/operations/filecontent.d.ts.map +1 -1
- package/models/operations/filecontent.js.map +1 -1
- package/models/operations/filedelete.d.ts +3 -0
- package/models/operations/filedelete.d.ts.map +1 -1
- package/models/operations/filedelete.js.map +1 -1
- package/models/operations/fileget.d.ts +3 -0
- package/models/operations/fileget.d.ts.map +1 -1
- package/models/operations/fileget.js.map +1 -1
- package/models/operations/filelist.d.ts +15 -0
- package/models/operations/filelist.d.ts.map +1 -1
- package/models/operations/filelist.js.map +1 -1
- package/models/operations/fileupdate.d.ts +3 -0
- package/models/operations/fileupdate.d.ts.map +1 -1
- package/models/operations/fileupdate.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneknowledge.d.ts +2 -2
- package/models/operations/getoneknowledge.d.ts.map +1 -1
- package/models/operations/getoneknowledge.js +2 -2
- package/models/operations/getoneknowledge.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.d.ts +1 -1
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/listidentities.d.ts +24 -0
- package/models/operations/listidentities.d.ts.map +1 -1
- package/models/operations/listidentities.js.map +1 -1
- package/models/operations/listknowledgebases.d.ts +2 -2
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +2 -2
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.d.ts +1 -1
- package/models/operations/retrievedatasource.d.ts.map +1 -1
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievedatasource.js.map +1 -1
- package/models/operations/retrieveidentity.d.ts +6 -0
- package/models/operations/retrieveidentity.d.ts.map +1 -1
- package/models/operations/retrieveidentity.js.map +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.d.ts +1 -1
- package/models/operations/updatedatasource.d.ts.map +1 -1
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updatedatasource.js.map +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.d.ts +3 -0
- package/models/operations/updateidentity.d.ts.map +1 -1
- package/models/operations/updateidentity.js.map +1 -1
- package/models/operations/updateknowledge.d.ts +2 -2
- package/models/operations/updateknowledge.d.ts.map +1 -1
- package/models/operations/updateknowledge.js +2 -2
- package/models/operations/updateknowledge.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +5 -5
- package/sdk/files.d.ts +3 -0
- package/sdk/files.d.ts.map +1 -1
- package/sdk/files.js +3 -0
- package/sdk/files.js.map +1 -1
- package/src/funcs/filesDelete.ts +3 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/apikey.ts +19 -19
- package/src/models/components/createapikeyrequest.ts +4 -4
- package/src/models/components/createapikeyresponse.ts +4 -4
- package/src/models/components/createfilerequest.ts +15 -6
- package/src/models/components/createfileresponse.ts +5 -2
- package/src/models/components/createidentityrequest.ts +27 -3
- package/src/models/components/createidentityresponse.ts +5 -2
- package/src/models/components/createprojectrequest.ts +3 -3
- package/src/models/components/createprojectresponse.ts +2 -2
- package/src/models/components/createskillrequest.ts +3 -3
- package/src/models/components/createskillresponse.ts +2 -2
- package/src/models/components/file.ts +24 -12
- package/src/models/components/getapikeyresponse.ts +2 -2
- package/src/models/components/getfilecontentresponse.ts +5 -2
- package/src/models/components/getfileresponse.ts +5 -2
- package/src/models/components/getprojectresponse.ts +2 -2
- package/src/models/components/getskillresponse.ts +2 -2
- package/src/models/components/identity.ts +55 -10
- package/src/models/components/identitymetrics.ts +20 -8
- package/src/models/components/listapikeysresponse.ts +6 -6
- package/src/models/components/listcapabilitiesresponse.ts +2 -2
- package/src/models/components/listfilesresponse.ts +15 -6
- package/src/models/components/listidentitiesresponse.ts +18 -6
- package/src/models/components/listprojectsresponse.ts +6 -6
- package/src/models/components/listskillsresponse.ts +6 -6
- package/src/models/components/project.ts +16 -16
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/retrieveidentityresponse.ts +5 -2
- package/src/models/components/singleproject.ts +7 -4
- package/src/models/components/skill.ts +25 -25
- package/src/models/components/updateapikeyrequest.ts +1 -8
- package/src/models/components/updateapikeyresponse.ts +2 -2
- package/src/models/components/updatefilerequest.ts +6 -7
- package/src/models/components/updatefileresponse.ts +5 -2
- package/src/models/components/updateidentityrequest.ts +18 -3
- package/src/models/components/updateidentityresponse.ts +5 -2
- package/src/models/components/updateprojectrequest.ts +0 -11
- package/src/models/components/updateprojectresponse.ts +2 -2
- package/src/models/components/updateskillrequest.ts +0 -7
- package/src/models/components/updateskillresponse.ts +2 -2
- package/src/models/components/userowner.ts +7 -4
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +6 -6
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createknowledge.ts +4 -4
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deleteidentity.ts +3 -0
- package/src/models/operations/filecontent.ts +3 -0
- package/src/models/operations/filedelete.ts +3 -0
- package/src/models/operations/fileget.ts +3 -0
- package/src/models/operations/filelist.ts +15 -0
- package/src/models/operations/fileupdate.ts +3 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneknowledge.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +3 -3
- package/src/models/operations/listidentities.ts +24 -0
- package/src/models/operations/listknowledgebases.ts +4 -4
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +3 -3
- package/src/models/operations/retrieveidentity.ts +6 -0
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +3 -3
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +3 -0
- package/src/models/operations/updateknowledge.ts +4 -4
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/files.ts +3 -0
|
@@ -42,7 +42,7 @@ const z = __importStar(require("zod/v3"));
|
|
|
42
42
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
43
|
/** @internal */
|
|
44
44
|
exports.CreateSkillRequest$outboundSchema = z.object({
|
|
45
|
-
displayName: z.string()
|
|
45
|
+
displayName: z.string(),
|
|
46
46
|
description: z.string().optional(),
|
|
47
47
|
tags: z.array(z.string()).optional(),
|
|
48
48
|
path: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createskillrequest.js","sourceRoot":"","sources":["../../src/models/components/createskillrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DH,4DAMC;AAjED,0CAA4B;AAC5B,2DAA0D;AAuC1D,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"createskillrequest.js","sourceRoot":"","sources":["../../src/models/components/createskillrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DH,4DAMC;AAjED,0CAA4B;AAC5B,2DAA0D;AAuC1D,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createskillresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createskillresponse.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,KAAK,EAAuB,MAAM,YAAY,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,
|
|
1
|
+
{"version":3,"file":"createskillresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createskillresponse.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,KAAK,EAAuB,MAAM,YAAY,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -43,7 +43,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
43
43
|
const skill_js_1 = require("./skill.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.CreateSkillResponse$inboundSchema = z.object({
|
|
46
|
-
skill: skill_js_1.Skill$inboundSchema
|
|
46
|
+
skill: skill_js_1.Skill$inboundSchema,
|
|
47
47
|
});
|
|
48
48
|
function createSkillResponseFromJSON(jsonString) {
|
|
49
49
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateSkillResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateSkillResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createskillresponse.js","sourceRoot":"","sources":["../../src/models/components/createskillresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,kEAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,yCAAwD;AASxD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,8BAAmB
|
|
1
|
+
{"version":3,"file":"createskillresponse.js","sourceRoot":"","sources":["../../src/models/components/createskillresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,kEAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,yCAAwD;AASxD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,8BAAmB;CAC3B,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -3,15 +3,27 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { FilePurpose } from "./filepurpose.js";
|
|
5
5
|
export type FileT = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Unique file identifier assigned by ORQ.
|
|
8
|
+
*/
|
|
9
|
+
fileId: string;
|
|
10
|
+
purpose: FilePurpose;
|
|
11
|
+
/**
|
|
12
|
+
* Display file name, including extension when available.
|
|
13
|
+
*/
|
|
14
|
+
fileName: string;
|
|
15
|
+
/**
|
|
16
|
+
* Size of the uploaded file in bytes.
|
|
17
|
+
*/
|
|
18
|
+
bytes: string;
|
|
19
|
+
/**
|
|
20
|
+
* Time when the file was created.
|
|
21
|
+
*/
|
|
22
|
+
createdAt: Date;
|
|
11
23
|
/**
|
|
12
24
|
* Identifier of the project the file belongs to. Files are project-scoped; an API key may only access files in projects it is authorized for.
|
|
13
25
|
*/
|
|
14
|
-
projectId
|
|
26
|
+
projectId: string;
|
|
15
27
|
};
|
|
16
28
|
/** @internal */
|
|
17
29
|
export declare const FileT$inboundSchema: z.ZodType<FileT, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/models/components/file.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,WAAW,EAA6B,MAAM,kBAAkB,CAAC;AAE1E,MAAM,MAAM,KAAK,GAAG;IAClB,MAAM,
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/models/components/file.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,WAAW,EAA6B,MAAM,kBAAkB,CAAC;AAE1E,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAiBpE,CAAC;AAEL,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAM5C"}
|
|
@@ -45,12 +45,12 @@ const filepurpose_js_1 = require("./filepurpose.js");
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
exports.FileT$inboundSchema = z
|
|
47
47
|
.object({
|
|
48
|
-
file_id: z.string()
|
|
49
|
-
purpose: filepurpose_js_1.FilePurpose$inboundSchema
|
|
50
|
-
file_name: z.string()
|
|
51
|
-
bytes: z.string()
|
|
52
|
-
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
53
|
-
project_id: z.string()
|
|
48
|
+
file_id: z.string(),
|
|
49
|
+
purpose: filepurpose_js_1.FilePurpose$inboundSchema,
|
|
50
|
+
file_name: z.string(),
|
|
51
|
+
bytes: z.string(),
|
|
52
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
53
|
+
project_id: z.string(),
|
|
54
54
|
}).transform((v) => {
|
|
55
55
|
return (0, primitives_js_1.remap)(v, {
|
|
56
56
|
"file_id": "fileId",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../src/models/components/file.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../src/models/components/file.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDH,oCAQC;AA3DD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,qDAA0E;AA0B1E,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC;KAC1E,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,0CAAyB;IAClC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAC9D,IAAI,IAAI,CAAC,CAAC,CAAC,CACZ;IACD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;QACnB,WAAW,EAAE,UAAU;QACvB,YAAY,EAAE,WAAW;QACzB,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,YAAY,CAC1B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2BAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/C,mCAAmC,CACpC,CAAC;AACJ,CAAC"}
|
|
@@ -6,7 +6,7 @@ export type GetApiKeyResponse = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Requested api-key. Raw token never included.
|
|
8
8
|
*/
|
|
9
|
-
apiKey
|
|
9
|
+
apiKey: ApiKey;
|
|
10
10
|
};
|
|
11
11
|
/** @internal */
|
|
12
12
|
export declare const GetApiKeyResponse$inboundSchema: z.ZodType<GetApiKeyResponse, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getapikeyresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getapikeyresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,
|
|
1
|
+
{"version":3,"file":"getapikeyresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getapikeyresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -44,7 +44,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
44
44
|
const apikey_js_1 = require("./apikey.js");
|
|
45
45
|
/** @internal */
|
|
46
46
|
exports.GetApiKeyResponse$inboundSchema = z.object({
|
|
47
|
-
api_key: apikey_js_1.ApiKey$inboundSchema
|
|
47
|
+
api_key: apikey_js_1.ApiKey$inboundSchema,
|
|
48
48
|
}).transform((v) => {
|
|
49
49
|
return (0, primitives_js_1.remap)(v, {
|
|
50
50
|
"api_key": "apiKey",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getapikeyresponse.js","sourceRoot":"","sources":["../../src/models/components/getapikeyresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,8DAQC;AAnCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,2CAA2D;AAS3D,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,gCAAoB
|
|
1
|
+
{"version":3,"file":"getapikeyresponse.js","sourceRoot":"","sources":["../../src/models/components/getapikeyresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,8DAQC;AAnCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,2CAA2D;AAS3D,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,gCAAoB;CAC9B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;KACpB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -2,7 +2,10 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
export type GetFileContentResponse = {
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Presigned URL that can be used to download the file content.
|
|
7
|
+
*/
|
|
8
|
+
downloadUrl: string;
|
|
6
9
|
};
|
|
7
10
|
/** @internal */
|
|
8
11
|
export declare const GetFileContentResponse$inboundSchema: z.ZodType<GetFileContentResponse, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getfilecontentresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getfilecontentresponse.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,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,
|
|
1
|
+
{"version":3,"file":"getfilecontentresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getfilecontentresponse.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,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.GetFileContentResponse$inboundSchema = z.object({
|
|
46
|
-
download_url: z.string()
|
|
46
|
+
download_url: z.string(),
|
|
47
47
|
}).transform((v) => {
|
|
48
48
|
return (0, primitives_js_1.remap)(v, {
|
|
49
49
|
"download_url": "downloadUrl",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getfilecontentresponse.js","sourceRoot":"","sources":["../../src/models/components/getfilecontentresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getfilecontentresponse.js","sourceRoot":"","sources":["../../src/models/components/getfilecontentresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BH,wEAQC;AAlCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAWjD,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,aAAa;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -3,7 +3,10 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { FileT } from "./file.js";
|
|
5
5
|
export type GetFileResponse = {
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Requested file metadata.
|
|
8
|
+
*/
|
|
9
|
+
file: FileT;
|
|
7
10
|
};
|
|
8
11
|
/** @internal */
|
|
9
12
|
export declare const GetFileResponse$inboundSchema: z.ZodType<GetFileResponse, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getfileresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getfileresponse.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,KAAK,EAAuB,MAAM,WAAW,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,
|
|
1
|
+
{"version":3,"file":"getfileresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getfileresponse.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,KAAK,EAAuB,MAAM,WAAW,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -43,7 +43,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
43
43
|
const file_js_1 = require("./file.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.GetFileResponse$inboundSchema = z.object({
|
|
46
|
-
file: file_js_1.FileT$inboundSchema
|
|
46
|
+
file: file_js_1.FileT$inboundSchema,
|
|
47
47
|
});
|
|
48
48
|
function getFileResponseFromJSON(jsonString) {
|
|
49
49
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetFileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFileResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getfileresponse.js","sourceRoot":"","sources":["../../src/models/components/getfileresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getfileresponse.js","sourceRoot":"","sources":["../../src/models/components/getfileresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,0DAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,uCAAuD;AASvD,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,6BAAmB;CAC1B,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qCAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getprojectresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getprojectresponse.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,OAAO,EAAyB,MAAM,cAAc,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,OAAO,
|
|
1
|
+
{"version":3,"file":"getprojectresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getprojectresponse.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,OAAO,EAAyB,MAAM,cAAc,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -43,7 +43,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
43
43
|
const project_js_1 = require("./project.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.GetProjectResponse$inboundSchema = z.object({
|
|
46
|
-
project: project_js_1.Project$inboundSchema
|
|
46
|
+
project: project_js_1.Project$inboundSchema,
|
|
47
47
|
});
|
|
48
48
|
function getProjectResponseFromJSON(jsonString) {
|
|
49
49
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetProjectResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProjectResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getprojectresponse.js","sourceRoot":"","sources":["../../src/models/components/getprojectresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,gEAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,6CAA8D;AAS9D,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,kCAAqB
|
|
1
|
+
{"version":3,"file":"getprojectresponse.js","sourceRoot":"","sources":["../../src/models/components/getprojectresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,gEAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,6CAA8D;AAS9D,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,kCAAqB;CAC/B,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getskillresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getskillresponse.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,KAAK,EAAuB,MAAM,YAAY,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,KAAK,
|
|
1
|
+
{"version":3,"file":"getskillresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getskillresponse.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,KAAK,EAAuB,MAAM,YAAY,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -43,7 +43,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
43
43
|
const skill_js_1 = require("./skill.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.GetSkillResponse$inboundSchema = z.object({
|
|
46
|
-
skill: skill_js_1.Skill$inboundSchema
|
|
46
|
+
skill: skill_js_1.Skill$inboundSchema,
|
|
47
47
|
});
|
|
48
48
|
function getSkillResponseFromJSON(jsonString) {
|
|
49
49
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetSkillResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetSkillResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getskillresponse.js","sourceRoot":"","sources":["../../src/models/components/getskillresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,4DAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,yCAAwD;AASxD,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,8BAAmB
|
|
1
|
+
{"version":3,"file":"getskillresponse.js","sourceRoot":"","sources":["../../src/models/components/getskillresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,4DAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,yCAAwD;AASxD,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,8BAAmB;CAC3B,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -2,18 +2,63 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { IdentityMetrics } from "./identitymetrics.js";
|
|
5
|
+
/**
|
|
6
|
+
* Custom JSON metadata stored with the identity.
|
|
7
|
+
*/
|
|
5
8
|
export type Metadata = {};
|
|
6
9
|
export type Identity = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Unique identity identifier assigned by ORQ. Returned as `_id` for
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* compatibility with the v1 identity API.
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* Customer-provided stable identifier for this identity. This value is
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* required on create and is unique within the workspace.
|
|
22
|
+
*/
|
|
23
|
+
externalId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Workspace that owns the identity.
|
|
26
|
+
*/
|
|
27
|
+
workspaceId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Human-readable display name for the identity.
|
|
30
|
+
*/
|
|
10
31
|
displayName?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Email address associated with the identity.
|
|
34
|
+
*/
|
|
11
35
|
email?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* URL of the identity avatar image.
|
|
38
|
+
*/
|
|
12
39
|
avatarUrl?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Free-form labels used to organize and filter identities.
|
|
42
|
+
*/
|
|
13
43
|
tags?: Array<string> | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Custom JSON metadata stored with the identity.
|
|
46
|
+
*/
|
|
14
47
|
metadata?: Metadata | undefined;
|
|
15
|
-
|
|
16
|
-
|
|
48
|
+
/**
|
|
49
|
+
* ISO timestamp for when the identity was created.
|
|
50
|
+
*/
|
|
51
|
+
created: string;
|
|
52
|
+
/**
|
|
53
|
+
* ISO timestamp for when the identity was last updated.
|
|
54
|
+
*/
|
|
55
|
+
updated: string;
|
|
56
|
+
/**
|
|
57
|
+
* Optional usage and cost metrics. Present only when requested with
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* `include_metrics`.
|
|
61
|
+
*/
|
|
17
62
|
metrics?: IdentityMetrics | undefined;
|
|
18
63
|
};
|
|
19
64
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../src/models/components/identity.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,QAAQ,GAAG,EAAE,CAAC;AAE1B,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,
|
|
1
|
+
{"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../src/models/components/identity.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,EAAE,CAAC;AAE1B,MAAM,MAAM,QAAQ,GAAG;IACrB;;;;;OAKG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;;OAKG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C;AAED,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CAqBP,CAAC;AAEH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C"}
|
|
@@ -50,16 +50,16 @@ function metadataFromJSON(jsonString) {
|
|
|
50
50
|
}
|
|
51
51
|
/** @internal */
|
|
52
52
|
exports.Identity$inboundSchema = z.object({
|
|
53
|
-
_id: z.string()
|
|
54
|
-
external_id: z.string()
|
|
55
|
-
workspace_id: z.string()
|
|
53
|
+
_id: z.string(),
|
|
54
|
+
external_id: z.string(),
|
|
55
|
+
workspace_id: z.string(),
|
|
56
56
|
display_name: z.string().optional(),
|
|
57
57
|
email: z.string().optional(),
|
|
58
58
|
avatar_url: z.string().optional(),
|
|
59
59
|
tags: z.array(z.string()).optional(),
|
|
60
60
|
metadata: z.lazy(() => exports.Metadata$inboundSchema).optional(),
|
|
61
|
-
created: z.string()
|
|
62
|
-
updated: z.string()
|
|
61
|
+
created: z.string(),
|
|
62
|
+
updated: z.string(),
|
|
63
63
|
metrics: identitymetrics_js_1.IdentityMetrics$inboundSchema.optional(),
|
|
64
64
|
}).transform((v) => {
|
|
65
65
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity.js","sourceRoot":"","sources":["../../src/models/components/identity.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"identity.js","sourceRoot":"","sources":["../../src/models/components/identity.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFH,4CAQC;AA6BD,4CAQC;AA3HD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,6DAG8B;AA+D9B,gBAAgB;AACH,QAAA,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,gBAAgB,CAC9B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClD,sCAAsC,CACvC,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8BAAsB,CAAC,CAAC,QAAQ,EAAE;IACzD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,kDAA6B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,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,gBAAgB,CAC9B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClD,sCAAsC,CACvC,CAAC;AACJ,CAAC"}
|
|
@@ -2,10 +2,22 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
export type IdentityMetrics = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Total token count attributed to the identity.
|
|
7
|
+
*/
|
|
8
|
+
totalTokens: number;
|
|
9
|
+
/**
|
|
10
|
+
* Total cost attributed to the identity.
|
|
11
|
+
*/
|
|
12
|
+
totalCost: number;
|
|
13
|
+
/**
|
|
14
|
+
* Total request count attributed to the identity.
|
|
15
|
+
*/
|
|
16
|
+
totalRequests: number;
|
|
17
|
+
/**
|
|
18
|
+
* Fraction of attributed requests that failed.
|
|
19
|
+
*/
|
|
20
|
+
errorRate: number;
|
|
9
21
|
};
|
|
10
22
|
/** @internal */
|
|
11
23
|
export declare const IdentityMetrics$inboundSchema: z.ZodType<IdentityMetrics, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitymetrics.d.ts","sourceRoot":"","sources":["../../src/models/components/identitymetrics.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,MAAM,MAAM,eAAe,GAAG;IAC5B,WAAW,
|
|
1
|
+
{"version":3,"file":"identitymetrics.d.ts","sourceRoot":"","sources":["../../src/models/components/identitymetrics.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,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -43,10 +43,10 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.IdentityMetrics$inboundSchema = z.object({
|
|
46
|
-
total_tokens: z.number()
|
|
47
|
-
total_cost: z.number()
|
|
48
|
-
total_requests: z.number()
|
|
49
|
-
error_rate: z.number()
|
|
46
|
+
total_tokens: z.number(),
|
|
47
|
+
total_cost: z.number(),
|
|
48
|
+
total_requests: z.number(),
|
|
49
|
+
error_rate: z.number(),
|
|
50
50
|
}).transform((v) => {
|
|
51
51
|
return (0, primitives_js_1.remap)(v, {
|
|
52
52
|
"total_tokens": "totalTokens",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identitymetrics.js","sourceRoot":"","sources":["../../src/models/components/identitymetrics.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"identitymetrics.js","sourceRoot":"","sources":["../../src/models/components/identitymetrics.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CH,0DAQC;AApDD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAuBjD,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,aAAa;QAC7B,YAAY,EAAE,WAAW;QACzB,gBAAgB,EAAE,eAAe;QACjC,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qCAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -6,21 +6,21 @@ export type ListApiKeysResponse = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Object discriminator for list responses; always `list`.
|
|
8
8
|
*/
|
|
9
|
-
object
|
|
9
|
+
object: string;
|
|
10
10
|
/**
|
|
11
11
|
* Page of api-keys, ordered newest first. `token_hash` and
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* `api_key` are always elided in list responses.
|
|
15
15
|
*/
|
|
16
|
-
data
|
|
16
|
+
data: Array<ApiKey>;
|
|
17
17
|
/**
|
|
18
18
|
* Whether more api-keys are available in the selected pagination
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
21
|
* direction.
|
|
22
22
|
*/
|
|
23
|
-
hasMore
|
|
23
|
+
hasMore: boolean;
|
|
24
24
|
};
|
|
25
25
|
/** @internal */
|
|
26
26
|
export declare const ListApiKeysResponse$inboundSchema: z.ZodType<ListApiKeysResponse, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listapikeysresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/listapikeysresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,MAAM,
|
|
1
|
+
{"version":3,"file":"listapikeysresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/listapikeysresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpB;;;;;OAKG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -44,9 +44,9 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
44
44
|
const apikey_js_1 = require("./apikey.js");
|
|
45
45
|
/** @internal */
|
|
46
46
|
exports.ListApiKeysResponse$inboundSchema = z.object({
|
|
47
|
-
object: z.string()
|
|
48
|
-
data: z.array(apikey_js_1.ApiKey$inboundSchema)
|
|
49
|
-
has_more: z.boolean()
|
|
47
|
+
object: z.string(),
|
|
48
|
+
data: z.array(apikey_js_1.ApiKey$inboundSchema),
|
|
49
|
+
has_more: z.boolean(),
|
|
50
50
|
}).transform((v) => {
|
|
51
51
|
return (0, primitives_js_1.remap)(v, {
|
|
52
52
|
"has_more": "hasMore",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listapikeysresponse.js","sourceRoot":"","sources":["../../src/models/components/listapikeysresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CH,kEAQC;AAnDD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,2CAA2D;AAuB3D,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"listapikeysresponse.js","sourceRoot":"","sources":["../../src/models/components/listapikeysresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CH,kEAQC;AAnDD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,2CAA2D;AAuB3D,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAoB,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,SAAS;KACtB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -9,7 +9,7 @@ export type ListCapabilitiesResponse = {
|
|
|
9
9
|
* @remarks
|
|
10
10
|
* then platform, then gateway.
|
|
11
11
|
*/
|
|
12
|
-
domains
|
|
12
|
+
domains: Array<Domain>;
|
|
13
13
|
};
|
|
14
14
|
/** @internal */
|
|
15
15
|
export declare const ListCapabilitiesResponse$inboundSchema: z.ZodType<ListCapabilitiesResponse, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listcapabilitiesresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/listcapabilitiesresponse.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,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;;;OAKG;IACH,OAAO,
|
|
1
|
+
{"version":3,"file":"listcapabilitiesresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/listcapabilitiesresponse.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,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;;;OAKG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -43,7 +43,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
43
43
|
const domain_js_1 = require("./domain.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.ListCapabilitiesResponse$inboundSchema = z.object({
|
|
46
|
-
domains: z.array(domain_js_1.Domain$inboundSchema)
|
|
46
|
+
domains: z.array(domain_js_1.Domain$inboundSchema),
|
|
47
47
|
});
|
|
48
48
|
function listCapabilitiesResponseFromJSON(jsonString) {
|
|
49
49
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCapabilitiesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCapabilitiesResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listcapabilitiesresponse.js","sourceRoot":"","sources":["../../src/models/components/listcapabilitiesresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BH,4EAQC;AAjCD,0CAA4B;AAC5B,qDAAiD;AAGjD,2CAA2D;AAY3D,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAoB,CAAC
|
|
1
|
+
{"version":3,"file":"listcapabilitiesresponse.js","sourceRoot":"","sources":["../../src/models/components/listcapabilitiesresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BH,4EAQC;AAjCD,0CAA4B;AAC5B,qDAAiD;AAGjD,2CAA2D;AAY3D,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAoB,CAAC;CACvC,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
|
|
@@ -3,9 +3,18 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { FileT } from "./file.js";
|
|
5
5
|
export type ListFilesResponse = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Object discriminator for list responses; always `list`.
|
|
8
|
+
*/
|
|
9
|
+
object: string;
|
|
10
|
+
/**
|
|
11
|
+
* Page of files.
|
|
12
|
+
*/
|
|
13
|
+
data: Array<FileT>;
|
|
14
|
+
/**
|
|
15
|
+
* Whether more files are available in the selected pagination direction.
|
|
16
|
+
*/
|
|
17
|
+
hasMore: boolean;
|
|
9
18
|
};
|
|
10
19
|
/** @internal */
|
|
11
20
|
export declare const ListFilesResponse$inboundSchema: z.ZodType<ListFilesResponse, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listfilesresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/listfilesresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,KAAK,EAAuB,MAAM,WAAW,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,
|
|
1
|
+
{"version":3,"file":"listfilesresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/listfilesresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,KAAK,EAAuB,MAAM,WAAW,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -44,9 +44,9 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
44
44
|
const file_js_1 = require("./file.js");
|
|
45
45
|
/** @internal */
|
|
46
46
|
exports.ListFilesResponse$inboundSchema = z.object({
|
|
47
|
-
object: z.string()
|
|
48
|
-
data: z.array(file_js_1.FileT$inboundSchema)
|
|
49
|
-
has_more: z.boolean()
|
|
47
|
+
object: z.string(),
|
|
48
|
+
data: z.array(file_js_1.FileT$inboundSchema),
|
|
49
|
+
has_more: z.boolean(),
|
|
50
50
|
}).transform((v) => {
|
|
51
51
|
return (0, primitives_js_1.remap)(v, {
|
|
52
52
|
"has_more": "hasMore",
|