{"_id":"@sinch/sdk-core","_rev":"28-306dd864b1ad5ede9be57d0b1aa8a9c5","name":"@sinch/sdk-core","dist-tags":{"latest":"1.6.0"},"versions":{"0.0.0":{"name":"@sinch/sdk-core","version":"0.0.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@0.0.0","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"krogers0607","email":"Kendall.Rogers@Sinch.com"},{"name":"bprokop","email":"Bartosz.Prokop@sinch.com"}],"homepage":"","dist":{"shasum":"0de766319c3868a7c71ec5967dc7685db9a4e17d","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-0.0.0.tgz","fileCount":8,"integrity":"sha512-ExcYJ3D9UQh5z74lmhP53QOqC2Jz4m+JlnjhTZmjWkRcKTN/YDshcOqD2Yj2F2Mpy0JNY1W7jgu7Id+1mpAdIQ==","signatures":[{"sig":"MEYCIQCMuLitgB96blLE/nOhdkSko7DDtKfITQLdqCxWM9PuxgIhAJ4UTYWQwcJ60QEpoTs/uqY6yg635j5PY4532MOyzs1h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8278},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"2eb43528b7f5d132a3cc9f0e6b1b820c57afc116","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"8.19.4","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"16.20.2","dependencies":{"@sinch/sms":"^0.0.0","@sinch/numbers":"^0.0.0","@sinch/verification":"^0.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_0.0.0_1702924417127_0.8037496037376555","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"@sinch/sdk-core","version":"0.0.1","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@0.0.1","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"krogers0607","email":"Kendall.Rogers@Sinch.com"},{"name":"bprokop","email":"Bartosz.Prokop@sinch.com"}],"homepage":"","dist":{"shasum":"12f0e0173ad0c983611a7f41a56bde8b8273df17","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-0.0.1.tgz","fileCount":8,"integrity":"sha512-siuCRGMT9oHbHagAF64/uSrYAhBDdfUhcmnoKRJ8q16CX26Q0xcxzIII3yTsxSlgO/BFX40q+irxF3YW/SYv/A==","signatures":[{"sig":"MEUCIA3Lsj3FfbhgHvgtGuSOori6yuPeoWnpVM+A3FpMYpa/AiEApbkO466lR+yzpRVAvlF1LZYjHR8mS2u+JVa71pyFcn0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8673},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"b2e47704ac4500e8a93889d1cb480c36eaea3872","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sms":"^0.0.1","@sinch/voice":"^0.0.1","@sinch/numbers":"^0.0.1","@sinch/verification":"^0.0.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_0.0.1_1705940993007_0.10718381305904323","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@sinch/sdk-core","version":"0.0.2","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@0.0.2","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"krogers0607","email":"Kendall.Rogers@Sinch.com"},{"name":"bprokop","email":"Bartosz.Prokop@sinch.com"}],"homepage":"","dist":{"shasum":"76f4d7f0003946897f013a7195b748e7b037bdef","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-0.0.2.tgz","fileCount":8,"integrity":"sha512-PWGfSwCrBe+gL35hJyjVDX73Of5DNoUhhUucimHfEvLqYz78ogvK+xOmUzGX/1klG1KBaE0KzRP3mfr8qOUlIA==","signatures":[{"sig":"MEUCIQC3pxQRwYv36CtS0Bo3YSWwe22m2hDECypZr3DPHsox7gIgNgabH6eML17tGe+k2PUoomgsTKz6is8slkPq6RbJktg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9429},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"d423046df26b0395f69f818a03991ba308cd97ed","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sms":"^0.0.2","@sinch/voice":"^0.0.2","@sinch/numbers":"^0.0.2","@sinch/conversation":"^0.0.2","@sinch/verification":"^0.0.2"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_0.0.2_1708961893555_0.15351322259678257","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@sinch/sdk-core","version":"0.0.3","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@0.0.3","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"krogers0607","email":"Kendall.Rogers@Sinch.com"},{"name":"bprokop","email":"Bartosz.Prokop@sinch.com"}],"homepage":"","dist":{"shasum":"db87c63feeb2d6b283fcb4ea9472a7900cd29ebe","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-0.0.3.tgz","fileCount":8,"integrity":"sha512-xXbdoTDYaF6Hp9pQlytKUZgjc14rdRlC4sLcIBclaK0u1Pwmzd1nrlK5m8ewgsZCt/1BCAMM7saKrVUn3etMQQ==","signatures":[{"sig":"MEQCIHtkDRItjervPmxabRjS0Kcv7EqPW2fB6fz/fIq2ft99AiB+rSvj9qEKL3p/soCKlxiHEWnLYAM2X1QoQVNWCBuXbg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9614},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"a355a16f30b78d674e47c41983a59e539de777ee","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/fax":"^0.0.3","@sinch/sms":"^0.0.3","@sinch/voice":"^0.0.3","@sinch/numbers":"^0.0.3","@sinch/conversation":"^0.0.3","@sinch/verification":"^0.0.3"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_0.0.3_1711112357566_0.3636933072720181","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@sinch/sdk-core","version":"0.0.4","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@0.0.4","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"krogers0607","email":"Kendall.Rogers@Sinch.com"},{"name":"bprokop","email":"Bartosz.Prokop@sinch.com"}],"homepage":"","dist":{"shasum":"08c2646c54459c0b04eadddfc4d5c70a24e98e00","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-0.0.4.tgz","fileCount":8,"integrity":"sha512-gjHBJzOy5RPSYg6MS/kUt7KVuKcLBR9eg+vOXhuBSUggOhOy6b3BBBA8dblDcqySlPQTD6RIzvrmpdQFTLb/mg==","signatures":[{"sig":"MEYCIQD8/B7J/6fYuW34qIFKAjuY9RYqytf4M2ekvGa/WQPFrQIhAIl7bCZUZ5SP+74LUm1ugG4V0aYwmiSwloVadBd1oAOr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9614},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"32bf1a7b16ea011f4d2e68e98409997237c29908","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/fax":"^0.0.4","@sinch/sms":"^0.0.4","@sinch/voice":"^0.0.4","@sinch/numbers":"^0.0.4","@sinch/conversation":"^0.0.4","@sinch/verification":"^0.0.4"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_0.0.4_1711116221601_0.7400501392490957","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@sinch/sdk-core","version":"0.0.5","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@0.0.5","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"krogers0607","email":"Kendall.Rogers@Sinch.com"},{"name":"bprokop","email":"Bartosz.Prokop@sinch.com"}],"homepage":"","dist":{"shasum":"dce8289c139ed9a025130c935144dd63cbca5360","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-0.0.5.tgz","fileCount":8,"integrity":"sha512-YerPBVE2ebeYGtVZIhBWB9YaFC7KESfx63EpwnfcDyXFmfCNFRFfuK1RVi7revnFdrK19ZjUd3ghDIdM4VqhmA==","signatures":[{"sig":"MEYCIQCeTA2PQYcy6CdGzIt8AkuJm2Dzl62mLiYCdY9Xct84GQIhAMQpUgf0EatN7uQV+posxjfxmVsxWnDrxbueO+q8GcXK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19819},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"1dcee5f4b10ca5460f01176e6f7e9531542a7d70","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/fax":"^0.0.5","@sinch/sms":"^0.0.5","@sinch/voice":"^0.0.5","@sinch/numbers":"^0.0.5","@sinch/conversation":"^0.0.5","@sinch/verification":"^0.0.5"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_0.0.5_1712929234675_0.38935160099957766","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@sinch/sdk-core","version":"1.0.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@1.0.0","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"krogers0607","email":"Kendall.Rogers@Sinch.com"},{"name":"bprokop","email":"Bartosz.Prokop@sinch.com"}],"homepage":"","dist":{"shasum":"0a61256c3865965d1bf42980633861faf4aac615","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.0.0.tgz","fileCount":8,"integrity":"sha512-hClU7duJYO3f3fPB/JzKYKGG50E9z22JI/fb7i5bN303xGq9jwbHdXEtBakCvQNQmCmkcuuObdFY5AR1Eynq+A==","signatures":[{"sig":"MEYCIQDTrYG15Ru82lmuNRUrKRYe9bSZSd3hfaBPVKVQna6GOQIhAM8s0xtAUqKdnMkfAlItT3D8cHWbpcx7+GKmvp4ritlZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19563},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"1ef01f84a513088a562c36bdd8cbf3aac780126d","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/fax":"^1.0.0","@sinch/sms":"^1.0.0","@sinch/voice":"^1.0.0","@sinch/numbers":"^1.0.0","@sinch/conversation":"^1.0.0","@sinch/verification":"^1.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.0.0_1713544039346_0.8276389477238599","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@sinch/sdk-core","version":"1.1.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@1.1.0","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"krogers0607","email":"Kendall.Rogers@Sinch.com"},{"name":"bprokop","email":"Bartosz.Prokop@sinch.com"}],"homepage":"","dist":{"shasum":"13fc5aa1702458b7128d01b850d7c3d52ad7042e","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.1.0.tgz","fileCount":8,"integrity":"sha512-kqZ0n0ycClYPPSk5ugy9FFmq/j/qVXmhC8rgUBu2JWTjsOTsRVe9dSnUuQYaxj6V8sEjySUALtLiJBU3neeq8A==","signatures":[{"sig":"MEYCIQDmEhIbeKSj/zVqMX8t0PdZZ59oxKPE5+QgigKrBj+hpgIhAPlOSLPg+z1tFvAu18zXKS0XptrVmw24oqXey5Fxtl4r","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20662},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"2360660d9bc4bc68602f678aa93a22c12d1f0d90","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/fax":"^1.1.0","@sinch/sms":"^1.1.0","@sinch/voice":"^1.1.0","@sinch/numbers":"^1.1.0","@sinch/conversation":"^1.1.0","@sinch/verification":"^1.1.0","@sinch/elastic-sip-trunking":"^1.1.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.1.0_1715693023756_0.6851213186829304","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@sinch/sdk-core","version":"1.2.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@1.2.0","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"krogers0607","email":"Kendall.Rogers@Sinch.com"},{"name":"bprokop","email":"Bartosz.Prokop@sinch.com"}],"homepage":"","dist":{"shasum":"833d8aa81f5a6095df6a1a800bf5cb45bb43d5df","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.2.0.tgz","fileCount":8,"integrity":"sha512-n0sWNt61h7fepsMVXmy7m1HrAModf0UC28llfRknPExvI5Rza7eBvE0KK/EV9DF0XEdkN4aI/Rn4ieJhK/sOsg==","signatures":[{"sig":"MEUCIQDf8WCZ84tq2SdQPCOLAno2XL5Ghh6Zqge6aEtUd3L1IQIgTR3buxLsqSGzgAW+Ytn757a5rxCnXlJWqvk1wimdelA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20686},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"db3c5dbb232fa9747f8884cb8a920a92a534c7f1","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.7.0","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.20.4","dependencies":{"@sinch/fax":"^1.2.0","@sinch/sms":"^1.2.0","@sinch/voice":"^1.2.0","@sinch/numbers":"^1.2.0","@sinch/conversation":"^1.2.0","@sinch/verification":"^1.2.0","@sinch/elastic-sip-trunking":"^1.2.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.0_1728033814175_0.8294641244978529","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@sinch/sdk-core","version":"1.2.1","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@1.2.1","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"homepage":"","dist":{"shasum":"ef1fd6dada8689b5034ef47e0b433b57d613508c","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.2.1.tgz","fileCount":8,"integrity":"sha512-zr6wH+wquaVHVFNokkkC4KxpGTJFKn51nOsceY8Ci8lYbJcYY1QpMeoiZ9xK2xLcofljkG2Hq333JQq4rFY1yg==","signatures":[{"sig":"MEUCIQClUMfnvUsmqAnrKo6xJmQ3E3N96kSYloIa9RA8NnmfSgIgGz511Wd5mAuaMCKgjQrpiTOrZ5+lMT7vonueMmXHXJc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20686},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"0376c0b5b35d5d385f678f8af9d9af79c411d27d","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","actor":{"name":"asein_sinch","type":"user","email":"Antoin.Sein@Sinch.com"},"email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/fax":"^1.2.1","@sinch/sms":"^1.2.1","@sinch/voice":"^1.2.1","@sinch/numbers":"^1.2.1","@sinch/conversation":"^1.2.1","@sinch/verification":"^1.2.1","@sinch/elastic-sip-trunking":"^1.2.1"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.2.1_1751365243207_0.42964703068588594","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@sinch/sdk-core","version":"1.3.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@1.3.0","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"homepage":"","dist":{"shasum":"0ed38202174a72d4c86eb72dcbb99be9a7182af2","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.3.0.tgz","fileCount":8,"integrity":"sha512-LrYgR+n+LgRhmyGBso6jANCk8jDF9+Ha7aTTNzfGjpMgqD8gCgr4HueUQKd0ornv5j7zuPxf8S0H0+lLw0uxgg==","signatures":[{"sig":"MEQCIGujeCV6uRUxx+7p0md0vn3zP4tui/jLC8EYyQvIot8fAiBgnITZzneROVtcYUk1THpF+S/XwPyL8uvzXqh7vSH0aA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20686},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"33d75bea08667edeb2211e03147d509649c174f2","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/fax":"^1.3.0","@sinch/sms":"^1.3.0","@sinch/voice":"^1.3.0","@sinch/numbers":"^1.3.0","@sinch/conversation":"^1.3.0","@sinch/verification":"^1.3.0","@sinch/elastic-sip-trunking":"^1.3.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.3.0_1755116658961_0.06570739977025508","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@sinch/sdk-core","version":"1.4.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@1.4.0","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"patryk.mazur.sinch","email":"patryk.mazur@sinch.com"},{"name":"isthi-sinch","email":"isthi.irfan@sinch.com"},{"name":"dhagus_sinch","email":"dhaval.gusani@sinch.com"},{"name":"spacedsweden","email":"christian.jensen@sinch.com"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"homepage":"","dist":{"shasum":"b7661c0851aee92ae7957d5547aca0a681083092","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.4.0.tgz","fileCount":8,"integrity":"sha512-rWMk3KwaIPlnEi3JWF9wxbmKh8Tt4SFfjrsWlNb159STCsRVXukbIHxMquzyn+BxZYupCUOvC7g0norHEItvuA==","signatures":[{"sig":"MEUCIELyMM5aLnlhbbS38cgPC6pf2RrQWXDcpH4xaUoC2wbvAiEAuQfXiO18BrNoDoIoQ9CCW0Xn6foYvBgK4A1GzUFDzdE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21144},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"72161d356b0a307a1af7a077fbd8cea80e4a4e48","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/fax":"^1.4.0","@sinch/sms":"^1.4.0","@sinch/voice":"^1.4.0","@sinch/numbers":"^1.4.0","@sinch/conversation":"^1.4.0","@sinch/verification":"^1.4.0","@sinch/number-lookup":"^1.4.0","@sinch/elastic-sip-trunking":"^1.4.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.4.0_1774965512783_0.01630765547876223","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@sinch/sdk-core","version":"1.4.1","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@1.4.1","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"patryk.mazur.sinch","email":"patryk.mazur@sinch.com"},{"name":"isthi-sinch","email":"isthi.irfan@sinch.com"},{"name":"dhagus_sinch","email":"dhaval.gusani@sinch.com"},{"name":"spacedsweden","email":"christian.jensen@sinch.com"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"homepage":"","dist":{"shasum":"3e12226c6c6144d638e4c51daf41078513bdef85","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.4.1.tgz","fileCount":8,"integrity":"sha512-8MUergSYi6uHbUOpEjfdLJGkea3SLpoSEMEctcOq0sPnktDl8wnaQaeObst4vhpmc/zOUu23jnUb1AFq3I63bQ==","signatures":[{"sig":"MEUCIQC2uiULUSTYfnXoTPYslPmJElQbL6RI83PAwoGiRF6RagIgD/p93ku7JQmBix9IjHu3uBcses3/1hxXLSwHjLFHhGQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21136},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"2c6da680228ced427a695ad87a115d5198a077fe","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/fax":"1.4.1","@sinch/sms":"1.4.1","@sinch/voice":"1.4.1","@sinch/numbers":"1.4.1","@sinch/conversation":"1.4.1","@sinch/verification":"1.4.1","@sinch/number-lookup":"1.4.1","@sinch/elastic-sip-trunking":"1.4.1"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.4.1_1776085903962_0.6628298171742486","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@sinch/sdk-core","version":"1.4.2","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@1.4.2","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"patryk.mazur.sinch","email":"patryk.mazur@sinch.com"},{"name":"isthi-sinch","email":"isthi.irfan@sinch.com"},{"name":"dhagus_sinch","email":"dhaval.gusani@sinch.com"},{"name":"spacedsweden","email":"christian.jensen@sinch.com"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"homepage":"","dist":{"shasum":"557e4824b9de097621d457fb385ebb9399d464ea","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.4.2.tgz","fileCount":8,"integrity":"sha512-P4qmsyNq/QNlZzpQ8BWEy9ILnD6iONd+/AX003I+90BOUCfRJmZUlnGWrtVxYVAjhyII8iizhiG3C7KWgIjaBA==","signatures":[{"sig":"MEQCIEjBATRlqetvATC16B5XKDx6G5nX2KCFVnCk2+JQ34MrAiBDOyXr1F05BSSGUgdNILRqAiZhLxz4tO1xm9nYynnz9g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21136},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"3d302407043ec7ee71a7c3c4f09aca6eba23d382","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"20.18.1","dependencies":{"@sinch/fax":"1.4.2","@sinch/sms":"1.4.2","@sinch/voice":"1.4.2","@sinch/numbers":"1.4.2","@sinch/conversation":"1.4.2","@sinch/verification":"1.4.2","@sinch/number-lookup":"1.4.2","@sinch/elastic-sip-trunking":"1.4.2"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.4.2_1778596203196_0.125098255498016","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@sinch/sdk-core","version":"1.4.3","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@1.4.3","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"hugo-rivas-sinch","email":"hugo.rivas@sinch.com"},{"name":"patryk.mazur.sinch","email":"patryk.mazur@sinch.com"},{"name":"isthi-sinch","email":"isthi.irfan@sinch.com"},{"name":"dhagus_sinch","email":"dhaval.gusani@sinch.com"},{"name":"spacedsweden","email":"christian.jensen@sinch.com"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"homepage":"","dist":{"shasum":"e7cd24fb86e1b027b052ee67f027b2b01cbd88ff","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.4.3.tgz","fileCount":8,"integrity":"sha512-JsZLdQxynGJ/c8AkUVQ+2iV1PUS+wP9Awc1JdGkPPJC/Vikq76gEm7+oW+CW3dXbkjyOF3nLh4p/b6/j/48/3w==","signatures":[{"sig":"MEYCIQC9W7VpATcmtmNxjsRzE6eLrSVR69EzAQ5XbyrarJld2wIhAM7wn1DZaNDekrLdY15DTY7XirAzk9qqvC3V9V2n2bOd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21136},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"7aa599e5e6fcf08e23ea0be42ffc196c8d0c7762","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.20.8","dependencies":{"@sinch/fax":"1.4.3","@sinch/sms":"1.4.3","@sinch/voice":"1.4.3","@sinch/numbers":"1.4.3","@sinch/conversation":"1.4.3","@sinch/verification":"1.4.3","@sinch/number-lookup":"1.4.3","@sinch/elastic-sip-trunking":"1.4.3"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.4.3_1779120560939_0.49277040885042767","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@sinch/sdk-core","version":"1.5.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sdk-core@1.5.0","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"hugo-rivas-sinch","email":"hugo.rivas@sinch.com"},{"name":"patryk.mazur.sinch","email":"patryk.mazur@sinch.com"},{"name":"isthi-sinch","email":"isthi.irfan@sinch.com"},{"name":"dhagus_sinch","email":"dhaval.gusani@sinch.com"},{"name":"spacedsweden","email":"christian.jensen@sinch.com"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"homepage":"","dist":{"shasum":"e70356d0ed564dad36aba5b13bda5a5dbdd8edbd","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.5.0.tgz","fileCount":8,"integrity":"sha512-nvT/n44ormTjNyXC/AYM24IJKyvBrAJdtI5wbwvX7z6TAzXe6E+qxH9AicDeL8xZ9LUJUG6LPwD2mhhtlpSqIA==","signatures":[{"sig":"MEUCIHeu5BCBakkLTJC3T0Lu/MSsxhfHGYte1vIcrD45dQz9AiEA+ge+LpIeF3Z9dDjuiLdieL7j0cDcmFT5AZ6AfgkRQCs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22229},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"95070386a9c08bd06f231dace89e4f46eba7a5a5","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"_npmUser":{"name":"hugo-rivas-sinch","email":"hugo.rivas@sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.20.8","dependencies":{"@sinch/fax":"1.5.0","@sinch/sms":"1.5.0","@sinch/voice":"1.5.0","@sinch/numbers":"1.5.0","@sinch/conversation":"1.5.0","@sinch/verification":"1.5.0","@sinch/number-lookup":"1.5.0","@sinch/elastic-sip-trunking":"1.5.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sdk-core_1.5.0_1782920558899_0.6469869652637645","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"_id":"@sinch/sdk-core@1.6.0","dist":{"shasum":"0696ea0616e8a92b96c727cd4088c87b59b95dae","tarball":"https://registry.npmjs.org/@sinch/sdk-core/-/sdk-core-1.6.0.tgz","fileCount":8,"integrity":"sha512-C4qZ49ZnJDxIPNlqELVuqfxYQ7hgVyrJp1VQRCpVeLlokvWNt7NOnhJdQ+pT4ymGtZYbZFb++e2h3Rzjph9S6g==","signatures":[{"sig":"MEUCIQCmMkjs//VE6/+QsGq8ICnxE65AtyUOr7KDmBe3P5ERsQIgfQ64j83pVVsGJ4HrtTaioVtbfXc6B2eoU0H82CtTjJ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDI+JW0oHemnO5IYAlMLOW4FDPQZN7EUfK+hwELXVyVGgIgZ5PwJnlxxXvI88vDV4B5fzEJYuiuf6G6Gg7x1gu6yTc="}],"unpackedSize":22961},"main":"dist/index.js","name":"@sinch/sdk-core","types":"dist/index.d.ts","author":{"name":"Sinch"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"6b855095cdb2ab4f203caadbba0aadf8fdc6b662","license":"Apache-2.0","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo","compile":"tsc --build --verbose"},"version":"1.6.0","_npmUser":{"name":"hugo-rivas-sinch","email":"hugo.rivas@sinch.com"},"homepage":"","repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Node.js client for the Sinch API platform","directories":{"src":"dist","test":"tests"},"maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"hugo-rivas-sinch","email":"hugo.rivas@sinch.com"},{"name":"marcos.lozanoromero","email":"marcos.lozanoromero@sinch.com"},{"name":"edu-sinch","email":"eduardo.sansegundo@sinch.com"},{"name":"patryk.mazur.sinch","email":"patryk.mazur@sinch.com"},{"name":"isthi-sinch","email":"isthi.irfan@sinch.com"},{"name":"dhagus_sinch","email":"dhaval.gusani@sinch.com"},{"name":"spacedsweden","email":"christian.jensen@sinch.com"},{"name":"emems","email":"piotr@lecenakodach.pl"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"_nodeVersion":"18.20.8","dependencies":{"@sinch/fax":"1.6.0","@sinch/sms":"1.6.0","@sinch/voice":"1.6.0","@sinch/numbers":"1.6.0","@sinch/conversation":"1.6.0","@sinch/provisioning":"1.6.0","@sinch/verification":"1.6.0","@sinch/number-lookup":"1.6.0","@sinch/elastic-sip-trunking":"1.6.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk-core_1.6.0_1790162442470_0.14115018500809895"}}},"time":{"created":"2023-12-18T18:33:37.126Z","modified":"2026-09-23T11:20:42.760Z","0.0.0":"2023-12-18T18:33:37.320Z","0.0.1":"2024-01-22T16:29:53.178Z","0.0.2":"2024-02-26T15:38:13.725Z","0.0.3":"2024-03-22T12:59:17.740Z","0.0.4":"2024-03-22T14:03:41.737Z","0.0.5":"2024-04-12T13:40:34.846Z","1.0.0":"2024-04-19T16:27:19.517Z","1.1.0":"2024-05-14T13:23:43.907Z","1.2.0":"2024-10-04T09:23:34.363Z","1.2.1":"2025-07-01T10:20:43.437Z","1.3.0":"2025-08-13T20:24:19.142Z","1.4.0":"2026-03-31T13:58:32.931Z","1.4.1":"2026-04-13T13:11:44.098Z","1.4.2":"2026-05-12T14:30:03.396Z","1.4.3":"2026-05-18T16:09:21.084Z","1.5.0":"2026-07-01T15:42:39.030Z","1.6.0":"2026-09-23T11:20:42.560Z"},"author":{"name":"Sinch"},"license":"Apache-2.0","repository":{"url":"","type":"git"},"description":"Node.js client for the Sinch API platform","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"hugo-rivas-sinch","email":"hugo.rivas@sinch.com"},{"name":"marcos.lozanoromero","email":"marcos.lozanoromero@sinch.com"},{"name":"edu-sinch","email":"eduardo.sansegundo@sinch.com"},{"name":"patryk.mazur.sinch","email":"patryk.mazur@sinch.com"},{"name":"isthi-sinch","email":"isthi.irfan@sinch.com"},{"name":"dhagus_sinch","email":"dhaval.gusani@sinch.com"},{"name":"spacedsweden","email":"christian.jensen@sinch.com"},{"name":"emems","email":"piotr@lecenakodach.pl"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"readme":"# Sinch server SDK for Node.js\n\nThis package contains the Sinch Client SDK for Node.js. To use it, you will need a Sinch account. Please [sign up](https://dashboard.sinch.com/signup) or [log in](https://dashboard.sinch.com/login) if you already have one.\n\n## Installation\n\n### With NPM\n\n```bash\nnpm install @sinch/sdk-core\n```\n\n### With Yarn\n\n```bash\nyarn add @sinch/sdk-core\n```\n\n## Usage\n\nThe `@sinch/sdk-core` package contains the entry point for an SDK user: the `SinchClient` class. It will use the information given in parameters to initialize the right plugins for the right APIs.\n\nAs there are different authentication schemes, the initialization method will depend on which one is used by the API.\n\n### OAuth2 Authentication\n\n```typescript\nimport { SinchClient } from '@sinch/sdk-core';\n\n(async () => {\n  // The credentials can be found on the Account dashboard: https://dashboard.sinch.com/account/access-keys\n  const sinch: Pick<SinchClient, 'conversation' | 'elasticSipTrunking' | 'fax' | 'numbers' | 'sms'> = new SinchClient({\n    projectId: 'my-project-id',\n    keyId: 'my-key-id',\n    keySecret: 'my-key-secret',\n  });\n  const numbersService = sinch.numbers;\n  \n  const response = await numbersService.availableRegions.list({\n    types: ['LOCAL'],\n  });\n})();\n```\nThe initialization method above will work for the APIs that supports the authentication with OAuth2 (Numbers and SMS on US and EU regions).\n\n### API Token authentication\n\nIf you want to use the SMS API on the other regions (or US and EU too, it will work), you'll need other credentials in order to give to the Client the `servicePlanId` and the associated `apiToken`. \n\n```typescript\nimport { SinchClient } from '@sinch/sdk-core';\n\n(async () => {\n  // The credentials can be found on the Service APIs dashboard: https://dashboard.sinch.com/sms/api/services\n  const sinch: Pick<SinchClient, 'sms'> = new SinchClient({\n    servicePlanId: 'my-service-plan-id',\n    apiToken: 'my-key-id',\n    smsRegion: 'my-region', // Optional, can be 'us', 'eu', 'br', 'au', 'ca'. Default is 'us'\n  });\n  const smsService = sinch.sms;\n  \n  const response = await smsService.batches.get({\n    batch_id: '01HF28S9AABBBCCCCY92BJB569',\n  });\n})();\n```\n\n### Signed application authentication\n\nBoth `Verification` and `Voice` APIs are using this authentication method: the request is encoded using the `Application Secret` and identified with the `Application Key`.\n\n```typescript\nimport { SinchClient } from '@sinch/sdk-core';\n\n(async () => {\n  // The credentials can be found on the Verification or Voice dashboard: \n  // https://dashboard.sinch.com/verification/apps or \n  // https://dashboard.sinch.com/voice/apps\n  const sinch: Pick<SinchClient, 'verification' | 'voice'> = new SinchClient({\n    applicationId: 'my-application-key',\n    applicationSecret: 'my-application-secret',\n  });\n  const verificationService = sinch.verification;\n  \n  const response = await verificationService.verificationStatus.getById({\n    id: '018bfc3e-1234-5678-1234-ebdb3fd6d30f',\n  });\n})();\n```\n\n## Importing classes and interfaces from other API packages\n\nFor convenience, importing `@sinch/sdk-core` is sufficient to be able to access to all the APIs' classes and interfaces. In case you need to use a single API, they are also packaged as single NPM packages:\n - SMS: [`@sinch/sms`](https://www.npmjs.com/package/@sinch/sms)\n - Conversation: [`@sinch/conversation`](https://www.npmjs.com/package/@sinch/conversation)\n - Elastic SIP Trunking (deprecated; removed in version 2): [`@sinch/elastic-sip-trunking`](https://www.npmjs.com/package/@sinch/elastic-sip-trunking)\n - Fax: [`@sinch/fax`](https://www.npmjs.com/package/@sinch/fax)\n - Numbers: [`@sinch/numbers`](https://www.npmjs.com/package/@sinch/numbers)\n - Number Lookup: [`@sinch/number-lookup`](https://www.npmjs.com/package/@sinch/number-lookup)\n - Verification: [`@sinch/verification`](https://www.npmjs.com/package/@sinch/verification)\n - Voice: [`@sinch/voice`](https://www.npmjs.com/package/@sinch/voice)\n\nAll the interfaces are exported with an alias, equal to the API name: \n - `Sms` for the SMS API\n - `Conversation` for the Conversation API\n - `ElasticSipTrunking` for the Elastic SIP Trunking API (deprecated; removed in version 2)\n - `Fax` for the Fax API\n - `Numbers` for the Numbers API\n - `NumberLookup` for the Number Lookup API\n - `Verification` for the Verification API\n - `Voice` for the Voice API\n\nHere is an example about using the TypeScript types to send a fax:\n\n```typescript\nimport { \n  Fax,          // \"Fax\" is the alias under which are exported all the interfaces\n  FaxService,   // This is a class so it is exported as is\n  SinchClient,\n} from '@sinch/sdk-core';\n\n(async () => {\n  const sinch = new SinchClient({\n    projectId: 'my-project-id',\n    keyId: 'my-key-id',\n    keySecret: 'my-key-secret',\n  });\n  \n  const faxService: FaxService = sinch.fax;\n  \n  const requestData: Fax.SendFaxRequestData = {\n    sendFaxRequestBody: {\n      to: 'a valid destination number',\n      from: 'a valid origin number',\n      contentUrl: 'https://developers.sinch.com/fax/fax.pdf',\n    },\n  };\n  \n  const response: Fax.Fax = await faxService.faxes.send(requestData);\n})();\n```\n\n## Importing classes for CommonJS\n\nUntil now, all the examples in this documentation are showcasing ES modules but there may be some cases when the SDK user will want to use CommonJS instead.\n\nHere is an example to do the same as above with CommonJS (using `require`):\n```javascript\nconst { SinchClient } = require('@sinch/sdk-core');\n\n(async () => {\n  const sinch = new SinchClient({\n    projectId: 'YOUR_project_id',\n    keyId: 'YOUR_access_key',\n    keySecret: 'YOUR_access_secret',\n  });\n  \n  const faxService = sinch.fax;\n  \n  const requestData = {\n    sendFaxRequestBody: {\n      to: 'a valid destination number',\n      from: 'a valid origin number',\n      contentUrl: 'https://developers.sinch.com/fax/fax.pdf',\n    },\n  };\n  \n  const response = await faxService.faxes.send(requestData);\n})();\n```\n\n## SinchClient parameters override\n\n### Hostname and region override\n\nFor various reasons (development phase, testing, network restrictions, ...), one may need to update the default API endpoint, pointing to production.\nEach API exposes dedicated parameters to override the default hostname and region:\n\n| API Name              | Parameter                          | Region             |\n|-----------------------|------------------------------------|--------------------|\n| Authentication        | authHostname                       | N/A                |\n| SMS                   | smsHostname                        | smsRegion          |\n| Conversation          | conversationHostname               | conversationRegion |\n|                       | conversationTemplatesHostname      | conversationRegion |\n| Elastic SIP Trunking (deprecated) | elasticSipTrunkingHostname | N/A                |\n| Fax                   | faxHostname                        | faxRegion          |\n| Voice                 | voiceHostname                      | voiceRegion        |\n|                       | voiceApplicationManagementHostname | N/A                |\n|                       | voiceV2Hostname                    | N/A                |\n| Numbers               | numbersHostname                    | N/A                |\n| Verification          | verificationHostname               | N/A                |\n\nAnd here are the list of supported regions per regionalized API:\n\n| Api Name     | Supported regions                                             |\n|--------------|---------------------------------------------------------------|\n| SMS          | SmsRegion.UNITED_STATES                                       |\n|              | SmsRegion.EUROPE                                              |\n|              | SmsRegion.BRAZIL (not available for OAuth2 authentication)    |\n|              | SmsRegion.CANADA (not available for OAuth2 authentication)    |\n|              | SmsRegion.AUSTRALIA (not available for OAuth2 authentication) |\n| Conversation | ConversationRegion.UNITED_STATES                              |\n|              | ConversationRegion.EUROPE                                     |\n|              | ConversationRegion.BRAZIL                                     |\n| Fax          | FaxRegion.DEFAULT                                             |\n|              | FaxRegion.UNITED_STATES                                       |\n|              | FaxRegion.EUROPE                                              |\n|              | FaxRegion.SOUTH_AMERICA                                       |\n|              | FaxRegion.SOUTHEAST_ASIA_1                                    |\n|              | FaxRegion.SOUTHEAST_ASIA_2                                    |\n| Voice        | VoiceRegion.DEFAULT                                           |\n|              | VoiceRegion.UNITED_STATES                                     |\n|              | VoiceRegion.EUROPE                                            |\n|              | VoiceRegion.SOUTH_AMERICA                                     |\n|              | VoiceRegion.SOUTHEAST_ASIA_1                                  |\n|              | VoiceRegion.SOUTHEAST_ASIA_2                                  |\n\n**Use case #1:** overriding the region in production\n\n```typescript\nimport { SinchClientParameters } from '@sinch/sdk-core';\n\nconst conversationClientParametersEurope: SinchClientParameters = {\n  projectId: 'my-project-id',\n  keyId: 'my-key-id',\n  keySecret: 'my-key-secret',\n  conversationRegion: ConversationRegion.EUROPE,\n};\n```\n**Use case #2:** overriding the hostname\n```typescript\nimport { SinchClientParameters } from '@sinch/sdk-core';\n\nconst conversationClientParametersForTest: SinchClientParameters = {\n  projectId: 'my-project-id',\n  keyId: 'my-key-id',\n  keySecret: 'my-key-secret',\n  authHostname: 'http://my-test-server:3000',\n  conversationHostname: 'http://my-test-server:3001',\n  conversationTemplatesHostname: 'http://my-test-server:3002',\n};\n```\n**Note**: when overriding the hostname, the `region` parameter becomes obsolete and is not taken into account when sending the request.\n\n**Note**: The region parameter is permissive: instead of the pre-defined list, you can also set any `string`. This covers the case where a new region is added (in production or in preview) and the SDK is not yet ready to support it or the SDK user doesn't want to update its SDK version to benefit from it.\n```typescript\nimport { SinchClientParameters } from '@sinch/sdk-core';\n\nconst conversationClientParametersNewRegion: SinchClientParameters = {\n    projectId: 'my-project-id',\n    keyId: 'my-key-id',\n    keySecret: 'my-key-secret',\n    conversationRegion: 'bzh',\n};\n```\n\nOn top of that, once you have instantiated an API service, it is possible to override the hostname and the region (in case the API endpoint is regionalized). The services expose the following methods:\n - `setHostname()`\n - `setRegion()`\n\nThese methods can be used at service level (all the APIs will be updated) or at API domain level (for updating only one at a time):\n\n**Use case #1:** overriding the hostname per API domain\n\n```typescript\nimport { SinchClient } from '@sinch/sdk-core';\n\nconst sinch: SinchClient = new SinchClient({\n  projectId: 'my-project-id',\n  keyId: 'my-key-id',\n  keySecret: 'my-key-secret',\n});\nconst numbersService = sinch.numbers;\nnumbersService.setHostname('https://my.new.server');\nnumbersService.activeNumber.setHostname('https://my.other.server');\n// Result:\n// numbers.availableRegions -> https://my.new.server\n// numbers.availableNumber  -> https://my.new.server\n// numbers.activeNumber     -> https://my.other.server\n// numbers.callbacks        -> https://my.new.server\n```\n\n**Use case #2:** overriding the production region per API domain\nimport { SinchClient } from '@sinch/sdk-core';\n\n```typescript\nimport { SinchClient, VoiceRegion } from '@sinch/sdk-core';\n\nconst sinch: SinchClient = new SinchClient({\n  projectId: 'my-project-id',\n  keyId: 'my-key-id',\n  keySecret: 'my-key-secret',\n});\nconst voiceService = sinch.voice;\nvoiceService.setRegion(VoiceRegion.SOUTH_AMERICA);\nvoiceService.calls.setRegion(VoiceRegion.SOUTHEAST_ASIA_2);\n// Result:\n// voice.applications -> https://callingapi.sinch.com (This one is not regionalized !)\n// voice.conferences  -> https://calling-sae1.api.sinch.com\n// voice.calls        -> https://calling-apse2.api.sinch.com\n// voice.callouts     -> https://calling-sae1.api.sinch.com\n```\n\n### Request and response plugins addition\n\nWhen instantiating a service, it creates an ApiClient behind the scene (find more in the [@sinch/sdk-client](../sdk-client/README.md) package) which contains some default plugins:\n - request plugins: `VersionRequest` which will add a `user-agent` with the used version of the SDK and Node.js running the program\n - response plugins:\n   - `TimezonePlugin` which will ensure that all the dates returned by the server contain a timezone\n   - `ExceptionPlugin` which will catch all invalid response from the server and format them in a common way to handle exceptions\n\nOn top of that, the Service will add its own plugins:\n - for OAuth2 authentication: `Oauth2TokenRequest`\n - for API Token authentication: `ApiTokenRequest`\n - for Application Signed authentication: `XTimestampRequest` and `SigningRequest`\n\nAnd on top on these plugins, it is possible to add even more of them (existing ones or custom ones) with the following properties of the `SinchClientParameters`:\n - `requestPlugins`\n - `responsePlugins`\n\n```typescript\nimport { SinchClient, AdditionalHeadersRequest, buildHeader } from '@sinch/sdk-core';\n\nconst sinch: SinchClient = new SinchClient({\n  projectId: 'my-project-id',\n  keyId: 'my-key-id',\n  keySecret: 'my-key-secret',\n  requestPlugins: [\n    new AdditionalHeadersRequest({\n      headers: buildHeader('customHeader', 'customHeaderValue'),\n    }),\n  ],\n});\n// => All the requests using services registered on this SinchClient will send an extra-header\n```\n\n## Examples\nYou can find an example of each request in the [../../examples/simple-examples](../../examples/simple-examples) folder.\n\n## Contact\nDeveloper Experience team: [devexp@sinch.com](mailto:devexp@sinch.com)\n\n## Supported APIs\n\nHere is the list of the Sinch API and there level of support by the Node.js SDK:\n\n| API Category           | API Name                          | Status |\n|------------------------|-----------------------------------|:------:|\n| Messaging              | SMS API                           |   ✅    |\n|                        | Conversation API                  |   ✅    |\n|                        | Fax API                           |   ✅    |\n| Voice and Video        | Voice API                         |   ✅    |\n|                        | Elastic SIP Trunking API `(deprecated)` |   ✅    |\n| Numbers & Connectivity | Numbers API                       |   ✅    |\n| Verification           | Verification API                  |   ✅    |\n\n> Note: `(deprecated)` means the API will be removed in version 2 of the SDK. Elastic SIP Trunking remains available on 1.x.\n","readmeFilename":"README.md"}