{"_id":"@aurora-interactive/synjana-custodial-api","_rev":"7-d216eba99068baa2a0c94f91cacf1d06","name":"@aurora-interactive/synjana-custodial-api","dist-tags":{"latest":"0.1.4"},"versions":{"0.0.1":{"name":"@aurora-interactive/synjana-custodial-api","version":"0.0.1","author":{"name":"Speakeasy"},"_id":"@aurora-interactive/synjana-custodial-api@0.0.1","maintainers":[{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"}],"bin":{"mcp":"bin/mcp-server.js"},"dist":{"shasum":"ffd038da663c7656ebd1d228ba926fb714c10b57","tarball":"https://registry.npmjs.org/@aurora-interactive/synjana-custodial-api/-/synjana-custodial-api-0.0.1.tgz","fileCount":609,"integrity":"sha512-QnBSp1babn8jd+Wt8VZ9uANanNjpRzTnwZhuQG5UMoQlXepEwUzv7CsvuK/y+BTWYFZWbPX5iVXQqZ5AWfoA+A==","signatures":[{"sig":"MEUCICJ3GDhqKSu/q8XdqMKqyyS8TenexeBRovDtUDENJwXeAiEAqOcaAMkxLNJBg4q54ibunOOyZ0IZ2rg5lijVX5o8btM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4378312},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./models":"./src/models/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["synjana-custodial-api/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","synjana-custodial-api/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","synjana-custodial-api/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./models":{"import":{"types":"./dist/esm/models/index.d.ts","default":"./dist/esm/models/index.js","synjana-custodial-api/source":"./src/models/index.ts"},"require":{"types":"./dist/commonjs/models/index.d.ts","default":"./dist/commonjs/models/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","synjana-custodial-api/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","synjana-custodial-api/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"3ba2bb2ccc5f882cb29ef0f04f9c09252b121f7c","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"npm run build:mcp && tshy","build:mcp":"bun src/mcp-server/build.mts","prepublishOnly":"npm run build"},"_npmUser":{"name":"aurora-interactive-services","actor":{"name":"aurora-interactive-services","type":"user","email":"npmjs@mail.aurora-interactive.online"},"email":"npmjs@mail.aurora-interactive.online"},"_npmVersion":"10.8.1","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *synjana-custodial-api* API.","directories":{},"sideEffects":false,"_nodeVersion":"22.4.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun":"1.2.17","zod":"^3.25.17","tshy":"^2.0.0","eslint":"^9.19.0","express":"^4.21.2","globals":"^15.14.0","bun-types":"1.2.17","@eslint/js":"^9.19.0","typescript":"^5.4.5","@stricli/core":"^1.1.1","@types/express":"^4.17.21","typescript-eslint":"^8.22.0","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependencies":{"zod":">= 3","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/synjana-custodial-api_0.0.1_1751741509216_0.7342848400537967","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@aurora-interactive/synjana-custodial-api","version":"0.0.2","author":{"name":"Speakeasy"},"_id":"@aurora-interactive/synjana-custodial-api@0.0.2","maintainers":[{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"}],"bin":{"mcp":"bin/mcp-server.js"},"dist":{"shasum":"5641dd8fd82206ff275111699ff4c42df16e63a6","tarball":"https://registry.npmjs.org/@aurora-interactive/synjana-custodial-api/-/synjana-custodial-api-0.0.2.tgz","fileCount":755,"integrity":"sha512-5rN2F/CJW5a5E42/Qk+JpoNSC/a4i91WEJJVb5i5ZK4XDNIF9A4T35oJ2l+SZaflQCL4zGSFLqfcmylHsDtjiw==","signatures":[{"sig":"MEYCIQDwVGTQarmtlY/Eg1wAOoLDKwVJ9ABpwRQ6YVnRMYWWMQIhAOC3yhUfnDtAVDkjTq+X9FNTOZTwj7yHkNQlK8anK6Ek","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7138599},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./models":"./src/models/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["@aurora-interactive/synjana-custodial-api/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@aurora-interactive/synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@aurora-interactive/synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./models":{"import":{"types":"./dist/esm/models/index.d.ts","default":"./dist/esm/models/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/index.ts"},"require":{"types":"./dist/commonjs/models/index.d.ts","default":"./dist/commonjs/models/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"6ff15666c2e9be1a0ac44cc8114a7e94f55958b6","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"npm run build:mcp && tshy","build:mcp":"bun src/mcp-server/build.mts","prepublishOnly":"npm run build"},"_npmUser":{"name":"aurora-interactive-services","actor":{"name":"aurora-interactive-services","type":"user","email":"npmjs@mail.aurora-interactive.online"},"email":"npmjs@mail.aurora-interactive.online"},"_npmVersion":"10.8.1","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *synjana-custodial-api* API.","directories":{},"sideEffects":false,"_nodeVersion":"22.4.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun":"1.2.17","zod":"^3.25.17","tshy":"^2.0.0","eslint":"^9.19.0","express":"^4.21.2","globals":"^15.14.0","bun-types":"1.2.17","@eslint/js":"^9.19.0","typescript":"^5.4.5","@stricli/core":"^1.1.1","@types/express":"^4.17.21","typescript-eslint":"^8.22.0","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependencies":{"zod":">= 3","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/synjana-custodial-api_0.0.2_1751950720270_0.05166306577427737","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@aurora-interactive/synjana-custodial-api","version":"0.1.0","author":{"name":"Speakeasy"},"_id":"@aurora-interactive/synjana-custodial-api@0.1.0","maintainers":[{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"}],"bin":{"mcp":"bin/mcp-server.js"},"dist":{"shasum":"62df5a4eecf0a00c23f36d85992dc3856cc1716d","tarball":"https://registry.npmjs.org/@aurora-interactive/synjana-custodial-api/-/synjana-custodial-api-0.1.0.tgz","fileCount":866,"integrity":"sha512-lGNm5kN1ME6YrWkZHpGyHfMUUG+lVkJX+fTeO32SU/OKQSVmA2OWOtXINyBkyYBW8/Jd1DMkMUDN8TTni1H/dw==","signatures":[{"sig":"MEQCIHqh45XnWx860DVgdI8sA9NJVZogN5hzebTscrkol2eqAiABhktA11PKrBpLUUUaJ7WTQbpvnaESSIO7ASitCOgTxg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7364300},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./models":"./src/models/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["@aurora-interactive/synjana-custodial-api/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@aurora-interactive/synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@aurora-interactive/synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./models":{"import":{"types":"./dist/esm/models/index.d.ts","default":"./dist/esm/models/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/index.ts"},"require":{"types":"./dist/commonjs/models/index.d.ts","default":"./dist/commonjs/models/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"1c20f1b6275a3d48d7360c6f096913670a82a5bf","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"npm run build:mcp && tshy","build:mcp":"bun src/mcp-server/build.mts","prepublishOnly":"npm run build"},"_npmUser":{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"},"_npmVersion":"11.4.2","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *synjana-custodial-api* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun":"1.2.17","zod":"^3.25.17","tshy":"^2.0.0","eslint":"^9.19.0","express":"^4.21.2","globals":"^15.14.0","bun-types":"1.2.17","@eslint/js":"^9.19.0","typescript":"^5.4.5","@stricli/core":"^1.1.1","@types/express":"^4.17.21","typescript-eslint":"^8.22.0","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependencies":{"zod":"^3","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/synjana-custodial-api_0.1.0_1752365239627_0.4676510532863294","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aurora-interactive/synjana-custodial-api","version":"0.1.1","author":{"name":"Speakeasy"},"_id":"@aurora-interactive/synjana-custodial-api@0.1.1","maintainers":[{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"}],"bin":{"mcp":"bin/mcp-server.js"},"dist":{"shasum":"8e0b280da1d502e1f58a9428ad67c8460004965b","tarball":"https://registry.npmjs.org/@aurora-interactive/synjana-custodial-api/-/synjana-custodial-api-0.1.1.tgz","fileCount":902,"integrity":"sha512-qx5GDchhR8pvfnguHAU73uaIbJyFtfhWXExEIutRDna5P3ueyYccVvS1DbIuOvvuhVc0x/vLRRBaaH5LKFRseA==","signatures":[{"sig":"MEYCIQCoROlHLPj5K+7eAlHpjsn8ufo5KhxDWDWIioItqI6yxQIhAK595WEFPKrgUMsKVlMUnwit9Rkef4Rp4tvtNQ8ATcKb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7440240},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./models":"./src/models/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["@aurora-interactive/synjana-custodial-api/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@aurora-interactive/synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@aurora-interactive/synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./models":{"import":{"types":"./dist/esm/models/index.d.ts","default":"./dist/esm/models/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/index.ts"},"require":{"types":"./dist/commonjs/models/index.d.ts","default":"./dist/commonjs/models/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"1618539af5c3457ff27f46493227bc3c1e6d7b5a","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"npm run build:mcp && tshy","build:mcp":"bun src/mcp-server/build.mts","prepublishOnly":"npm run build"},"_npmUser":{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"},"_npmVersion":"11.4.2","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *synjana-custodial-api* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun":"1.2.17","zod":"^3.25.17","tshy":"^2.0.0","eslint":"^9.19.0","express":"^4.21.2","globals":"^15.14.0","bun-types":"1.2.17","@eslint/js":"^9.19.0","typescript":"^5.4.5","@stricli/core":"^1.1.1","@types/express":"^4.17.21","typescript-eslint":"^8.22.0","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependencies":{"zod":"^3","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/synjana-custodial-api_0.1.1_1752856118853_0.31659556596076377","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aurora-interactive/synjana-custodial-api","version":"0.1.2","author":{"name":"Speakeasy"},"_id":"@aurora-interactive/synjana-custodial-api@0.1.2","maintainers":[{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"}],"bin":{"mcp":"bin/mcp-server.js"},"dist":{"shasum":"a9440db9f19e233a1df3fc59cf602cb387d2cebd","tarball":"https://registry.npmjs.org/@aurora-interactive/synjana-custodial-api/-/synjana-custodial-api-0.1.2.tgz","fileCount":902,"integrity":"sha512-91P3n31TjaXqtO7COvNVc5kCljXq2LHu3BUf1QWNG1H2RA/k4qvWHQU1WoNccu+mmWFn3MbZuupL6B9w1Mm04A==","signatures":[{"sig":"MEUCIQCdhscE9Mco8NzC1bXeW+4DpIbAYYmAyJ/j1DMzElEBjQIgRXKZeQ1w0yzmvvvAKZjMNFbB98F7j4jfUINhL/ktiVA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7441446},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./models":"./src/models/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["@aurora-interactive/synjana-custodial-api/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@aurora-interactive/synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@aurora-interactive/synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./models":{"import":{"types":"./dist/esm/models/index.d.ts","default":"./dist/esm/models/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/index.ts"},"require":{"types":"./dist/commonjs/models/index.d.ts","default":"./dist/commonjs/models/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"02d831a5b624b736febb4c66e53368cdde382238","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"npm run build:mcp && tshy","build:mcp":"bun src/mcp-server/build.mts","prepublishOnly":"npm run build"},"_npmUser":{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"},"_npmVersion":"11.4.2","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *synjana-custodial-api* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun":"1.2.17","zod":"^3.25.17","tshy":"^2.0.0","eslint":"^9.19.0","express":"^4.21.2","globals":"^15.14.0","bun-types":"1.2.17","@eslint/js":"^9.19.0","typescript":"^5.4.5","@stricli/core":"^1.1.1","@types/express":"^4.17.21","typescript-eslint":"^8.22.0","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependencies":{"zod":"^3","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/synjana-custodial-api_0.1.2_1753069369096_0.3029322286628533","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@aurora-interactive/synjana-custodial-api","version":"0.1.3","author":{"name":"Speakeasy"},"_id":"@aurora-interactive/synjana-custodial-api@0.1.3","maintainers":[{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"}],"bin":{"mcp":"bin/mcp-server.js"},"dist":{"shasum":"385f604312c8728224025db91ad3534e160327de","tarball":"https://registry.npmjs.org/@aurora-interactive/synjana-custodial-api/-/synjana-custodial-api-0.1.3.tgz","fileCount":902,"integrity":"sha512-2lkk8J1u+1C8fM6V5GZ/qLx1utLzE3cd6ePgoHICiZCrfqHy82SF+wm/SDfAXsJEaM88AU+z8eAlmVm7FxD7cQ==","signatures":[{"sig":"MEQCIFPNs59Z55TfeUKwzEN9TfKeaYoG7Gy3Dt0DgfOYTrTqAiA7q/rgPor+LfKTI0l46Rsy2XZkh/HyA7019R7on5DnKA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7441359},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./*":"./src/*.ts","./*.js":"./src/*.ts","./types":"./src/types/index.ts","./models":"./src/models/index.ts","./package.json":"./package.json","./models/errors":"./src/models/errors/index.ts","./models/operations":"./src/models/operations/index.ts"},"sourceDialects":["@aurora-interactive/synjana-custodial-api/source"]},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/index.ts"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@aurora-interactive/synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@aurora-interactive/synjana-custodial-api/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/types/index.ts"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./models":{"import":{"types":"./dist/esm/models/index.d.ts","default":"./dist/esm/models/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/index.ts"},"require":{"types":"./dist/commonjs/models/index.d.ts","default":"./dist/commonjs/models/index.js"}},"./package.json":"./package.json","./models/errors":{"import":{"types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/errors/index.ts"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models/operations":{"import":{"types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js","@aurora-interactive/synjana-custodial-api/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"670de672f4266be159843cc9f364aa4f20e2a65e","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"npm run build:mcp && tshy","build:mcp":"bun src/mcp-server/build.mts","prepublishOnly":"npm run build"},"_npmUser":{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"},"_npmVersion":"11.4.2","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *synjana-custodial-api* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"zod":"^3.20.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"1.2.17","tshy":"^2.0.0","eslint":"^9.19.0","express":"^4.21.2","globals":"^15.14.0","bun-types":"1.2.17","@eslint/js":"^9.19.0","typescript":"~5.8.3","@stricli/core":"^1.1.1","@types/express":"^4.17.21","typescript-eslint":"^8.26.0","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/synjana-custodial-api_0.1.3_1754953047276_0.12158955332480215","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@aurora-interactive/synjana-custodial-api","version":"0.1.4","author":{"name":"Speakeasy"},"type":"module","bin":{"mcp":"bin/mcp-server.js"},"tshy":{"sourceDialects":["@aurora-interactive/synjana-custodial-api/source"],"exports":{".":"./src/index.ts","./package.json":"./package.json","./types":"./src/types/index.ts","./models/errors":"./src/models/errors/index.ts","./models":"./src/models/index.ts","./models/operations":"./src/models/operations/index.ts","./*.js":"./src/*.ts","./*":"./src/*.ts"}},"sideEffects":false,"scripts":{"lint":"eslint --cache --max-warnings=0 src","build:mcp":"bun src/mcp-server/build.mts","build":"npm run build:mcp && tshy","prepublishOnly":"npm run build"},"peerDependencies":{"@modelcontextprotocol/sdk":">=1.5.0 <1.10.0"},"peerDependenciesMeta":{"@modelcontextprotocol/sdk":{"optional":true}},"devDependencies":{"@eslint/js":"^9.19.0","@modelcontextprotocol/sdk":">=1.5.0 <1.10.0","@stricli/core":"^1.1.1","@types/express":"^4.17.21","bun":"1.2.17","bun-types":"1.2.17","eslint":"^9.19.0","express":"^4.21.2","globals":"^15.14.0","tshy":"^2.0.0","typescript":"~5.8.3","typescript-eslint":"^8.26.0"},"dependencies":{"zod":"^3.20.0"},"exports":{".":{"import":{"@aurora-interactive/synjana-custodial-api/source":"./src/index.ts","types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json","./types":{"import":{"@aurora-interactive/synjana-custodial-api/source":"./src/types/index.ts","types":"./dist/esm/types/index.d.ts","default":"./dist/esm/types/index.js"},"require":{"types":"./dist/commonjs/types/index.d.ts","default":"./dist/commonjs/types/index.js"}},"./models/errors":{"import":{"@aurora-interactive/synjana-custodial-api/source":"./src/models/errors/index.ts","types":"./dist/esm/models/errors/index.d.ts","default":"./dist/esm/models/errors/index.js"},"require":{"types":"./dist/commonjs/models/errors/index.d.ts","default":"./dist/commonjs/models/errors/index.js"}},"./models":{"import":{"@aurora-interactive/synjana-custodial-api/source":"./src/models/index.ts","types":"./dist/esm/models/index.d.ts","default":"./dist/esm/models/index.js"},"require":{"types":"./dist/commonjs/models/index.d.ts","default":"./dist/commonjs/models/index.js"}},"./models/operations":{"import":{"@aurora-interactive/synjana-custodial-api/source":"./src/models/operations/index.ts","types":"./dist/esm/models/operations/index.d.ts","default":"./dist/esm/models/operations/index.js"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}},"./*.js":{"import":{"@aurora-interactive/synjana-custodial-api/source":"./src/*.ts","types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*":{"import":{"@aurora-interactive/synjana-custodial-api/source":"./src/*.ts","types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}}},"main":"./dist/commonjs/index.js","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","_id":"@aurora-interactive/synjana-custodial-api@0.1.4","gitHead":"670de672f4266be159843cc9f364aa4f20e2a65e","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *synjana-custodial-api* API.","_nodeVersion":"24.3.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-7jqIkJROxz/TB5Jzm7YLIxSB9AXqV/NfVnSnjtHYVapgGhC2+zc0smWjtrYK5nkHMRanvAq91dFsXJTdEZ5Ldw==","shasum":"930af096899ddcc8ae8a6cc6c6df8ac271eb2924","tarball":"https://registry.npmjs.org/@aurora-interactive/synjana-custodial-api/-/synjana-custodial-api-0.1.4.tgz","fileCount":902,"unpackedSize":7441622,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIQC/ezQPrbd94jjsh+3zsVLz+abLTtmRVPmOGr6zu4XHygIfJ4NhzEbb9o8Y1eFRbum2qeQbEaXI/HFXNYrcyfBoQg=="}]},"_npmUser":{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"},"directories":{},"maintainers":[{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/synjana-custodial-api_0.1.4_1758306821521_0.36485772353782986"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-05T18:51:49.101Z","modified":"2025-09-19T18:33:42.008Z","0.0.1":"2025-07-05T18:51:49.444Z","0.0.2":"2025-07-08T04:58:40.552Z","0.1.0":"2025-07-13T00:07:19.858Z","0.1.1":"2025-07-18T16:28:39.086Z","0.1.2":"2025-07-21T03:42:49.343Z","0.1.3":"2025-08-11T22:57:27.514Z","0.1.4":"2025-09-19T18:33:41.812Z"},"author":{"name":"Speakeasy"},"description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *synjana-custodial-api* API.","maintainers":[{"name":"aurora-interactive-services","email":"npmjs@mail.aurora-interactive.online"}],"readme":"# synjana-custodial-api\n\nDeveloper-friendly & type-safe Typescript SDK specifically catered to leverage *synjana-custodial-api* API.\n\n<div align=\"left\">\n    <a href=\"https://www.speakeasy.com/?utm_source=synjana-custodial-api&utm_campaign=typescript\"><img src=\"https://custom-icon-badges.demolab.com/badge/-Built%20By%20Speakeasy-212015?style=for-the-badge&logoColor=FBE331&logo=speakeasy&labelColor=545454\" /></a>\n    <a href=\"https://opensource.org/licenses/MIT\">\n        <img src=\"https://img.shields.io/badge/License-MIT-blue.svg\" style=\"width: 100px; height: 28px;\" />\n    </a>\n</div>\n\n\n<br /><br />\n> [!IMPORTANT]\n> This SDK is not yet ready for production use. To complete setup please follow the steps outlined in your [workspace](https://app.speakeasy.com/org/aurora-interactive/aurora-interactive). Delete this section before > publishing to a package manager.\n\n<!-- Start Summary [summary] -->\n## Summary\n\nSynjana Synthetic Data Generator Custodial REST API: API that manages users, authentication, dataset download, AI data generation job queueing, etc.\n<!-- End Summary [summary] -->\n\n<!-- Start Table of Contents [toc] -->\n## Table of Contents\n<!-- $toc-max-depth=2 -->\n* [synjana-custodial-api](#synjana-custodial-api)\n  * [SDK Installation](#sdk-installation)\n  * [Requirements](#requirements)\n  * [SDK Example Usage](#sdk-example-usage)\n  * [Available Resources and Operations](#available-resources-and-operations)\n  * [Standalone functions](#standalone-functions)\n  * [Retries](#retries)\n  * [Error Handling](#error-handling)\n  * [Server Selection](#server-selection)\n  * [Custom HTTP Client](#custom-http-client)\n  * [Debugging](#debugging)\n* [Development](#development)\n  * [Maturity](#maturity)\n  * [Contributions](#contributions)\n\n<!-- End Table of Contents [toc] -->\n\n<!-- Start SDK Installation [installation] -->\n## SDK Installation\n\n> [!TIP]\n> To finish publishing your SDK to npm and others you must [run your first generation action](https://www.speakeasy.com/docs/github-setup#step-by-step-guide).\n\n\nThe SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers.\n\n### NPM\n\n```bash\nnpm add <UNSET>\n```\n\n### PNPM\n\n```bash\npnpm add <UNSET>\n```\n\n### Bun\n\n```bash\nbun add <UNSET>\n```\n\n### Yarn\n\n```bash\nyarn add <UNSET> zod\n\n# Note that Yarn does not install peer dependencies automatically. You will need\n# to install zod as shown above.\n```\n\n> [!NOTE]\n> This package is published with CommonJS and ES Modules (ESM) support.\n\n\n### Model Context Protocol (MCP) Server\n\nThis SDK is also an installable MCP server where the various SDK methods are\nexposed as tools that can be invoked by AI applications.\n\n> Node.js v20 or greater is required to run the MCP server from npm.\n\n<details>\n<summary>Claude installation steps</summary>\n\nAdd the following server definition to your `claude_desktop_config.json` file:\n\n```json\n{\n  \"mcpServers\": {\n    \"SynjanaCustodialApi\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\", \"--package\", \"@aurora-interactive/synjana-custodial-api\",\n        \"--\",\n        \"mcp\", \"start\"\n      ]\n    }\n  }\n}\n```\n\n</details>\n\n<details>\n<summary>Cursor installation steps</summary>\n\nCreate a `.cursor/mcp.json` file in your project root with the following content:\n\n```json\n{\n  \"mcpServers\": {\n    \"SynjanaCustodialApi\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\", \"--package\", \"@aurora-interactive/synjana-custodial-api\",\n        \"--\",\n        \"mcp\", \"start\"\n      ]\n    }\n  }\n}\n```\n\n</details>\n\nYou can also run MCP servers as a standalone binary with no additional dependencies. You must pull these binaries from available Github releases:\n\n```bash\ncurl -L -o mcp-server \\\n    https://github.com/{org}/{repo}/releases/download/{tag}/mcp-server-bun-darwin-arm64 && \\\nchmod +x mcp-server\n```\n\nIf the repo is a private repo you must add your Github PAT to download a release `-H \"Authorization: Bearer {GITHUB_PAT}\"`.\n\n\n```json\n{\n  \"mcpServers\": {\n    \"Todos\": {\n      \"command\": \"./DOWNLOAD/PATH/mcp-server\",\n      \"args\": [\n        \"start\"\n      ]\n    }\n  }\n}\n```\n\nFor a full list of server arguments, run:\n\n```sh\nnpx -y --package @aurora-interactive/synjana-custodial-api -- mcp start --help\n```\n<!-- End SDK Installation [installation] -->\n\n<!-- Start Requirements [requirements] -->\n## Requirements\n\nFor supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).\n<!-- End Requirements [requirements] -->\n\n<!-- Start SDK Example Usage [usage] -->\n## SDK Example Usage\n\n### Example\n\n```typescript\nimport { SynjanaCustodialApi } from \"@aurora-interactive/synjana-custodial-api\";\n\nconst synjanaCustodialApi = new SynjanaCustodialApi();\n\nasync function run() {\n  const result = await synjanaCustodialApi.datasets.datasetsHistory();\n\n  console.log(result);\n}\n\nrun();\n\n```\n<!-- End SDK Example Usage [usage] -->\n\n<!-- Start Available Resources and Operations [operations] -->\n## Available Resources and Operations\n\n<details open>\n<summary>Available methods</summary>\n\n### [datasets](docs/sdks/datasets/README.md)\n\n* [datasetsHistory](docs/sdks/datasets/README.md#datasetshistory)\n* [datasetsDownload](docs/sdks/datasets/README.md#datasetsdownload)\n\n### [logging](docs/sdks/logging/README.md)\n\n* [loggingRecent](docs/sdks/logging/README.md#loggingrecent)\n\n\n### [users](docs/sdks/users/README.md)\n\n* [usersLogin](docs/sdks/users/README.md#userslogin)\n* [usersInfo](docs/sdks/users/README.md#usersinfo)\n* [usersRegister](docs/sdks/users/README.md#usersregister)\n\n</details>\n<!-- End Available Resources and Operations [operations] -->\n\n<!-- Start Standalone functions [standalone-funcs] -->\n## Standalone functions\n\nAll the methods listed above are available as standalone functions. These\nfunctions are ideal for use in applications running in the browser, serverless\nruntimes or other environments where application bundle size is a primary\nconcern. When using a bundler to build your application, all unused\nfunctionality will be either excluded from the final bundle or tree-shaken away.\n\nTo read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).\n\n<details>\n\n<summary>Available standalone functions</summary>\n\n- [`datasetsDatasetsDownload`](docs/sdks/datasets/README.md#datasetsdownload)\n- [`datasetsDatasetsHistory`](docs/sdks/datasets/README.md#datasetshistory)\n- [`loggingLoggingRecent`](docs/sdks/logging/README.md#loggingrecent)\n- [`usersUsersInfo`](docs/sdks/users/README.md#usersinfo)\n- [`usersUsersLogin`](docs/sdks/users/README.md#userslogin)\n- [`usersUsersRegister`](docs/sdks/users/README.md#usersregister)\n\n</details>\n<!-- End Standalone functions [standalone-funcs] -->\n\n<!-- Start Retries [retries] -->\n## Retries\n\nSome of the endpoints in this SDK support retries.  If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API.  However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.\n\nTo change the default retry strategy for a single API call, simply provide a retryConfig object to the call:\n```typescript\nimport { SynjanaCustodialApi } from \"@aurora-interactive/synjana-custodial-api\";\n\nconst synjanaCustodialApi = new SynjanaCustodialApi();\n\nasync function run() {\n  const result = await synjanaCustodialApi.datasets.datasetsHistory({\n    retries: {\n      strategy: \"backoff\",\n      backoff: {\n        initialInterval: 1,\n        maxInterval: 50,\n        exponent: 1.1,\n        maxElapsedTime: 100,\n      },\n      retryConnectionErrors: false,\n    },\n  });\n\n  console.log(result);\n}\n\nrun();\n\n```\n\nIf you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:\n```typescript\nimport { SynjanaCustodialApi } from \"@aurora-interactive/synjana-custodial-api\";\n\nconst synjanaCustodialApi = new SynjanaCustodialApi({\n  retryConfig: {\n    strategy: \"backoff\",\n    backoff: {\n      initialInterval: 1,\n      maxInterval: 50,\n      exponent: 1.1,\n      maxElapsedTime: 100,\n    },\n    retryConnectionErrors: false,\n  },\n});\n\nasync function run() {\n  const result = await synjanaCustodialApi.datasets.datasetsHistory();\n\n  console.log(result);\n}\n\nrun();\n\n```\n<!-- End Retries [retries] -->\n\n<!-- Start Error Handling [errors] -->\n## Error Handling\n\n[`SynjanaCustodialAPIError`](./src/models/errors/synjanacustodialapierror.ts) is the base class for all HTTP error responses. It has the following properties:\n\n| Property            | Type       | Description                                                                             |\n| ------------------- | ---------- | --------------------------------------------------------------------------------------- |\n| `error.message`     | `string`   | Error message                                                                           |\n| `error.statusCode`  | `number`   | HTTP response status code eg `404`                                                      |\n| `error.headers`     | `Headers`  | HTTP response headers                                                                   |\n| `error.body`        | `string`   | HTTP body. Can be empty string if no body is returned.                                  |\n| `error.rawResponse` | `Response` | Raw HTTP response                                                                       |\n| `error.data$`       |            | Optional. Some errors may contain structured data. [See Error Classes](#error-classes). |\n\n### Example\n```typescript\nimport { SynjanaCustodialApi } from \"@aurora-interactive/synjana-custodial-api\";\nimport * as errors from \"@aurora-interactive/synjana-custodial-api/models/errors\";\n\nconst synjanaCustodialApi = new SynjanaCustodialApi();\n\nasync function run() {\n  try {\n    const result = await synjanaCustodialApi.datasets.datasetsHistory();\n\n    console.log(result);\n  } catch (error) {\n    // The base class for HTTP error responses\n    if (error instanceof errors.SynjanaCustodialAPIError) {\n      console.log(error.message);\n      console.log(error.statusCode);\n      console.log(error.body);\n      console.log(error.headers);\n\n      // Depending on the method different errors may be thrown\n      if (error instanceof errors.HttpValidationProblemDetailsError) {\n        console.log(error.data$.type); // string\n        console.log(error.data$.title); // string\n        console.log(error.data$.status); // number\n        console.log(error.data$.detail); // string\n        console.log(error.data$.instance); // string\n      }\n    }\n  }\n}\n\nrun();\n\n```\n\n### Error Classes\n**Primary errors:**\n* [`SynjanaCustodialAPIError`](./src/models/errors/synjanacustodialapierror.ts): The base class for HTTP error responses.\n  * [`HttpValidationProblemDetailsError`](./src/models/errors/httpvalidationproblemdetailserror.ts): Bad Request. Status code `400`. *\n\n<details><summary>Less common errors (7)</summary>\n\n<br />\n\n**Network errors:**\n* [`ConnectionError`](./src/models/errors/httpclienterrors.ts): HTTP client was unable to make a request to a server.\n* [`RequestTimeoutError`](./src/models/errors/httpclienterrors.ts): HTTP request timed out due to an AbortSignal signal.\n* [`RequestAbortedError`](./src/models/errors/httpclienterrors.ts): HTTP request was aborted by the client.\n* [`InvalidRequestError`](./src/models/errors/httpclienterrors.ts): Any input used to create a request is invalid.\n* [`UnexpectedClientError`](./src/models/errors/httpclienterrors.ts): Unrecognised or unexpected error.\n\n\n**Inherit from [`SynjanaCustodialAPIError`](./src/models/errors/synjanacustodialapierror.ts)**:\n* [`ApiError`](./src/models/errors/apierror.ts): Bad Request. Status code `400`. Applicable to 1 of 6 methods.*\n* [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.\n\n</details>\n\n\\* Check [the method documentation](#available-resources-and-operations) to see if the error is applicable.\n<!-- End Error Handling [errors] -->\n\n<!-- Start Server Selection [server] -->\n## Server Selection\n\n### Override Server URL Per-Client\n\nThe default server can be overridden globally by passing a URL to the `serverURL: string` optional parameter when initializing the SDK client instance. For example:\n```typescript\nimport { SynjanaCustodialApi } from \"@aurora-interactive/synjana-custodial-api\";\n\nconst synjanaCustodialApi = new SynjanaCustodialApi({\n  serverURL: \"https://rest-api.syndatajana-backend.online\",\n});\n\nasync function run() {\n  const result = await synjanaCustodialApi.datasets.datasetsHistory();\n\n  console.log(result);\n}\n\nrun();\n\n```\n<!-- End Server Selection [server] -->\n\n<!-- Start Custom HTTP Client [http-client] -->\n## Custom HTTP Client\n\nThe TypeScript SDK makes API calls using an `HTTPClient` that wraps the native\n[Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). This\nclient is a thin wrapper around `fetch` and provides the ability to attach hooks\naround the request lifecycle that can be used to modify the request or handle\nerrors and response.\n\nThe `HTTPClient` constructor takes an optional `fetcher` argument that can be\nused to integrate a third-party HTTP client or when writing tests to mock out\nthe HTTP client and feed in fixtures.\n\nThe following example shows how to use the `\"beforeRequest\"` hook to to add a\ncustom header and a timeout to requests and how to use the `\"requestError\"` hook\nto log errors:\n\n```typescript\nimport { SynjanaCustodialApi } from \"@aurora-interactive/synjana-custodial-api\";\nimport { HTTPClient } from \"@aurora-interactive/synjana-custodial-api/lib/http\";\n\nconst httpClient = new HTTPClient({\n  // fetcher takes a function that has the same signature as native `fetch`.\n  fetcher: (request) => {\n    return fetch(request);\n  }\n});\n\nhttpClient.addHook(\"beforeRequest\", (request) => {\n  const nextRequest = new Request(request, {\n    signal: request.signal || AbortSignal.timeout(5000)\n  });\n\n  nextRequest.headers.set(\"x-custom-header\", \"custom value\");\n\n  return nextRequest;\n});\n\nhttpClient.addHook(\"requestError\", (error, request) => {\n  console.group(\"Request Error\");\n  console.log(\"Reason:\", `${error}`);\n  console.log(\"Endpoint:\", `${request.method} ${request.url}`);\n  console.groupEnd();\n});\n\nconst sdk = new SynjanaCustodialApi({ httpClient });\n```\n<!-- End Custom HTTP Client [http-client] -->\n\n<!-- Start Debugging [debug] -->\n## Debugging\n\nYou can setup your SDK to emit debug logs for SDK requests and responses.\n\nYou can pass a logger that matches `console`'s interface as an SDK option.\n\n> [!WARNING]\n> Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.\n\n```typescript\nimport { SynjanaCustodialApi } from \"@aurora-interactive/synjana-custodial-api\";\n\nconst sdk = new SynjanaCustodialApi({ debugLogger: console });\n```\n\nYou can also enable a default debug logger by setting an environment variable `SYNJANACUSTODIALAPI_DEBUG` to true.\n<!-- End Debugging [debug] -->\n\n<!-- Placeholder for Future Speakeasy SDK Sections -->\n\n# Development\n\n## Maturity\n\nThis SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage\nto a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally\nlooking for the latest version.\n\n## Contributions\n\nWhile we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation. \nWe look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release. \n\n### SDK Created by [Speakeasy](https://www.speakeasy.com/?utm_source=synjana-custodial-api&utm_campaign=typescript)\n","readmeFilename":"README.md"}