{"_id":"@destinedai/voice","_rev":"7-d5d3a007987c8b99e26b0169ddd24c79","name":"@destinedai/voice","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@destinedai/voice","version":"0.1.0","author":{"name":"Destined AI"},"_id":"@destinedai/voice@0.1.0","maintainers":[{"name":"destined-ai-labs","email":"info@destined.ai"}],"dist":{"shasum":"8377bb0cca23d91256ebe086d2aab843deb2d08c","tarball":"https://registry.npmjs.org/@destinedai/voice/-/voice-0.1.0.tgz","fileCount":2080,"integrity":"sha512-UoI6zfBlXEnkpkX7BjdtPWdtUi3NTMYkMbCWbSRLFbCSKxsKjvu7mUWFhfLZlpGCrfGlUX2TKlZ7uYsTiXqB7w==","signatures":[{"sig":"MEYCIQCnvF8LOzaI5fW1G6rYKFiURWbyBk1OkRSyOThVkde9egIhANr0e1LFXAT1fSBLAhg2OujVOWKSJBEyh+ShwmX81WVC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3587707},"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":["@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"51bcccc11dee2b03ebadc19b8897bfecb7ef13a5","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"_npmUser":{"name":"destined-ai-labs","email":"info@destined.ai"},"_npmVersion":"10.8.2","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *openapi* API.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.25.65 || ^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^2.0.0","eslint":"^9.19.0","globals":"^15.14.0","@eslint/js":"^9.19.0","typescript":"~5.8.3","typescript-eslint":"^8.26.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/voice_0.1.0_1765335699559_0.13638667848005315","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@destinedai/voice","version":"0.1.1","author":{"name":"Destined AI"},"_id":"@destinedai/voice@0.1.1","maintainers":[{"name":"destined-ai-labs","email":"info@destined.ai"}],"dist":{"shasum":"a479082a7956be2df102a84711600dcc1b7770ef","tarball":"https://registry.npmjs.org/@destinedai/voice/-/voice-0.1.1.tgz","fileCount":2242,"integrity":"sha512-wckKl4jfZe6fRF4C7YH3IPVgVCyuPlhkZj4JoZJgzJWIUD9hJH4fq5cgsTRVQ5YXVIzqE9d3qC47R+Q7gMSj/A==","signatures":[{"sig":"MEYCIQDKP+DPpVDtjLPPKHgXILtkpkbSUlfKGWIZ/4kFnvP1vwIhALYVjwTyG4UAyqycrErQepnSPTFyYfWz8toOc1xRPAui","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3870333},"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":["@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"2400a83ff9ecba39c9794088aca721c894b5e4c2","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6f0425f3-fe56-41d8-8dde-e24182de66b4"}},"_npmVersion":"11.6.2","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *openapi* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.25.65 || ^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^2.0.0","eslint":"^9.19.0","globals":"^15.14.0","@eslint/js":"^9.19.0","typescript":"~5.8.3","typescript-eslint":"^8.26.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/voice_0.1.1_1765385392873_0.7135748048908095","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@destinedai/voice","version":"0.1.2","author":{"name":"Destined AI"},"_id":"@destinedai/voice@0.1.2","maintainers":[{"name":"destined-ai-labs","email":"info@destined.ai"}],"dist":{"shasum":"d229f81f6a6b075c66864eaa6027e5076e4a9645","tarball":"https://registry.npmjs.org/@destinedai/voice/-/voice-0.1.2.tgz","fileCount":2242,"integrity":"sha512-mdv3gecgQ2UfuI9z0k6GgNljt6WEKIAN5uXAtoUExA7zwyBXIX/00SzDbfhGio+G5d3FigMVEvd+Yryi6E6FVA==","signatures":[{"sig":"MEQCIH4Syr5If0mCICaUZzKfqam9y52clGNXZkFTWOG4Q6tKAiBYw7suWmjOPbfBUMS0wGFfS0XAW5yp8O2YqQBPG7YmKg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3872522},"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":["@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"d434694a444c573b0e51eb5f06568d0e729fd44b","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6f0425f3-fe56-41d8-8dde-e24182de66b4"}},"_npmVersion":"11.6.2","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *openapi* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.25.65 || ^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^2.0.0","eslint":"^9.19.0","globals":"^15.14.0","@eslint/js":"^9.19.0","typescript":"~5.8.3","typescript-eslint":"^8.26.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/voice_0.1.2_1765386868370_0.5480788999347252","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@destinedai/voice","version":"0.1.3","author":{"name":"Destined AI"},"_id":"@destinedai/voice@0.1.3","maintainers":[{"name":"destined-ai-labs","email":"info@destined.ai"}],"dist":{"shasum":"cb91973a724396ec45b8c99e370dd35d043f4fed","tarball":"https://registry.npmjs.org/@destinedai/voice/-/voice-0.1.3.tgz","fileCount":2278,"integrity":"sha512-BAW533KbLihyrCE+Y4njjfhcpNGARHj5nAOHNb2i/yb2KHyalSj/Uy3TUL+OcXXsZwj8UDY9x1b6o3bhHS/60g==","signatures":[{"sig":"MEUCIQCn/erQTmZJd2v2+6YuV31ufgUD/uopTb5YhVC82HUK5AIgTF5x5P1hGaYondc9pFAZfMeJcFsYmAm65k/foJwMU6I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3928698},"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":["@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"023275a8cc54e40693f61d815af8fa5b4df23986","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6f0425f3-fe56-41d8-8dde-e24182de66b4"}},"_npmVersion":"11.6.2","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *openapi* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.25.65 || ^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^2.0.0","eslint":"^9.19.0","globals":"^15.14.0","@eslint/js":"^9.19.0","typescript":"~5.8.3","typescript-eslint":"^8.26.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/voice_0.1.3_1765460584000_0.5266009777741674","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@destinedai/voice","version":"0.1.4","author":{"name":"Destined AI"},"_id":"@destinedai/voice@0.1.4","maintainers":[{"name":"destined-ai-labs","email":"info@destined.ai"}],"dist":{"shasum":"174ecbef7ad4d40df5b9a84f91739b373ae43872","tarball":"https://registry.npmjs.org/@destinedai/voice/-/voice-0.1.4.tgz","fileCount":2278,"integrity":"sha512-P+3ntuCQ1wTu0IgwQH1Nr7hokYyBgbFbFASVXl9Y5qSod+GFnio8osDvs/BEKtvfUXWkiDOUwGMf8es5fXwSnQ==","signatures":[{"sig":"MEUCIGscTGRzyEG2geDrQw2vZjoDN6R41xYhRSv2jRdWyVvSAiEA7zRMnKfIp9cvhvhTYu+nbCK2/D40Rw1Hv27N9BKcv4w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3928913},"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":["@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/source":"./src/*.ts"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*.js":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/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","@destinedai/voice/source":"./src/models/operations/index.ts"},"require":{"types":"./dist/commonjs/models/operations/index.d.ts","default":"./dist/commonjs/models/operations/index.js"}}},"gitHead":"98edc033ecceb29bed64d519b0985719f1e813e5","scripts":{"lint":"eslint --cache --max-warnings=0 src","build":"tshy","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6f0425f3-fe56-41d8-8dde-e24182de66b4"}},"_npmVersion":"11.6.2","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *openapi* API.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.25.65 || ^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^2.0.0","eslint":"^9.19.0","globals":"^15.14.0","@eslint/js":"^9.19.0","typescript":"~5.8.3","typescript-eslint":"^8.26.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/voice_0.1.4_1765462294311_0.4315261009075728","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@destinedai/voice","version":"0.1.5","author":{"name":"Destined AI"},"type":"module","tshy":{"sourceDialects":["@destinedai/voice/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":"tshy","prepublishOnly":"npm run build"},"peerDependencies":{},"devDependencies":{"@eslint/js":"^9.19.0","eslint":"^9.19.0","globals":"^15.14.0","tshy":"^2.0.0","typescript":"~5.8.3","typescript-eslint":"^8.26.0"},"dependencies":{"zod":"^3.25.65 || ^4.0.0"},"exports":{".":{"import":{"@destinedai/voice/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":{"@destinedai/voice/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":{"@destinedai/voice/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":{"@destinedai/voice/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":{"@destinedai/voice/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":{"@destinedai/voice/source":"./src/*.ts","types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js"},"require":{"types":"./dist/commonjs/*.d.ts","default":"./dist/commonjs/*.js"}},"./*":{"import":{"@destinedai/voice/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","gitHead":"ceab4b895a511bee3cbf69a526df99106f682c9e","_id":"@destinedai/voice@0.1.5","description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *openapi* API.","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-nAT7clFBeohbtXjDZ7zX0ddgyGDb5KnBZjuZz3oPs5uXMXgBC5PkN0sqV3YblFgALQyMHkYPw4bMXprZyU9DkA==","shasum":"121170cf8dbfff4524eae5045556fc33c9cc8977","tarball":"https://registry.npmjs.org/@destinedai/voice/-/voice-0.1.5.tgz","fileCount":3151,"unpackedSize":5516181,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEIGhKWdE14Ew/SWLP0pF3wiZiRBBOow60r7VfXkp4fyAiEAyVvu9zJRwlZb4+QzYMX4OIfUykqf6Iyvr1+Bmw4hmf0="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6f0425f3-fe56-41d8-8dde-e24182de66b4"}},"directories":{},"maintainers":[{"name":"destined-ai-labs","email":"info@destined.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/voice_0.1.5_1765849524880_0.21593920501099206"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-10T03:01:39.558Z","modified":"2025-12-16T01:45:25.391Z","0.1.0":"2025-12-10T03:01:39.759Z","0.1.1":"2025-12-10T16:49:53.093Z","0.1.2":"2025-12-10T17:14:28.590Z","0.1.3":"2025-12-11T13:43:04.197Z","0.1.4":"2025-12-11T14:11:34.572Z","0.1.5":"2025-12-16T01:45:25.181Z"},"author":{"name":"Destined AI"},"description":"Developer-friendly & type-safe Typescript SDK specifically catered to leverage *openapi* API.","maintainers":[{"name":"destined-ai-labs","email":"info@destined.ai"}],"readme":"# openapi\n\nDeveloper-friendly & type-safe Typescript SDK specifically catered to leverage *openapi* API.\n\n[![Built by Speakeasy](https://img.shields.io/badge/Built_by-SPEAKEASY-374151?style=for-the-badge&labelColor=f3f4f6)](https://www.speakeasy.com/?utm_source=openapi&utm_campaign=typescript)\n[![License: MIT](https://img.shields.io/badge/LICENSE_//_MIT-3b5bdb?style=for-the-badge&labelColor=eff6ff)](https://opensource.org/licenses/MIT)\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/destined-ai/voice). Delete this section before > publishing to a package manager.\n\n<!-- Start Summary [summary] -->\n## Summary\n\nDestined Voice API: \n# Destined Voice API\n\nHigh-quality Text-to-Speech (TTS) API with diverse speaker voices and Speech-to-Text (STT) evaluation capabilities.\n\n## Features\n\n- **2,400+ Consented Speakers**: Diverse demographics including gender, age, region, and accent\n- **Voice Cloning**: Generate speech in any speaker's voice\n- **Batch Processing**: Generate audio for multiple speakers asynchronously\n- **STT Testing**: Evaluate 9 STT providers (Deepgram, AssemblyAI, OpenAI, Google, Azure, Amazon, Soniox, Play.ht)\n- **Accuracy Metrics**: WER/CER calculation with demographic bias analysis\n- **Dataset Import**: Upload CSV files for bulk TTS generation and dialog synthesis\n\n## Authentication\n\nAll endpoints except `/health`, `/v1/speakers`, and `/v1/stt/calculate-accuracy` require a Bearer token.\nUse Clerk for authentication - include the JWT in the `Authorization` header.\n\n```\nAuthorization: Bearer <clerk_jwt_token>\n```\n\n## Pricing Tiers\n\n| Feature | Starter | Pro | Enterprise |\n|---------|---------|-----|------------|\n| **Price** | $100/month | $500/month | $5,000/month |\n| Evals/month | 1 | Unlimited | Unlimited |\n| Characters (synthesis) | 1,000 | 100,000 | 1,000,000 |\n| Real voices | 500 | 5,000 | 10,000+ |\n| Custom voices | Unlimited | Unlimited | Unlimited |\n| Dataset download | Add-on | Add-on | Included |\n| Realtime listening | Add-on | Included | Included |\n| SOC-2/HIPAA | Add-on | Add-on | Included |\n\n## SDKs\n\n- [TypeScript/JavaScript SDK](https://www.npmjs.com/package/@destined-ai/voice)\n\n## Support\n\n- Documentation: https://docs.destined.ai\n- Email: support@destined.ai\n<!-- End Summary [summary] -->\n\n<!-- Start Table of Contents [toc] -->\n## Table of Contents\n<!-- $toc-max-depth=2 -->\n* [openapi](#openapi)\n* [Destined Voice API](#destined-voice-api)\n  * [Features](#features)\n  * [Authentication](#authentication)\n  * [Pricing Tiers](#pricing-tiers)\n  * [SDKs](#sdks)\n  * [Support](#support)\n  * [SDK Installation](#sdk-installation)\n  * [Requirements](#requirements)\n  * [SDK Example Usage](#sdk-example-usage)\n  * [Authentication](#authentication-1)\n  * [Available Resources and Operations](#available-resources-and-operations)\n  * [Standalone functions](#standalone-functions)\n  * [File uploads](#file-uploads)\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>\n```\n\n> [!NOTE]\n> This package is published with CommonJS and ES Modules (ESM) support.\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 { SDK } from \"@destinedai/voice\";\n\nconst sdk = new SDK({\n  httpBearer: \"<YOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n  const result = await sdk.health.healthCheckHealthGet();\n\n  console.log(result);\n}\n\nrun();\n\n```\n<!-- End SDK Example Usage [usage] -->\n\n<!-- Start Authentication [security] -->\n## Authentication\n\n### Per-Client Security Schemes\n\nThis SDK supports the following security scheme globally:\n\n| Name         | Type | Scheme      |\n| ------------ | ---- | ----------- |\n| `httpBearer` | http | HTTP Bearer |\n\nTo authenticate with the API the `httpBearer` parameter must be set when initializing the SDK client instance. For example:\n```typescript\nimport { SDK } from \"@destinedai/voice\";\n\nconst sdk = new SDK({\n  httpBearer: \"<YOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n  const result = await sdk.health.healthCheckHealthGet();\n\n  console.log(result);\n}\n\nrun();\n\n```\n<!-- End Authentication [security] -->\n\n<!-- Start Available Resources and Operations [operations] -->\n## Available Resources and Operations\n\n<details open>\n<summary>Available methods</summary>\n\n### [Billing](docs/sdks/billing/README.md)\n\n* [createPortalSessionV1BillingCreatePortalSessionPost](docs/sdks/billing/README.md#createportalsessionv1billingcreateportalsessionpost) - Create Stripe customer portal session\n* [getAvailableTiersV1BillingTiersGet](docs/sdks/billing/README.md#getavailabletiersv1billingtiersget) - Get available subscription tiers\n* [createCheckoutSessionV1BillingCreateCheckoutSessionPost](docs/sdks/billing/README.md#createcheckoutsessionv1billingcreatecheckoutsessionpost) - Create Stripe checkout session\n\n### [CustomVoiceTTS](docs/sdks/customvoicetts/README.md)\n\n* [getCustomVoiceEmotionsV1TtsCustomVoiceEmotionsGet](docs/sdks/customvoicetts/README.md#getcustomvoiceemotionsv1ttscustomvoiceemotionsget) - List supported emotion tags\n* [generateCustomVoiceTtsV1TtsCustomVoiceGeneratePost](docs/sdks/customvoicetts/README.md#generatecustomvoicettsv1ttscustomvoicegeneratepost) - Generate TTS with custom voice design\n\n### [Datasets](docs/sdks/datasets/README.md)\n\n* [listDatasetsV1DatasetsGet](docs/sdks/datasets/README.md#listdatasetsv1datasetsget) - List user's datasets\n* [uploadDatasetV1DatasetsPost](docs/sdks/datasets/README.md#uploaddatasetv1datasetspost) - Upload CSV dataset\n* [getUploadUrlV1DatasetsUploadUrlPost](docs/sdks/datasets/README.md#getuploadurlv1datasetsuploadurlpost) - Get presigned URL for large CSV upload\n* [validateDatasetV1DatasetsDatasetIdValidatePost](docs/sdks/datasets/README.md#validatedatasetv1datasetsdatasetidvalidatepost) - Validate and parse uploaded dataset\n* [getDatasetV1DatasetsDatasetIdGet](docs/sdks/datasets/README.md#getdatasetv1datasetsdatasetidget) - Get dataset details\n* [deleteDatasetV1DatasetsDatasetIdDelete](docs/sdks/datasets/README.md#deletedatasetv1datasetsdatasetiddelete) - Delete dataset\n* [assignSpeakersV1DatasetsDatasetIdAssignSpeakersPost](docs/sdks/datasets/README.md#assignspeakersv1datasetsdatasetidassignspeakerspost) - Assign speakers to dataset roles\n* [previewScriptV1DatasetsDatasetIdScriptsScriptIdGet](docs/sdks/datasets/README.md#previewscriptv1datasetsdatasetidscriptsscriptidget) - Preview dialog script\n* [generateFromDatasetV1DatasetsDatasetIdGeneratePost](docs/sdks/datasets/README.md#generatefromdatasetv1datasetsdatasetidgeneratepost) - Generate TTS from dataset\n* [generateSingleDialogV1DatasetsDatasetIdGenerateDialogPost](docs/sdks/datasets/README.md#generatesingledialogv1datasetsdatasetidgeneratedialogpost) - Generate single dialog (quick test)\n* [getDatasetJobStatusV1DatasetsJobsJobIdGet](docs/sdks/datasets/README.md#getdatasetjobstatusv1datasetsjobsjobidget) - Get dataset job status\n* [getDatasetJobResultsV1DatasetsJobsJobIdResultsGet](docs/sdks/datasets/README.md#getdatasetjobresultsv1datasetsjobsjobidresultsget) - Get dataset job results\n\n### [Demo](docs/sdks/demo/README.md)\n\n* [getDemoVoicesV1DemoVoicesGet](docs/sdks/demo/README.md#getdemovoicesv1demovoicesget) - Get available demo voices\n* [getRealVoicesV1DemoRealVoicesGet](docs/sdks/demo/README.md#getrealvoicesv1demorealvoicesget) - Get real speaker voices\n* [getRealVoiceSampleV1DemoRealVoiceSpeakerUidSampleGet](docs/sdks/demo/README.md#getrealvoicesamplev1demorealvoicespeakeruidsampleget) - Get real voice sample audio URL\n* [streamRealVoiceSampleV1DemoRealVoiceSpeakerUidAudioGet](docs/sdks/demo/README.md#streamrealvoicesamplev1demorealvoicespeakeruidaudioget) - Redirect to real voice sample audio\n* [checkRateLimitStatusV1DemoRateLimitGet](docs/sdks/demo/README.md#checkratelimitstatusv1demoratelimitget) - Check demo rate limit status\n* [generateDemoTtsV1DemoTtsPost](docs/sdks/demo/README.md#generatedemottsv1demottspost) - Generate demo TTS audio (custom voice)\n* [streamDemoTtsV1DemoTtsStreamPost](docs/sdks/demo/README.md#streamdemottsv1demottsstreampost) - Stream demo TTS audio (custom voice)\n* [submitDemoFeedbackV1DemoFeedbackPost](docs/sdks/demo/README.md#submitdemofeedbackv1demofeedbackpost) - Submit feedback on demo TTS generation\n\n### [Dialogs](docs/sdks/dialogs/README.md)\n\n* [listDialogsV1DialogsGet](docs/sdks/dialogs/README.md#listdialogsv1dialogsget) - List dialog sessions\n* [createDialogV1DialogsPost](docs/sdks/dialogs/README.md#createdialogv1dialogspost) - Create real-time dialog session\n* [createDialogFromDatasetV1DialogsFromDatasetPost](docs/sdks/dialogs/README.md#createdialogfromdatasetv1dialogsfromdatasetpost) - Create dialog from dataset script\n* [getDialogStatusV1DialogsDialogIdGet](docs/sdks/dialogs/README.md#getdialogstatusv1dialogsdialogidget) - Get dialog session status\n* [cancelDialogV1DialogsDialogIdDelete](docs/sdks/dialogs/README.md#canceldialogv1dialogsdialogiddelete) - Cancel dialog session\n\n### [Environments](docs/sdks/environments/README.md)\n\n* [listEnvironmentsV1EnvironmentsGet](docs/sdks/environments/README.md#listenvironmentsv1environmentsget) - List environments\n* [createEnvironmentV1EnvironmentsPost](docs/sdks/environments/README.md#createenvironmentv1environmentspost) - Create environment\n* [resetEnvironmentV1EnvironmentsEnvironmentIdResetPost](docs/sdks/environments/README.md#resetenvironmentv1environmentsenvironmentidresetpost) - Reset environment\n* [stepEnvironmentV1EnvironmentsEnvironmentIdStepPost](docs/sdks/environments/README.md#stepenvironmentv1environmentsenvironmentidsteppost) - Take a step\n* [closeEnvironmentV1EnvironmentsEnvironmentIdClosePost](docs/sdks/environments/README.md#closeenvironmentv1environmentsenvironmentidclosepost) - Close environment\n* [getEnvironmentV1EnvironmentsEnvironmentIdGet](docs/sdks/environments/README.md#getenvironmentv1environmentsenvironmentidget) - Get environment\n* [getCurrentEpisodeV1EnvironmentsEnvironmentIdEpisodeGet](docs/sdks/environments/README.md#getcurrentepisodev1environmentsenvironmentidepisodeget) - Get current episode\n* [getEpisodeV1EpisodesEpisodeIdGet](docs/sdks/environments/README.md#getepisodev1episodesepisodeidget) - Get episode\n* [closeEnvironmentsBatchV1EnvironmentsBatchClosePost](docs/sdks/environments/README.md#closeenvironmentsbatchv1environmentsbatchclosepost) - Close multiple environments\n* [quickStartEnvironmentV1EnvironmentsQuickStartPost](docs/sdks/environments/README.md#quickstartenvironmentv1environmentsquickstartpost) - Quick start environment\n\n### [Evaluations](docs/sdks/evaluations/README.md)\n\n* [listEvaluationsV1EvaluationsGet](docs/sdks/evaluations/README.md#listevaluationsv1evaluationsget) - List evaluations\n* [createEvaluationV1EvaluationsPost](docs/sdks/evaluations/README.md#createevaluationv1evaluationspost) - Create evaluation run\n* [getEvaluationV1EvaluationsEvaluationIdGet](docs/sdks/evaluations/README.md#getevaluationv1evaluationsevaluationidget) - Get evaluation\n* [deleteEvaluationV1EvaluationsEvaluationIdDelete](docs/sdks/evaluations/README.md#deleteevaluationv1evaluationsevaluationiddelete) - Delete evaluation\n* [getEvaluationResultsV1EvaluationsEvaluationIdResultsGet](docs/sdks/evaluations/README.md#getevaluationresultsv1evaluationsevaluationidresultsget) - Get evaluation results\n* [getEvaluationRewardsV1EvaluationsEvaluationIdRewardsGet](docs/sdks/evaluations/README.md#getevaluationrewardsv1evaluationsevaluationidrewardsget) - Get episode rewards\n* [getEvaluationBiasV1EvaluationsEvaluationIdBiasGet](docs/sdks/evaluations/README.md#getevaluationbiasv1evaluationsevaluationidbiasget) - Get bias analysis\n* [cancelEvaluationV1EvaluationsEvaluationIdCancelPost](docs/sdks/evaluations/README.md#cancelevaluationv1evaluationsevaluationidcancelpost) - Cancel evaluation\n* [compareEvaluationsV1EvaluationsComparePost](docs/sdks/evaluations/README.md#compareevaluationsv1evaluationscomparepost) - Compare evaluations\n* [getEpisodeRewardV1EpisodesEpisodeIdRewardGet](docs/sdks/evaluations/README.md#getepisoderewardv1episodesepisodeidrewardget) - Get episode reward\n\n### [Health](docs/sdks/health/README.md)\n\n* [healthCheckHealthGet](docs/sdks/health/README.md#healthcheckhealthget) - Health Check\n* [rootGet](docs/sdks/health/README.md#rootget) - Root\n\n### [InternalSpeakers](docs/sdks/internalspeakers/README.md)\n\n* [getSpeakerManifestInternalSpeakersUidManifestGet](docs/sdks/internalspeakers/README.md#getspeakermanifestinternalspeakersuidmanifestget) - Get Speaker Manifest\n* [getReferenceClipsInternalSpeakersUidReferenceClipsGet](docs/sdks/internalspeakers/README.md#getreferenceclipsinternalspeakersuidreferenceclipsget) - Get Reference Clips\n\n### [Jobs](docs/sdks/jobs/README.md)\n\n* [getJobStatusV1JobsJobIdGet](docs/sdks/jobs/README.md#getjobstatusv1jobsjobidget) - Get job status\n* [listUserJobsV1JobsGet](docs/sdks/jobs/README.md#listuserjobsv1jobsget) - List user jobs\n* [cancelJobV1JobsJobIdCancelPost](docs/sdks/jobs/README.md#canceljobv1jobsjobidcancelpost) - Cancel job\n\n### [Scenarios](docs/sdks/scenarios/README.md)\n\n* [listScenariosV1ScenariosGet](docs/sdks/scenarios/README.md#listscenariosv1scenariosget) - List scenarios\n* [createScenarioV1ScenariosPost](docs/sdks/scenarios/README.md#createscenariov1scenariospost) - Create scenario\n* [createModerationScenarioV1ScenariosModerationPost](docs/sdks/scenarios/README.md#createmoderationscenariov1scenariosmoderationpost) - Create moderation scenario\n* [getScenarioV1ScenariosScenarioIdGet](docs/sdks/scenarios/README.md#getscenariov1scenariosscenarioidget) - Get scenario\n* [deleteScenarioV1ScenariosScenarioIdDelete](docs/sdks/scenarios/README.md#deletescenariov1scenariosscenarioiddelete) - Delete scenario\n* [updateScenarioV1ScenariosScenarioIdPatch](docs/sdks/scenarios/README.md#updatescenariov1scenariosscenarioidpatch) - Update scenario\n* [getScenarioVersionsV1ScenariosScenarioIdVersionsGet](docs/sdks/scenarios/README.md#getscenarioversionsv1scenariosscenarioidversionsget) - Get scenario versions\n* [listSystemScenariosV1ScenariosSystemListGet](docs/sdks/scenarios/README.md#listsystemscenariosv1scenariossystemlistget) - List system scenarios\n* [cloneScenarioV1ScenariosScenarioIdClonePost](docs/sdks/scenarios/README.md#clonescenariov1scenariosscenarioidclonepost) - Clone scenario\n\n### [Speakers](docs/sdks/speakers/README.md)\n\n* [listSpeakersV1SpeakersGet](docs/sdks/speakers/README.md#listspeakersv1speakersget) - List Speakers\n* [getSpeakerV1SpeakersUidGet](docs/sdks/speakers/README.md#getspeakerv1speakersuidget) - Get Speaker\n* [getFilterOptionsV1SpeakersFiltersOptionsGet](docs/sdks/speakers/README.md#getfilteroptionsv1speakersfiltersoptionsget) - Get Filter Options\n\n### [STTTesting](docs/sdks/stttesting/README.md)\n\n* [listSttProvidersV1SttProvidersGet](docs/sdks/stttesting/README.md#liststtprovidersv1sttprovidersget) - List available STT providers\n* [testSingleSttV1SttTestPost](docs/sdks/stttesting/README.md#testsinglesttv1stttestpost) - Test single audio with STT provider\n* [createBatchSttTestV1SttTestBatchPost](docs/sdks/stttesting/README.md#createbatchstttestv1stttestbatchpost) - Create batch STT test job\n* [listSttJobsV1SttJobsGet](docs/sdks/stttesting/README.md#liststtjobsv1sttjobsget) - List STT jobs\n* [getSttJobStatusV1SttJobsJobIdGet](docs/sdks/stttesting/README.md#getsttjobstatusv1sttjobsjobidget) - Get STT job status\n* [getSttJobResultsV1SttJobsJobIdResultsGet](docs/sdks/stttesting/README.md#getsttjobresultsv1sttjobsjobidresultsget) - Get STT job results\n* [getSttBiasAnalysisV1SttJobsJobIdBiasGet](docs/sdks/stttesting/README.md#getsttbiasanalysisv1sttjobsjobidbiasget) - Get bias analysis for STT job\n* [compareSttProvidersV1SttJobsJobIdCompareGet](docs/sdks/stttesting/README.md#comparesttprovidersv1sttjobsjobidcompareget) - Compare STT providers\n* [calculateTextAccuracyV1SttCalculateAccuracyPost](docs/sdks/stttesting/README.md#calculatetextaccuracyv1sttcalculateaccuracypost) - Calculate WER/CER between two texts\n\n### [TTSGeneration](docs/sdks/ttsgeneration/README.md)\n\n* [generateSingleTtsV1TtsGeneratePost](docs/sdks/ttsgeneration/README.md#generatesinglettsv1ttsgeneratepost) - Generate TTS audio (single voice)\n* [generateBatchTtsV1TtsGenerateBatchPost](docs/sdks/ttsgeneration/README.md#generatebatchttsv1ttsgeneratebatchpost) - Generate TTS audio (batch)\n* [getCustomVoiceEmotionsV1TtsCustomVoiceEmotionsGet](docs/sdks/ttsgeneration/README.md#getcustomvoiceemotionsv1ttscustomvoiceemotionsget) - List supported emotion tags\n* [generateCustomVoiceTtsV1TtsCustomVoiceGeneratePost](docs/sdks/ttsgeneration/README.md#generatecustomvoicettsv1ttscustomvoicegeneratepost) - Generate TTS with custom voice design\n\n### [Users](docs/sdks/users/README.md)\n\n* [getCurrentUserInfoV1UsersMeGet](docs/sdks/users/README.md#getcurrentuserinfov1usersmeget) - Get current user\n* [getUserUsageStatsV1UsersMeUsageGet](docs/sdks/users/README.md#getuserusagestatsv1usersmeusageget) - Get user usage statistics\n\n### [Webhooks](docs/sdks/webhooks/README.md)\n\n* [clerkWebhookV1WebhooksClerkPost](docs/sdks/webhooks/README.md#clerkwebhookv1webhooksclerkpost) - Clerk webhook handler\n* [stripeWebhookV1WebhooksStripePost](docs/sdks/webhooks/README.md#stripewebhookv1webhooksstripepost) - Stripe webhook handler\n\n### [Workers](docs/sdks/workers/README.md)\n\n* [processBatchWebhookApiV1WorkersProcessBatchPost](docs/sdks/workers/README.md#processbatchwebhookapiv1workersprocessbatchpost) - QStash webhook for batch TTS processing\n* [triggerBatchManuallyApiV1WorkersTriggerBatchJobIdPost](docs/sdks/workers/README.md#triggerbatchmanuallyapiv1workerstriggerbatchjobidpost) - Manually trigger batch processing (testing only)\n* [processSttBatchWebhookApiV1WorkersProcessSttBatchPost](docs/sdks/workers/README.md#processsttbatchwebhookapiv1workersprocesssttbatchpost) - QStash webhook for batch STT processing\n* [triggerSttBatchManuallyApiV1WorkersTriggerSttBatchJobIdPost](docs/sdks/workers/README.md#triggersttbatchmanuallyapiv1workerstriggersttbatchjobidpost) - Manually trigger STT batch processing (testing only)\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- [`billingCreateCheckoutSessionV1BillingCreateCheckoutSessionPost`](docs/sdks/billing/README.md#createcheckoutsessionv1billingcreatecheckoutsessionpost) - Create Stripe checkout session\n- [`billingCreatePortalSessionV1BillingCreatePortalSessionPost`](docs/sdks/billing/README.md#createportalsessionv1billingcreateportalsessionpost) - Create Stripe customer portal session\n- [`billingGetAvailableTiersV1BillingTiersGet`](docs/sdks/billing/README.md#getavailabletiersv1billingtiersget) - Get available subscription tiers\n- [`datasetsAssignSpeakersV1DatasetsDatasetIdAssignSpeakersPost`](docs/sdks/datasets/README.md#assignspeakersv1datasetsdatasetidassignspeakerspost) - Assign speakers to dataset roles\n- [`datasetsDeleteDatasetV1DatasetsDatasetIdDelete`](docs/sdks/datasets/README.md#deletedatasetv1datasetsdatasetiddelete) - Delete dataset\n- [`datasetsGenerateFromDatasetV1DatasetsDatasetIdGeneratePost`](docs/sdks/datasets/README.md#generatefromdatasetv1datasetsdatasetidgeneratepost) - Generate TTS from dataset\n- [`datasetsGenerateSingleDialogV1DatasetsDatasetIdGenerateDialogPost`](docs/sdks/datasets/README.md#generatesingledialogv1datasetsdatasetidgeneratedialogpost) - Generate single dialog (quick test)\n- [`datasetsGetDatasetJobResultsV1DatasetsJobsJobIdResultsGet`](docs/sdks/datasets/README.md#getdatasetjobresultsv1datasetsjobsjobidresultsget) - Get dataset job results\n- [`datasetsGetDatasetJobStatusV1DatasetsJobsJobIdGet`](docs/sdks/datasets/README.md#getdatasetjobstatusv1datasetsjobsjobidget) - Get dataset job status\n- [`datasetsGetDatasetV1DatasetsDatasetIdGet`](docs/sdks/datasets/README.md#getdatasetv1datasetsdatasetidget) - Get dataset details\n- [`datasetsGetUploadUrlV1DatasetsUploadUrlPost`](docs/sdks/datasets/README.md#getuploadurlv1datasetsuploadurlpost) - Get presigned URL for large CSV upload\n- [`datasetsListDatasetsV1DatasetsGet`](docs/sdks/datasets/README.md#listdatasetsv1datasetsget) - List user's datasets\n- [`datasetsPreviewScriptV1DatasetsDatasetIdScriptsScriptIdGet`](docs/sdks/datasets/README.md#previewscriptv1datasetsdatasetidscriptsscriptidget) - Preview dialog script\n- [`datasetsUploadDatasetV1DatasetsPost`](docs/sdks/datasets/README.md#uploaddatasetv1datasetspost) - Upload CSV dataset\n- [`datasetsValidateDatasetV1DatasetsDatasetIdValidatePost`](docs/sdks/datasets/README.md#validatedatasetv1datasetsdatasetidvalidatepost) - Validate and parse uploaded dataset\n- [`demoCheckRateLimitStatusV1DemoRateLimitGet`](docs/sdks/demo/README.md#checkratelimitstatusv1demoratelimitget) - Check demo rate limit status\n- [`demoGenerateDemoTtsV1DemoTtsPost`](docs/sdks/demo/README.md#generatedemottsv1demottspost) - Generate demo TTS audio (custom voice)\n- [`demoGetDemoVoicesV1DemoVoicesGet`](docs/sdks/demo/README.md#getdemovoicesv1demovoicesget) - Get available demo voices\n- [`demoGetRealVoiceSampleV1DemoRealVoiceSpeakerUidSampleGet`](docs/sdks/demo/README.md#getrealvoicesamplev1demorealvoicespeakeruidsampleget) - Get real voice sample audio URL\n- [`demoGetRealVoicesV1DemoRealVoicesGet`](docs/sdks/demo/README.md#getrealvoicesv1demorealvoicesget) - Get real speaker voices\n- [`demoStreamDemoTtsV1DemoTtsStreamPost`](docs/sdks/demo/README.md#streamdemottsv1demottsstreampost) - Stream demo TTS audio (custom voice)\n- [`demoStreamRealVoiceSampleV1DemoRealVoiceSpeakerUidAudioGet`](docs/sdks/demo/README.md#streamrealvoicesamplev1demorealvoicespeakeruidaudioget) - Redirect to real voice sample audio\n- [`demoSubmitDemoFeedbackV1DemoFeedbackPost`](docs/sdks/demo/README.md#submitdemofeedbackv1demofeedbackpost) - Submit feedback on demo TTS generation\n- [`dialogsCancelDialogV1DialogsDialogIdDelete`](docs/sdks/dialogs/README.md#canceldialogv1dialogsdialogiddelete) - Cancel dialog session\n- [`dialogsCreateDialogFromDatasetV1DialogsFromDatasetPost`](docs/sdks/dialogs/README.md#createdialogfromdatasetv1dialogsfromdatasetpost) - Create dialog from dataset script\n- [`dialogsCreateDialogV1DialogsPost`](docs/sdks/dialogs/README.md#createdialogv1dialogspost) - Create real-time dialog session\n- [`dialogsGetDialogStatusV1DialogsDialogIdGet`](docs/sdks/dialogs/README.md#getdialogstatusv1dialogsdialogidget) - Get dialog session status\n- [`dialogsListDialogsV1DialogsGet`](docs/sdks/dialogs/README.md#listdialogsv1dialogsget) - List dialog sessions\n- [`environmentsCloseEnvironmentsBatchV1EnvironmentsBatchClosePost`](docs/sdks/environments/README.md#closeenvironmentsbatchv1environmentsbatchclosepost) - Close multiple environments\n- [`environmentsCloseEnvironmentV1EnvironmentsEnvironmentIdClosePost`](docs/sdks/environments/README.md#closeenvironmentv1environmentsenvironmentidclosepost) - Close environment\n- [`environmentsCreateEnvironmentV1EnvironmentsPost`](docs/sdks/environments/README.md#createenvironmentv1environmentspost) - Create environment\n- [`environmentsGetCurrentEpisodeV1EnvironmentsEnvironmentIdEpisodeGet`](docs/sdks/environments/README.md#getcurrentepisodev1environmentsenvironmentidepisodeget) - Get current episode\n- [`environmentsGetEnvironmentV1EnvironmentsEnvironmentIdGet`](docs/sdks/environments/README.md#getenvironmentv1environmentsenvironmentidget) - Get environment\n- [`environmentsGetEpisodeV1EpisodesEpisodeIdGet`](docs/sdks/environments/README.md#getepisodev1episodesepisodeidget) - Get episode\n- [`environmentsListEnvironmentsV1EnvironmentsGet`](docs/sdks/environments/README.md#listenvironmentsv1environmentsget) - List environments\n- [`environmentsQuickStartEnvironmentV1EnvironmentsQuickStartPost`](docs/sdks/environments/README.md#quickstartenvironmentv1environmentsquickstartpost) - Quick start environment\n- [`environmentsResetEnvironmentV1EnvironmentsEnvironmentIdResetPost`](docs/sdks/environments/README.md#resetenvironmentv1environmentsenvironmentidresetpost) - Reset environment\n- [`environmentsStepEnvironmentV1EnvironmentsEnvironmentIdStepPost`](docs/sdks/environments/README.md#stepenvironmentv1environmentsenvironmentidsteppost) - Take a step\n- [`evaluationsCancelEvaluationV1EvaluationsEvaluationIdCancelPost`](docs/sdks/evaluations/README.md#cancelevaluationv1evaluationsevaluationidcancelpost) - Cancel evaluation\n- [`evaluationsCompareEvaluationsV1EvaluationsComparePost`](docs/sdks/evaluations/README.md#compareevaluationsv1evaluationscomparepost) - Compare evaluations\n- [`evaluationsCreateEvaluationV1EvaluationsPost`](docs/sdks/evaluations/README.md#createevaluationv1evaluationspost) - Create evaluation run\n- [`evaluationsDeleteEvaluationV1EvaluationsEvaluationIdDelete`](docs/sdks/evaluations/README.md#deleteevaluationv1evaluationsevaluationiddelete) - Delete evaluation\n- [`evaluationsGetEpisodeRewardV1EpisodesEpisodeIdRewardGet`](docs/sdks/evaluations/README.md#getepisoderewardv1episodesepisodeidrewardget) - Get episode reward\n- [`evaluationsGetEvaluationBiasV1EvaluationsEvaluationIdBiasGet`](docs/sdks/evaluations/README.md#getevaluationbiasv1evaluationsevaluationidbiasget) - Get bias analysis\n- [`evaluationsGetEvaluationResultsV1EvaluationsEvaluationIdResultsGet`](docs/sdks/evaluations/README.md#getevaluationresultsv1evaluationsevaluationidresultsget) - Get evaluation results\n- [`evaluationsGetEvaluationRewardsV1EvaluationsEvaluationIdRewardsGet`](docs/sdks/evaluations/README.md#getevaluationrewardsv1evaluationsevaluationidrewardsget) - Get episode rewards\n- [`evaluationsGetEvaluationV1EvaluationsEvaluationIdGet`](docs/sdks/evaluations/README.md#getevaluationv1evaluationsevaluationidget) - Get evaluation\n- [`evaluationsListEvaluationsV1EvaluationsGet`](docs/sdks/evaluations/README.md#listevaluationsv1evaluationsget) - List evaluations\n- [`healthHealthCheckHealthGet`](docs/sdks/health/README.md#healthcheckhealthget) - Health Check\n- [`healthRootGet`](docs/sdks/health/README.md#rootget) - Root\n- [`internalSpeakersGetReferenceClipsInternalSpeakersUidReferenceClipsGet`](docs/sdks/internalspeakers/README.md#getreferenceclipsinternalspeakersuidreferenceclipsget) - Get Reference Clips\n- [`internalSpeakersGetSpeakerManifestInternalSpeakersUidManifestGet`](docs/sdks/internalspeakers/README.md#getspeakermanifestinternalspeakersuidmanifestget) - Get Speaker Manifest\n- [`jobsCancelJobV1JobsJobIdCancelPost`](docs/sdks/jobs/README.md#canceljobv1jobsjobidcancelpost) - Cancel job\n- [`jobsGetJobStatusV1JobsJobIdGet`](docs/sdks/jobs/README.md#getjobstatusv1jobsjobidget) - Get job status\n- [`jobsListUserJobsV1JobsGet`](docs/sdks/jobs/README.md#listuserjobsv1jobsget) - List user jobs\n- [`scenariosCloneScenarioV1ScenariosScenarioIdClonePost`](docs/sdks/scenarios/README.md#clonescenariov1scenariosscenarioidclonepost) - Clone scenario\n- [`scenariosCreateModerationScenarioV1ScenariosModerationPost`](docs/sdks/scenarios/README.md#createmoderationscenariov1scenariosmoderationpost) - Create moderation scenario\n- [`scenariosCreateScenarioV1ScenariosPost`](docs/sdks/scenarios/README.md#createscenariov1scenariospost) - Create scenario\n- [`scenariosDeleteScenarioV1ScenariosScenarioIdDelete`](docs/sdks/scenarios/README.md#deletescenariov1scenariosscenarioiddelete) - Delete scenario\n- [`scenariosGetScenarioV1ScenariosScenarioIdGet`](docs/sdks/scenarios/README.md#getscenariov1scenariosscenarioidget) - Get scenario\n- [`scenariosGetScenarioVersionsV1ScenariosScenarioIdVersionsGet`](docs/sdks/scenarios/README.md#getscenarioversionsv1scenariosscenarioidversionsget) - Get scenario versions\n- [`scenariosListScenariosV1ScenariosGet`](docs/sdks/scenarios/README.md#listscenariosv1scenariosget) - List scenarios\n- [`scenariosListSystemScenariosV1ScenariosSystemListGet`](docs/sdks/scenarios/README.md#listsystemscenariosv1scenariossystemlistget) - List system scenarios\n- [`scenariosUpdateScenarioV1ScenariosScenarioIdPatch`](docs/sdks/scenarios/README.md#updatescenariov1scenariosscenarioidpatch) - Update scenario\n- [`speakersGetFilterOptionsV1SpeakersFiltersOptionsGet`](docs/sdks/speakers/README.md#getfilteroptionsv1speakersfiltersoptionsget) - Get Filter Options\n- [`speakersGetSpeakerV1SpeakersUidGet`](docs/sdks/speakers/README.md#getspeakerv1speakersuidget) - Get Speaker\n- [`speakersListSpeakersV1SpeakersGet`](docs/sdks/speakers/README.md#listspeakersv1speakersget) - List Speakers\n- [`sttTestingCalculateTextAccuracyV1STTCalculateAccuracyPost`](docs/sdks/stttesting/README.md#calculatetextaccuracyv1sttcalculateaccuracypost) - Calculate WER/CER between two texts\n- [`sttTestingCompareSTTProvidersV1STTJobsJobIdCompareGet`](docs/sdks/stttesting/README.md#comparesttprovidersv1sttjobsjobidcompareget) - Compare STT providers\n- [`sttTestingCreateBatchSTTTestV1STTTestBatchPost`](docs/sdks/stttesting/README.md#createbatchstttestv1stttestbatchpost) - Create batch STT test job\n- [`sttTestingGetSTTBiasAnalysisV1STTJobsJobIdBiasGet`](docs/sdks/stttesting/README.md#getsttbiasanalysisv1sttjobsjobidbiasget) - Get bias analysis for STT job\n- [`sttTestingGetSTTJobResultsV1STTJobsJobIdResultsGet`](docs/sdks/stttesting/README.md#getsttjobresultsv1sttjobsjobidresultsget) - Get STT job results\n- [`sttTestingGetSTTJobStatusV1STTJobsJobIdGet`](docs/sdks/stttesting/README.md#getsttjobstatusv1sttjobsjobidget) - Get STT job status\n- [`sttTestingListSTTJobsV1STTJobsGet`](docs/sdks/stttesting/README.md#liststtjobsv1sttjobsget) - List STT jobs\n- [`sttTestingListSTTProvidersV1STTProvidersGet`](docs/sdks/stttesting/README.md#liststtprovidersv1sttprovidersget) - List available STT providers\n- [`sttTestingTestSingleSTTV1STTTestPost`](docs/sdks/stttesting/README.md#testsinglesttv1stttestpost) - Test single audio with STT provider\n- [`ttsGenerationGenerateBatchTTSV1TTSGenerateBatchPost`](docs/sdks/ttsgeneration/README.md#generatebatchttsv1ttsgeneratebatchpost) - Generate TTS audio (batch)\n- [`ttsGenerationGenerateCustomVoiceTTSV1TTSCustomVoiceGeneratePost`](docs/sdks/customvoicetts/README.md#generatecustomvoicettsv1ttscustomvoicegeneratepost) - Generate TTS with custom voice design\n- [`ttsGenerationGenerateCustomVoiceTTSV1TTSCustomVoiceGeneratePost`](docs/sdks/ttsgeneration/README.md#generatecustomvoicettsv1ttscustomvoicegeneratepost) - Generate TTS with custom voice design\n- [`ttsGenerationGenerateSingleTTSV1TTSGeneratePost`](docs/sdks/ttsgeneration/README.md#generatesinglettsv1ttsgeneratepost) - Generate TTS audio (single voice)\n- [`ttsGenerationGetCustomVoiceEmotionsV1TTSCustomVoiceEmotionsGet`](docs/sdks/customvoicetts/README.md#getcustomvoiceemotionsv1ttscustomvoiceemotionsget) - List supported emotion tags\n- [`ttsGenerationGetCustomVoiceEmotionsV1TTSCustomVoiceEmotionsGet`](docs/sdks/ttsgeneration/README.md#getcustomvoiceemotionsv1ttscustomvoiceemotionsget) - List supported emotion tags\n- [`usersGetCurrentUserInfoV1UsersMeGet`](docs/sdks/users/README.md#getcurrentuserinfov1usersmeget) - Get current user\n- [`usersGetUserUsageStatsV1UsersMeUsageGet`](docs/sdks/users/README.md#getuserusagestatsv1usersmeusageget) - Get user usage statistics\n- [`webhooksClerkWebhookV1WebhooksClerkPost`](docs/sdks/webhooks/README.md#clerkwebhookv1webhooksclerkpost) - Clerk webhook handler\n- [`webhooksStripeWebhookV1WebhooksStripePost`](docs/sdks/webhooks/README.md#stripewebhookv1webhooksstripepost) - Stripe webhook handler\n- [`workersProcessBatchWebhookApiV1WorkersProcessBatchPost`](docs/sdks/workers/README.md#processbatchwebhookapiv1workersprocessbatchpost) - QStash webhook for batch TTS processing\n- [`workersProcessSttBatchWebhookApiV1WorkersProcessSttBatchPost`](docs/sdks/workers/README.md#processsttbatchwebhookapiv1workersprocesssttbatchpost) - QStash webhook for batch STT processing\n- [`workersTriggerBatchManuallyApiV1WorkersTriggerBatchJobIdPost`](docs/sdks/workers/README.md#triggerbatchmanuallyapiv1workerstriggerbatchjobidpost) - Manually trigger batch processing (testing only)\n- [`workersTriggerSttBatchManuallyApiV1WorkersTriggerSttBatchJobIdPost`](docs/sdks/workers/README.md#triggersttbatchmanuallyapiv1workerstriggersttbatchjobidpost) - Manually trigger STT batch processing (testing only)\n\n</details>\n<!-- End Standalone functions [standalone-funcs] -->\n\n<!-- Start File uploads [file-upload] -->\n## File uploads\n\nCertain SDK methods accept files as part of a multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.\n\n> [!TIP]\n>\n> Depending on your JavaScript runtime, there are convenient utilities that return a handle to a file without reading the entire contents into memory:\n>\n> - **Node.js v20+:** Since v20, Node.js comes with a native `openAsBlob` function in [`node:fs`](https://nodejs.org/docs/latest-v20.x/api/fs.html#fsopenasblobpath-options).\n> - **Bun:** The native [`Bun.file`](https://bun.sh/docs/api/file-io#reading-files-bun-file) function produces a file handle that can be used for streaming file uploads.\n> - **Browsers:** All supported browsers return an instance to a [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File) when reading the value from an `<input type=\"file\">` element.\n> - **Node.js v18:** A file stream can be created using the `fileFrom` helper from [`fetch-blob/from.js`](https://www.npmjs.com/package/fetch-blob).\n\n```typescript\nimport { SDK } from \"@destinedai/voice\";\nimport { openAsBlob } from \"node:fs\";\n\nconst sdk = new SDK({\n  httpBearer: \"<YOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n  const result = await sdk.datasets.uploadDatasetV1DatasetsPost({\n    file: await openAsBlob(\"example.file\"),\n    name: \"<value>\",\n  });\n\n  console.log(result);\n}\n\nrun();\n\n```\n<!-- End File uploads [file-upload] -->\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 { SDK } from \"@destinedai/voice\";\n\nconst sdk = new SDK({\n  httpBearer: \"<YOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n  const result = await sdk.health.healthCheckHealthGet({\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 { SDK } from \"@destinedai/voice\";\n\nconst sdk = new SDK({\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  httpBearer: \"<YOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n  const result = await sdk.health.healthCheckHealthGet();\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[`SDKError`](./src/models/errors/sdkerror.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 { SDK } from \"@destinedai/voice\";\nimport * as errors from \"@destinedai/voice/models/errors\";\n\nconst sdk = new SDK({\n  httpBearer: \"<YOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n  try {\n    const result = await sdk.speakers.listSpeakersV1SpeakersGet({});\n\n    console.log(result);\n  } catch (error) {\n    // The base class for HTTP error responses\n    if (error instanceof errors.SDKError) {\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.HTTPValidationError) {\n        console.log(error.data$.detail); // ValidationError[]\n      }\n    }\n  }\n}\n\nrun();\n\n```\n\n### Error Classes\n**Primary errors:**\n* [`SDKError`](./src/models/errors/sdkerror.ts): The base class for HTTP error responses.\n  * [`HTTPValidationError`](./src/models/errors/httpvalidationerror.ts): Validation Error. Status code `422`. *\n\n<details><summary>Less common errors (6)</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 [`SDKError`](./src/models/errors/sdkerror.ts)**:\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### Select Server by Index\n\nYou can override the default server globally by passing a server index to the `serverIdx: number` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:\n\n| #   | Server                    | Description       |\n| --- | ------------------------- | ----------------- |\n| 0   | `https://api.destined.ai` | Production        |\n| 1   | `http://localhost:8000`   | Local Development |\n\n#### Example\n\n```typescript\nimport { SDK } from \"@destinedai/voice\";\n\nconst sdk = new SDK({\n  serverIdx: 0,\n  httpBearer: \"<YOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n  const result = await sdk.health.healthCheckHealthGet();\n\n  console.log(result);\n}\n\nrun();\n\n```\n\n### Override Server URL Per-Client\n\nThe default server can also be overridden globally by passing a URL to the `serverURL: string` optional parameter when initializing the SDK client instance. For example:\n```typescript\nimport { SDK } from \"@destinedai/voice\";\n\nconst sdk = new SDK({\n  serverURL: \"http://localhost:8000\",\n  httpBearer: \"<YOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n  const result = await sdk.health.healthCheckHealthGet();\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 { SDK } from \"@destinedai/voice\";\nimport { HTTPClient } from \"@destinedai/voice/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 SDK({ httpClient: 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 { SDK } from \"@destinedai/voice\";\n\nconst sdk = new SDK({ debugLogger: console });\n```\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=openapi&utm_campaign=typescript)\n","readmeFilename":"README.md"}