{"_id":"@aismarttalk/aismarttalk-sdk","_rev":"11-671cde69b88bddb03d2660b2fe4e1349","name":"@aismarttalk/aismarttalk-sdk","dist-tags":{"latest":"1.4.1"},"versions":{"1.0.0":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.0.0","keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","_id":"@aismarttalk/aismarttalk-sdk@1.0.0","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"dist":{"shasum":"2e9a84f0b2ed98bc533b20759f0ba9f573f149d7","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.0.0.tgz","fileCount":25,"integrity":"sha512-SWzG3rIWe1zgIXbrvFvx/6Hy7yhaMm5SKaTMtHNqQL/1PYpD1jHYKResfji2l5kNp1pwJm2t2YVBsKGfNF6mfg==","signatures":[{"sig":"MEUCIEnkNYVwMth5GdRJS9x/Pu66HP8rYoBUKKpVE0NchKMiAiEAqR82Uuqnpu9jr6t0n2n/2VoA7SNqUBVI2szM4E2dJtU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32884},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"5b57910743b656a5f253119a496e212ba2d765c0","scripts":{"test":"jest","build":"tsc","test:integration":"jest test/integration.test.ts --detectOpenHandles"},"_npmUser":{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"},"_npmVersion":"11.3.0","description":"SDK for AiSmartTalk API","directories":{},"_nodeVersion":"23.5.0","dependencies":{"axios":"^1.6.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aismarttalk-sdk_1.0.0_1748081540204_0.5510039611629203","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.0.1","keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","_id":"@aismarttalk/aismarttalk-sdk@1.0.1","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"dist":{"shasum":"0ed171164173444f47796d20df3ec7bc5756ffa4","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.0.1.tgz","fileCount":27,"integrity":"sha512-BkTnbfqtamxvO/OfWpC5LnGOizOQgrGUTGjLT9rC4LgMg1tybNi/j/21GFYkUtaC1tu4PrkX6rwbT7FHLZbkdw==","signatures":[{"sig":"MEUCIDbJpy8t3YCGxEIE2MANA+xG6ozUZx5MyDwD+Cr+i7knAiEA48cu7xkjwZ5M8R2k3zUURjxrQmB++Ri65HTUq8TqcKg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49843},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"bda2c830381925008bc1f3662944b939e87f22e5","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc","test:category":"NODE_OPTIONS=--experimental-vm-modules jest test/category.integration.test.ts --detectOpenHandles","test:chatModel":"NODE_OPTIONS=--experimental-vm-modules jest test/chatModel.integration.test.ts --detectOpenHandles","test:integration":"NODE_OPTIONS=--experimental-vm-modules jest test/integration.test.ts --detectOpenHandles"},"_npmUser":{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"},"_npmVersion":"11.3.0","description":"SDK for AiSmartTalk API","directories":{},"_nodeVersion":"23.5.0","dependencies":{"uuid":"^11.1.0","axios":"^1.6.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/parser":"^7.1.0","@aismarttalk/aismarttalk-types":"^1.0.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aismarttalk-sdk_1.0.1_1748175663920_0.20614819820872587","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.0.2","keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","_id":"@aismarttalk/aismarttalk-sdk@1.0.2","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"dist":{"shasum":"9e4d9f97bc24ad004b54bcc8643ab75eb563b0d7","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.0.2.tgz","fileCount":34,"integrity":"sha512-FNf+qSif/ntBUixV3ZcPQH2Zh/GHmgxkD/WECMXLGKsl+9ymfSt1Y+Nuwc27px/Lslx32+yYvItp08/Ip3/E+A==","signatures":[{"sig":"MEQCICP9LFdVmBIH4r9woPnyy9l6X9arIkmi3u8p5ryK8riTAiAYASXomv5ghBf43YOy/jB8pWObRnt7Od0fIqCogU813w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72390},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"830158114b5b2073d50dd75f844ca654f34cba5d","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc","test:category":"NODE_OPTIONS=--experimental-vm-modules jest test/category.integration.test.ts --detectOpenHandles","test:document":"NODE_OPTIONS=--experimental-vm-modules jest test/document.integration.test.ts --detectOpenHandles","test:chatModel":"NODE_OPTIONS=--experimental-vm-modules jest test/chatModel.integration.test.ts --detectOpenHandles","test:integration":"NODE_OPTIONS=--experimental-vm-modules jest test/integration.test.ts --detectOpenHandles"},"_npmUser":{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"},"_npmVersion":"11.3.0","description":"SDK for AiSmartTalk API","directories":{},"_nodeVersion":"23.5.0","dependencies":{"uuid":"^11.1.0","axios":"^1.6.7","@aismarttalk/aismarttalk-types":"^1.0.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aismarttalk-sdk_1.0.2_1748460481641_0.8503833299764816","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.0.3","keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","_id":"@aismarttalk/aismarttalk-sdk@1.0.3","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"dist":{"shasum":"51b9d8672aabaebbc4500555ea2693c7a5bfd7d7","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.0.3.tgz","fileCount":28,"integrity":"sha512-FowYpMN/CqR2fvMjI0zUJipLJLTFTpWTZtPdQexhlLE5fY6oa/Kke+Hxj1n6HjlQh7td47sxZfIl5yNBdPTVrg==","signatures":[{"sig":"MEYCIQDrtk0WiQmeGhgvJhnPuFkw1P5B6M7JaSlDd/1URULsUgIhAL0c6UHBoMXc9YloRkAy/bMTMc2RamHSuj52qxOi+4uj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66477},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"a4e476c2020c6a6a21d70cd70cbd11430aa2b674","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc","test:category":"NODE_OPTIONS=--experimental-vm-modules jest test/category.integration.test.ts --detectOpenHandles","test:document":"NODE_OPTIONS=--experimental-vm-modules jest test/document.integration.test.ts --detectOpenHandles","test:chatModel":"NODE_OPTIONS=--experimental-vm-modules jest test/chatModel.integration.test.ts --detectOpenHandles","test:integration":"NODE_OPTIONS=--experimental-vm-modules jest test/integration.test.ts --detectOpenHandles"},"_npmUser":{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"},"_npmVersion":"11.3.0","description":"SDK for AiSmartTalk API","directories":{},"_nodeVersion":"23.5.0","dependencies":{"uuid":"^11.1.0","axios":"^1.6.7","@aismarttalk/aismarttalk-types":"^1.0.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aismarttalk-sdk_1.0.3_1748462098804_0.025704421224813645","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.0.4","keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","_id":"@aismarttalk/aismarttalk-sdk@1.0.4","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"dist":{"shasum":"4af3ea0acaace2e26cafe431ba7cf94dce03b2e1","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.0.4.tgz","fileCount":45,"integrity":"sha512-M4zTS7KwLCmIwRRgDM6WefviKYFxhUHTAuILXxaNUk41njx+9q4WI46IYjYCGWV/sARhOUDHd33K19jDvcQaYQ==","signatures":[{"sig":"MEYCIQDHQbVP6XIoOWZ/hIlLL6ww1Gm0vwjo5owTdMfWZ90H/wIhAKwBS5iyClzZyt2cQ6W7Kvy/Nv2taGJZdiNUkFTRlDEI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86163},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"e7eac6af4da4468126f7bbfd2193bbd7deab6eee","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc","test:category":"NODE_OPTIONS=--experimental-vm-modules jest test/category.integration.test.ts --detectOpenHandles","test:document":"NODE_OPTIONS=--experimental-vm-modules jest test/document.integration.test.ts --detectOpenHandles","test:chatModel":"NODE_OPTIONS=--experimental-vm-modules jest test/chatModel.integration.test.ts --detectOpenHandles","test:integration":"NODE_OPTIONS=--experimental-vm-modules jest test/integration.test.ts --detectOpenHandles"},"_npmUser":{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"},"_npmVersion":"11.3.0","description":"SDK for AiSmartTalk API","directories":{},"_nodeVersion":"23.5.0","dependencies":{"uuid":"^11.1.0","axios":"^1.6.7","@aismarttalk/aismarttalk-types":"^1.0.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aismarttalk-sdk_1.0.4_1748462710799_0.13000367796918222","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.1.0","keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","_id":"@aismarttalk/aismarttalk-sdk@1.1.0","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"dist":{"shasum":"3d41d6d2a99e9d6ceadccb3b61e307b6ea365059","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.1.0.tgz","fileCount":30,"integrity":"sha512-Go/Wi3zLB3fBs9bpMEFyFYxz77YcB6eV56ETWvBYZyCf2MMyY05uJO0DSYk9vKqecErZ8+ly6Khz9rQKR3HNpw==","signatures":[{"sig":"MEYCIQCzxMzvXEfZKwgAru1CU9fv3ZWWbHk+8Hb1mZ5nr13wXgIhALhzBO4fMaZKI/Hq9fk51I0XTxWd4n60JmcY5uH98s/e","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88376},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"7d8b2a44df29e014cb5a41d27ae23ebe79b06fdf","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc","test:category":"NODE_OPTIONS=--experimental-vm-modules jest test/category.integration.test.ts --detectOpenHandles","test:document":"NODE_OPTIONS=--experimental-vm-modules jest test/document.integration.test.ts --detectOpenHandles","test:biography":"NODE_OPTIONS=--experimental-vm-modules jest test/biography.integration.test.ts --detectOpenHandles","test:chatModel":"NODE_OPTIONS=--experimental-vm-modules jest test/chatModel.integration.test.ts --detectOpenHandles","test:integration":"NODE_OPTIONS=--experimental-vm-modules jest test/integration.test.ts --detectOpenHandles"},"_npmUser":{"name":"odran","email":"odran@webforger.fr"},"_npmVersion":"10.8.1","description":"SDK for AiSmartTalk API","directories":{},"_nodeVersion":"22.4.1","dependencies":{"uuid":"^11.1.0","axios":"^1.6.7","@aismarttalk/aismarttalk-types":"^1.0.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aismarttalk-sdk_1.1.0_1749718795620_0.528202852234525","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.2.0","keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","_id":"@aismarttalk/aismarttalk-sdk@1.2.0","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"dist":{"shasum":"59f8908550ff192bdfc9ec31458b4b2ca437d966","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.2.0.tgz","fileCount":31,"integrity":"sha512-iupP3UpbFjXWjb5JShd4U1yWIQ+/L4NaAc2QKeasE6yCNzW4AurU3ni1BTRRCAxhtbejmPbAKHhf6Hogkx6noQ==","signatures":[{"sig":"MEYCIQDvrmZ9Ezroa3gzfypp+cIUro/7BffJgn7jJB6i8HJvggIhANjz4AHjZszAvWFpGu0gyihY8QCWYhGQBnxyPGRWs8Fc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119701},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"f899644cd861b14dc68060d0508fecd78b5bef2c","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc","test:category":"NODE_OPTIONS=--experimental-vm-modules jest test/category.integration.test.ts --detectOpenHandles","test:document":"NODE_OPTIONS=--experimental-vm-modules jest test/document.integration.test.ts --detectOpenHandles","test:biography":"NODE_OPTIONS=--experimental-vm-modules jest test/biography.integration.test.ts --detectOpenHandles","test:chatModel":"NODE_OPTIONS=--experimental-vm-modules jest test/chatModel.integration.test.ts --detectOpenHandles","test:integration":"NODE_OPTIONS=--experimental-vm-modules jest test/integration.test.ts --detectOpenHandles","test:simplestorage":"NODE_OPTIONS=--experimental-vm-modules jest test/simplestorage.integration.test.ts"},"_npmUser":{"name":"odran","email":"odran@webforger.fr"},"_npmVersion":"10.8.1","description":"SDK for AiSmartTalk API","directories":{},"_nodeVersion":"22.4.1","dependencies":{"uuid":"^11.1.0","axios":"^1.6.7","@aismarttalk/aismarttalk-types":"^1.0.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aismarttalk-sdk_1.2.0_1750081584288_0.897652457026709","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.2.1","keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","_id":"@aismarttalk/aismarttalk-sdk@1.2.1","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"dist":{"shasum":"be681d6aebb33098ffadc8ab5b77b3f3052b75c8","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.2.1.tgz","fileCount":66,"integrity":"sha512-O1oMrXgAi3OjT+IDICajLDWx+gFXUa+XqlsswGdF3c9bQlBUsHqAs4uSiJ15gz5y6vkAlMO5s1kg4TxbFyXFJw==","signatures":[{"sig":"MEUCIQDCGeIJX8PIDXSaK24CEBIaWujUnkqYLaCBXySGL7/h+AIgbjC9iuuPvbhg61KTsS/xIAkD1uNebFfISf+fUSJWDig=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":168846},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"9ae91a32713f4635de55595a084d41b2a980c47a","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc","test:category":"NODE_OPTIONS=--experimental-vm-modules jest test/category.integration.test.ts --detectOpenHandles","test:document":"NODE_OPTIONS=--experimental-vm-modules jest test/document.integration.test.ts --detectOpenHandles","test:biography":"NODE_OPTIONS=--experimental-vm-modules jest test/biography.integration.test.ts --detectOpenHandles","test:chatModel":"NODE_OPTIONS=--experimental-vm-modules jest test/chatModel.integration.test.ts --detectOpenHandles","test:integration":"NODE_OPTIONS=--experimental-vm-modules jest test/integration.test.ts --detectOpenHandles","test:simplestorage":"NODE_OPTIONS=--experimental-vm-modules jest test/simplestorage.integration.test.ts"},"_npmUser":{"name":"caillaudpa","actor":{"name":"caillaudpa","type":"user","email":"pierre-antoine@aismarttalk.tech"},"email":"pierre-antoine@aismarttalk.tech"},"_npmVersion":"11.4.1","description":"SDK for AiSmartTalk API","directories":{},"_nodeVersion":"23.5.0","dependencies":{"uuid":"^11.1.0","axios":"^1.6.7","@aismarttalk/aismarttalk-types":"^1.0.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aismarttalk-sdk_1.2.1_1750179701394_0.8644964037453435","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.2.2","keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","_id":"@aismarttalk/aismarttalk-sdk@1.2.2","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"dist":{"shasum":"f8b0ac41d9e419dbf29bf4e71a3920c22de16c93","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.2.2.tgz","fileCount":66,"integrity":"sha512-NxKwZsCK+1/b3YbXkBzq/zbY3SX5BKmiQlP0bUtPmxo82dDpRtydCfN5GpmIi5RHKF2vEV2KkxrvErrxOXfu2A==","signatures":[{"sig":"MEUCIQDCRk7sfaJvBzAElWGbGoxYrB66m9NfvQZ5pJQqZxWMJQIgM1KXA7wM7UyU3uBXUg/PQxglBNfnbAQTlZjyicJtMyQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":168889},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"96545e35ee0977e1bd4e3e9c23941a1d4bab544c","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc","test:category":"NODE_OPTIONS=--experimental-vm-modules jest test/category.integration.test.ts --detectOpenHandles","test:document":"NODE_OPTIONS=--experimental-vm-modules jest test/document.integration.test.ts --detectOpenHandles","test:biography":"NODE_OPTIONS=--experimental-vm-modules jest test/biography.integration.test.ts --detectOpenHandles","test:chatModel":"NODE_OPTIONS=--experimental-vm-modules jest test/chatModel.integration.test.ts --detectOpenHandles","test:integration":"NODE_OPTIONS=--experimental-vm-modules jest test/integration.test.ts --detectOpenHandles","test:simplestorage":"NODE_OPTIONS=--experimental-vm-modules jest test/simplestorage.integration.test.ts"},"_npmUser":{"name":"caillaudpa","actor":{"name":"caillaudpa","type":"user","email":"pierre-antoine@aismarttalk.tech"},"email":"pierre-antoine@aismarttalk.tech"},"_npmVersion":"11.4.1","description":"SDK for AiSmartTalk API","directories":{},"_nodeVersion":"23.5.0","dependencies":{"uuid":"^11.1.0","axios":"^1.6.7","@aismarttalk/aismarttalk-types":"^1.0.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aismarttalk-sdk_1.2.2_1750675867175_0.15886333443545442","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.3.0","keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","_id":"@aismarttalk/aismarttalk-sdk@1.3.0","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"dist":{"shasum":"9e86c17fdffe0fa152411385105e3c6f1bf116c1","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.3.0.tgz","fileCount":32,"integrity":"sha512-klAmT+ZvklIkiTy2mY8UPEFLAeAKCo1za2vD0tjVIPovSekFwyz00ylvbUMWEUGB5FEfg8xwu644i6DNMampcQ==","signatures":[{"sig":"MEUCIQCqklBJbHRE6VsVC8cRJqUa2eMh5ikHwbrv44cO9lc42AIgJ+VBoT/Z6w94iN42z1EOQUHe7feONGMqa50z/sDCTgI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":181465},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"c192fffea3933c3aeb30ced019678083838e6f8c","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc","test:category":"NODE_OPTIONS=--experimental-vm-modules jest test/category.integration.test.ts --detectOpenHandles","test:document":"NODE_OPTIONS=--experimental-vm-modules jest test/document.integration.test.ts --detectOpenHandles","test:sequence":"NODE_OPTIONS=--experimental-vm-modules jest test/sequence.integration.test.ts --detectOpenHandles","test:biography":"NODE_OPTIONS=--experimental-vm-modules jest test/biography.integration.test.ts --detectOpenHandles","test:chatModel":"NODE_OPTIONS=--experimental-vm-modules jest test/chatModel.integration.test.ts --detectOpenHandles","test:integration":"NODE_OPTIONS=--experimental-vm-modules jest test/integration.test.ts --detectOpenHandles","test:simplestorage":"NODE_OPTIONS=--experimental-vm-modules jest test/simplestorage.integration.test.ts"},"_npmUser":{"name":"odran","email":"odran@webforger.fr"},"_npmVersion":"10.9.4","description":"SDK for AiSmartTalk API","directories":{},"_nodeVersion":"22.21.1","dependencies":{"uuid":"^11.1.0","axios":"^1.6.7","@aismarttalk/aismarttalk-types":"^1.0.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aismarttalk-sdk_1.3.0_1765369588710_0.9434843499930368","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@aismarttalk/aismarttalk-sdk","version":"1.4.1","description":"SDK for AiSmartTalk API","main":"dist/index.js","types":"dist/index.d.ts","type":"module","scripts":{"build":"tsc","test":"NODE_OPTIONS=--experimental-vm-modules jest","test:integration":"NODE_OPTIONS=--experimental-vm-modules jest test/integration.test.ts --detectOpenHandles","test:category":"NODE_OPTIONS=--experimental-vm-modules jest test/category.integration.test.ts --detectOpenHandles","test:chatModel":"NODE_OPTIONS=--experimental-vm-modules jest test/chatModel.integration.test.ts --detectOpenHandles","test:document":"NODE_OPTIONS=--experimental-vm-modules jest test/document.integration.test.ts --detectOpenHandles","test:biography":"NODE_OPTIONS=--experimental-vm-modules jest test/biography.integration.test.ts --detectOpenHandles","test:simplestorage":"NODE_OPTIONS=--experimental-vm-modules jest test/simplestorage.integration.test.ts","test:sequence":"NODE_OPTIONS=--experimental-vm-modules jest test/sequence.integration.test.ts --detectOpenHandles"},"keywords":["ai","chat","sdk","aismarttalk"],"author":{"name":"AI SmartTalk"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AI-SmartTalk/aismarttalk-sdk.git"},"bugs":{"url":"https://github.com/AI-SmartTalk/aismarttalk-sdk/issues"},"homepage":"https://github.com/AI-SmartTalk/aismarttalk-sdk#readme","dependencies":{"@aismarttalk/aismarttalk-types":"^1.0.23","axios":"^1.6.7","uuid":"^11.1.0"},"devDependencies":{"@types/jest":"^29.5.12","@types/node":"^20.11.24","@typescript-eslint/eslint-plugin":"^7.1.0","@typescript-eslint/parser":"^7.1.0","eslint":"^8.57.0","jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.3.3"},"publishConfig":{"access":"public"},"_id":"@aismarttalk/aismarttalk-sdk@1.4.1","gitHead":"8484bcb8898f56377dd0c06f004b7c5cba55ec5e","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-LWweKt0Voe4QKeu7hpShk2+WeEz8HVG/D/ODYdgAtPZ0Wp3z0MBlaew7RPZhnbPgWqIRsOD18eMqT8CGRzdLCQ==","shasum":"b2e305d95ab902e95c5d0dcfcdc2d6c1176346bf","tarball":"https://registry.npmjs.org/@aismarttalk/aismarttalk-sdk/-/aismarttalk-sdk-1.4.1.tgz","fileCount":36,"unpackedSize":292081,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aismarttalk%2faismarttalk-sdk@1.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDl0UNtHPoqgnPZBLALQr27s4H0J6f00eKOKw/LA2U+SgIhAMG6DrQaJXDffbW+Orc0zZclpycXjukzwMGgY0KGd9v/"}]},"_npmUser":{"name":"odran","email":"odran@webforger.fr"},"directories":{},"maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aismarttalk-sdk_1.4.1_1777456740955_0.6269975445689473"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-24T10:12:20.106Z","modified":"2026-04-29T09:59:01.454Z","1.0.0":"2025-05-24T10:12:20.417Z","1.0.1":"2025-05-25T12:21:04.117Z","1.0.2":"2025-05-28T19:28:01.886Z","1.0.3":"2025-05-28T19:54:58.975Z","1.0.4":"2025-05-28T20:05:11.019Z","1.1.0":"2025-06-12T08:59:55.798Z","1.2.0":"2025-06-16T13:46:24.495Z","1.2.1":"2025-06-17T17:01:41.620Z","1.2.2":"2025-06-23T10:51:07.361Z","1.3.0":"2025-12-10T12:26:28.838Z","1.4.1":"2026-04-29T09:59:01.152Z"},"author":{"name":"AI SmartTalk"},"license":"MIT","keywords":["ai","chat","sdk","aismarttalk"],"description":"SDK for AiSmartTalk API","maintainers":[{"name":"odran","email":"odran@webforger.fr"},{"name":"caillaudpa","email":"pierre-antoine@aismarttalk.tech"}],"readme":"# AI SmartTalk SDK\n\n[![npm version](https://img.shields.io/npm/v/@aismarttalk/aismarttalk-sdk.svg)](https://www.npmjs.com/package/@aismarttalk/aismarttalk-sdk)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)\n\nOfficial TypeScript SDK for the [AI SmartTalk](https://aismarttalk.tech) API.\n\n📚 **API documentation**: https://docs.aismarttalk.tech/docs/api\n\n## Install\n\n```bash\nnpm i @aismarttalk/aismarttalk-sdk\n```\n\nRequires Node.js 18+.\n\n## Quick start\n\n```typescript\nimport { AiSmartTalk } from '@aismarttalk/aismarttalk-sdk';\n\nconst client = new AiSmartTalk('your-chat-model-id', 'your-token');\n\nconst docs = await client.searchDocuments({ query: 'How do I reset my password?' });\n```\n\nThe constructor accepts an optional `{ baseUrl }` for self-hosted instances.\n\n## What's covered\n\n- **Documents** — search, import, full CRUD (FAQ, document, product)\n- **SmartForms** — list, fetch, submit (one-by-one or batch), file upload, share links\n- **Sequences** — multi-form workflows, delegation, batch submit, instance tracking, quiz analysis\n- **SmartFlows** — execute workflows, list/install/uninstall templates\n- **Categories** — CRUD on content categories\n- **Chat model** — configuration, AI models & packs, avatar, theme, biography (versioned + translation)\n- **Integrations** — list available integrations and connection status\n- **Plan & usage** — tokens, documents, agents, seats\n- **Simple storage** — key/value scoped to the chat model\n- **CRM** — bulk customer import\n- **User & permissions** — current user, permissions across chat models (OAuth)\n\nFull method list and types are available via TypeScript autocomplete after install. See the [API docs](https://docs.aismarttalk.tech/docs/api) for endpoint details.\n\n## Examples\n\n### SmartForms\n\n```typescript\nconst forms = await client.listSmartForms();\nconst form = await client.getSmartForm('form-id');\n\n// Single-shot submission\nawait client.batchSubmitSmartForm('form-id', {\n    answers: { name: 'Alice', email: 'alice@example.com' },\n    executeWorkflow: true\n});\n\n// File field — upload first, then submit the JSON as the answer value\nconst upload = await client.uploadSmartFormFile('form-id', formData);\nawait client.batchSubmitSmartForm('form-id', {\n    answers: { resume: JSON.stringify(upload.data) }\n});\n```\n\n### Sequences\n\n```typescript\nconst sequences = await client.listSequences({ categoryId: 'cat-id' });\n\nconst start = await client.startSequence('seq-id', { email: 'user@example.com' });\nconst next = await client.answerSequenceQuestion('seq-id', start.instanceId, {\n    value: 'My answer'\n});\n\n// Batch submit an entire sequence\nawait client.batchSubmitSequence('seq-id', {\n    formAnswers: {\n        form_a: { company_name: 'Acme' },\n        form_b: { contact_email: 'john@acme.com' }\n    }\n});\n\n// Quiz scoring with per-answer breakdown\nconst scored = await client.getSequenceInstanceAnswers('seq-id', start.instanceId);\nconsole.log(scored.summary.overallPercentage, '%');\n```\n\n### Documents\n\n```typescript\nconst list = await client.listDocuments({ page: 1, limit: 20, statusFilter: 'ACTIVE' });\n\nawait client.createDocument({\n    type: 'faq',\n    question: 'How do I reset my password?',\n    answer: 'Go to Settings > Security > Reset Password.'\n});\n\nawait client.updateDocument('doc-id', { favorite: true });\nawait client.deleteDocument('doc-id');\n```\n\n### Chat model\n\n```typescript\n// Pick a preset model pack (sovereign, openai, custom, …)\nawait client.applyAIModelPack({ packKey: 'sovereign' });\n\n// Or set models individually\nawait client.updateAIModels({ aiModelType: 'GPT4O_MINI' });\n\n// Versioned biography\nawait client.createBiographyVersion({\n    configurationType: 'CHAT_ANONYMOUS',\n    responseBiography: 'You are a helpful assistant…'\n});\n```\n\n### Categories\n\n```typescript\nconst categories = await client.getCategories();\nawait client.createCategory({ name: 'Help', type: ['KNOWLEDGE'] });\n```\n\n## Error handling\n\nErrors are thrown as `{ message, status }` objects with the API's response message and HTTP status.\n\n```typescript\ntry {\n    await client.getSmartForm('missing-id');\n} catch (err) {\n    console.error(err.status, err.message);\n}\n```\n\n## Development\n\n```bash\ngit clone https://github.com/AI-SmartTalk/aismarttalk-sdk.git\ncd aismarttalk-sdk\nnpm install\nnpm run build\n```\n\nIntegration tests hit a live API. Copy `.env.example` to `.env` and fill in the values:\n\n```bash\nnpm run test:integration\nnpm run test:document\nnpm run test:sequence\n# …etc\n```\n\n### Releasing\n\nPushing a `v*` tag triggers the `Publish to npm` GitHub Action. Bump `package.json`, update `CHANGELOG.md`, commit, then:\n\n```bash\ngit tag -a vX.Y.Z -m \"...\"\ngit push origin vX.Y.Z\n```\n\nThe workflow checks that the tag matches `package.json` before publishing.\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md","homepage":"https://github.com/AI-SmartTalk/aismarttalk-sdk#readme","repository":{"type":"git","url":"git+https://github.com/AI-SmartTalk/aismarttalk-sdk.git"},"bugs":{"url":"https://github.com/AI-SmartTalk/aismarttalk-sdk/issues"}}