{"_id":"@sinch/sms","_rev":"28-a34728ebaa7263a70e6de682dff830c1","name":"@sinch/sms","dist-tags":{"latest":"1.6.0"},"versions":{"0.0.0":{"name":"@sinch/sms","version":"0.0.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"a8ee7e21721731f69935c3f6780bb98eb1a2065b","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-0.0.0.tgz","fileCount":326,"integrity":"sha512-duRopqoaNG56tt1xthAyWOEShr2BZwA412EdICmYEN2iH/aLdFFzzCr5OOP42W+3eMWqmCeXb10VRog3J0lZsQ==","signatures":[{"sig":"MEQCIEuLsYp/hgCB6UGPSEVTqADEDrancFJeYLPGUYlloi8pAiA5eDESzutqAoqGPZJP8Y9rpQ89r4I/5qikoutxatriCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":188667},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"2eb43528b7f5d132a3cc9f0e6b1b820c57afc116","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"8.19.4","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"16.20.2","dependencies":{"@sinch/sdk-client":"^0.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_0.0.0_1702924373471_0.3476478144509627","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"@sinch/sms","version":"0.0.1","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"c2b1d645127c5ac8efc8ea0f0fa97f5bc42938c0","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-0.0.1.tgz","fileCount":332,"integrity":"sha512-M/3CQyFj7YfQp7haRia0sIDBjiDAJPEkHyXkf3wEbmxTB89L2PPom5Pjb52Zg0cb0Mq7HVFDPJpMbROmEOy/5Q==","signatures":[{"sig":"MEQCIEIZnFvXdo8WCP0zKyQbzpmPQbVyNJU/5PX7VE+mSgZrAiAPiwwyUlQ1+4t1a1Qndo7jprvuQkGBZQ+LxGz2BjY1QQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":191769},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"b2e47704ac4500e8a93889d1cb480c36eaea3872","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"^0.0.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_0.0.1_1705940952026_0.6636044644243613","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@sinch/sms","version":"0.0.2","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"cfb241b22bdf8e67d74c1d007598cc32aaa9a783","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-0.0.2.tgz","fileCount":332,"integrity":"sha512-6phGlDJyYyxJvZpiA6ynW7765ZhglNdNP1YrLeVryznaoWgYvuzcbq5rmuP/w6RXk9vvo2iR983/OyCclYleBQ==","signatures":[{"sig":"MEUCIEgzy8b5fZS0Y7qMIQu+O+h+oczqeJ3SsVkTrLHneUQXAiEAtGlcslLwkJDvvkQOyWxR6nmBkk83ognPppQ0MoubzpU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":195943},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"d423046df26b0395f69f818a03991ba308cd97ed","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"^0.0.2"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_0.0.2_1708961814520_0.055116903796103234","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@sinch/sms","version":"0.0.3","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"007e7ac3f0ac48a2d9f500175331b01d8660789d","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-0.0.3.tgz","fileCount":326,"integrity":"sha512-zSbreCMQxR9tai2eJONIvTyRs7AEDRGvuzrCgo/VeJnmbTGQs8ymFKOgBH5Wa66ZE50wkVPf3S9Z6tKfXEfC+A==","signatures":[{"sig":"MEUCIQCkeLAysnmzDfFpnJHU8p4e/8eioMH+g/Dqvg2U1gwNjgIgTF3tdse++0uRZA9RiKBvCkxHg7+9Rbfa7OTNm4j6WzE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":195351},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"a355a16f30b78d674e47c41983a59e539de777ee","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"^0.0.3"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_0.0.3_1711112259888_0.08744894540931991","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@sinch/sms","version":"0.0.4","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"65f2692160457f2f092f838378098085cb26235a","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-0.0.4.tgz","fileCount":326,"integrity":"sha512-/77N4xn98ROP0th5Czi1TkcPo+EwTogm61Z7oZ4W1DEQosvrx1zPc/XOiT5v5MOUu2MBJVViKP0wB5wN7cEzDg==","signatures":[{"sig":"MEUCIQDGmB5rjI3jTalutKiVuxwjHdEzzCtr65cSlACSwUWq5wIgWkePMbonrH1EaN5biGUACxa01+4dWuunkSNhpSswKEQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":195351},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"32bf1a7b16ea011f4d2e68e98409997237c29908","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"^0.0.4"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_0.0.4_1711116148368_0.5031904703934544","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@sinch/sms","version":"0.0.5","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"19703b9c963f3c467213e53f7ea3cc107ad70613","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-0.0.5.tgz","fileCount":341,"integrity":"sha512-9shdmRs7hDoJqv0utaHEF5zyGlxHPB1JXMuu00BwbNdboAfA+1RPAg7FDw4CrhPhjBUs3gccvZ6XFTdjnz0oug==","signatures":[{"sig":"MEQCIHA9wTYkjYesjF9fPvhNSiJ4T3D61f+1Xy1fGak3TjdCAiBFdcBxZifY3NgRyPh+3thH7hHhXjfKKAuaGLkwpbWVdA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":201596},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"1dcee5f4b10ca5460f01176e6f7e9531542a7d70","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"^0.0.5"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_0.0.5_1712929173820_0.277767444897026","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@sinch/sms","version":"1.0.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"30cf529de4940af0febf5fd1cec4fb7b1def9a99","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.0.0.tgz","fileCount":341,"integrity":"sha512-o0cfkrlyi50O0rddbpGHX/LMct595l+Y+cpE9QYVE7uqrve8bIW8/toi3M1MsMyPQCdJylIOycg2JqXuCOs60Q==","signatures":[{"sig":"MEQCIGjwonGfk1RFole5wyp9VbGmKKSY6ycsmL8uqR7ayk00AiA+Bes1aLVInqbvSF/dfNJpTX91vZqyIgXQ000ihFTi6g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":201340},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"1ef01f84a513088a562c36bdd8cbf3aac780126d","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"^1.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_1.0.0_1713543972160_0.20080809890930862","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@sinch/sms","version":"1.1.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"f619bd5fb7cccd3c6f7e3185fb9f26c21f5321b6","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.1.0.tgz","fileCount":341,"integrity":"sha512-6QXpLujzcl5jTvYFmB+UebVWYGXEHaRBsmE1vG7GAwIAOrCxdpusvSWitHeigCUz9CxrzdjC+3JmlS7q7rbONA==","signatures":[{"sig":"MEUCIQCIxpkcGX3uvqfckdeG1x0WDSjbJKmWBDyc+A90/5JbVAIgYzNPBy/vxYEjMLysdrUGm/wNlGo4uSEfwR3+5lc2/Ec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":195914},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"2360660d9bc4bc68602f678aa93a22c12d1f0d90","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"^1.1.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_1.1.0_1715692816371_0.42106966682095304","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@sinch/sms","version":"1.2.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"8feecb98d74524916d69c31a8591602903c94ef7","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.2.0.tgz","fileCount":341,"integrity":"sha512-UPPI0eAyX6FDaH7uHZftL8MbseAHbuxk39Ndo76I3R7Jj5kAcoj4EDkMHBkUdtNdZdJsBnRMUc5pEgl3qjTHkQ==","signatures":[{"sig":"MEYCIQCLXgIKE5YjXL0svOvozA6m0riT4YJpDEFMjnTfvRnmvQIhAJEHobkuSmc5I1mkS34a4wfa0KNfPORN5UyxGPlHpHfD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":195762},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"db3c5dbb232fa9747f8884cb8a920a92a534c7f1","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo","test:e2e":"cucumber-js"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.7.0","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.20.4","dependencies":{"@sinch/sdk-client":"^1.2.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_1.2.0_1728033798702_0.15382033710746001","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@sinch/sms","version":"1.2.1","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@1.2.1","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"homepage":"","dist":{"shasum":"aa753395a80c67e46a8ee1a80b66fd10adea1f6b","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.2.1.tgz","fileCount":341,"integrity":"sha512-4NRrZpJU1d3R/N85yJgtDWURrxYf4dSqnIgINV14ibdeIy3Z80E0CVcsfCaeXzDSTzay4eRX6kYL9nyVxMF6hg==","signatures":[{"sig":"MEUCIBkUxtTYO//ga9kZv+jbtQ2C6PuJoXbzVGx4udUtOXNkAiEAiz+vU6VDd0fe5jP/ow5IH19l1jnY9LhLWbNMKr0oX2o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195949},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"0376c0b5b35d5d385f678f8af9d9af79c411d27d","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo","test:e2e":"cucumber-js"},"_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":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"^1.2.1"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_1.2.1_1751365166757_0.43913278753605267","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@sinch/sms","version":"1.3.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@1.3.0","maintainers":[{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},{"name":"jpportier_sinch","email":"jean-pierre.portier@sinch.com"}],"homepage":"","dist":{"shasum":"9919a8d5fad6f1e5e0499d8e1275324b8cc837ca","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.3.0.tgz","fileCount":341,"integrity":"sha512-2VuUIGlBrQ7gWqfBCFbJ5U2xPa3KtF/pxPHGu5R0KKTBYb06QwuJud5wmBlBhta/cC/63TsTftuzPBBwFGlgdg==","signatures":[{"sig":"MEUCIQC44yYfOzZNQ+vkGWNehdVSl9XZ2rMpVTIjV3qe/hF3LAIgLSpSXAef2MIlYavUoYdNdGsy1a+2ZLPp8TrHNKN3IQM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":199620},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"33d75bea08667edeb2211e03147d509649c174f2","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo","test:e2e":"cucumber-js"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"^1.3.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_1.3.0_1755116558559_0.690243526815955","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@sinch/sms","version":"1.4.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"13ec4e92ad8852b0a092fb6fde28bc33514ca0fc","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.4.0.tgz","fileCount":338,"integrity":"sha512-RXjuETNlFYYFNfjgDQhIn2HJ+IncC3ELulr8l/syEVcZdgqGN1jiK9N1noHH/g4YbEEGmXDegdYG5/K3/KsXxA==","signatures":[{"sig":"MEYCIQCci8mVq1lRS5wihmrk4+S2Vrmkt7ygDh34V64N9APtpQIhANOk/kJJiiyvhm1SXuD1WHp5hiwxlOjlRBzmZA9whech","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198022},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"72161d356b0a307a1af7a077fbd8cea80e4a4e48","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo","test:e2e":"cucumber-js"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"^1.4.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_1.4.0_1774965460666_0.4005166675323897","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@sinch/sms","version":"1.4.1","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"c4e83b1f54a6961f2e425ae62bd8559fcb5bce15","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.4.1.tgz","fileCount":338,"integrity":"sha512-Vj97gVLluu5WIgXx+yZcYCWOwX4haxGt4oe5Px+dCxrGvRZ4vTsPyz/Qkng8Jzsrj6Y16aJ+boZcKkv6SC6DLA==","signatures":[{"sig":"MEUCIF8AR/At8qXfLzUpaZnkkFmuV9qTVOGB2ki7D4JzqkJaAiEAlnz8QPBwbE9IEy7QBH1lXR5oRQlW9Flu3NJGthg43xM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198039},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"2c6da680228ced427a695ad87a115d5198a077fe","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo","test:e2e":"cucumber-js"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"9.8.1","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.18.0","dependencies":{"@sinch/sdk-client":"1.4.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_1.4.1_1776085869041_0.2225909168853022","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@sinch/sms","version":"1.4.2","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"6f924a97cb97d109ce12b2cc1aeef2da555bce01","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.4.2.tgz","fileCount":338,"integrity":"sha512-vBU5Ld2DgvaG4317bwH7dbLYedAFFBnrdlsEIlAi8EyU5pKFgI8ALQh0OcQu1e11DGIGIs+QgA8FGJ9utU0g8A==","signatures":[{"sig":"MEYCIQD3RmGhEtuHu60hlw+rX+zMapf5bx9Lxp6FCw2F+8dapQIhAL9uVoEeGJY9kXha+cBdD72VipHIpTOanjKgCgOCiqWG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198039},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"3d302407043ec7ee71a7c3c4f09aca6eba23d382","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo","test:e2e":"cucumber-js"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"20.18.1","dependencies":{"@sinch/sdk-client":"1.4.1"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_1.4.2_1778595984612_0.3250176209947482","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@sinch/sms","version":"1.4.3","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"e82e234b5d1e770e1a8c9b6159eb0e85e649a9d4","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.4.3.tgz","fileCount":338,"integrity":"sha512-qS+ar7GPpfS9tcmv7wNKhkPIHFhSWaZN8RIi4FnZvv/xtxLiMtTXDKjy0z1W3QRy1l1275mJniS9Iwq5cC3nUA==","signatures":[{"sig":"MEYCIQCCgvIxE8MpkAxCRK1ZzBFTH/PWs3yhqJ4ONIooQFq7gwIhAPPWAxR98zQkxs8TUaL+ge3rbPZi/ZJSEW3O+8ozA6nz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198039},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"7aa599e5e6fcf08e23ea0be42ffc196c8d0c7762","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo","test:e2e":"cucumber-js"},"_npmUser":{"name":"asein_sinch","email":"Antoin.Sein@Sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.20.8","dependencies":{"@sinch/sdk-client":"1.4.2"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_1.4.3_1779120555159_0.3313973096544818","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@sinch/sms","version":"1.5.0","author":{"name":"Sinch"},"license":"Apache-2.0","_id":"@sinch/sms@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":"e57c8bd8da1a4517d807ecb8f3d11b56f34da592","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.5.0.tgz","fileCount":338,"integrity":"sha512-6JzHKTYn57a4D/3piyrX324nPMD9a9IWrHZxh07hFPiytWi6YU5B1K9GtCZ97iIu0ib8cOT3qLRvLxAyqGVQkA==","signatures":[{"sig":"MEYCIQDIcFuHsderINA0g0U+D7v/K7Ta2NyAW0wReOz0umaXRQIhAOsbwJmOxpwUM+Q77gtpSD6s2XwwQpxmeyKzoszvV61q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198787},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"95070386a9c08bd06f231dace89e4f46eba7a5a5","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo","test:e2e":"cucumber-js"},"_npmUser":{"name":"hugo-rivas-sinch","email":"hugo.rivas@sinch.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Sinch SMS API","directories":{"src":"dist","test":"tests"},"_nodeVersion":"18.20.8","dependencies":{"@sinch/sdk-client":"1.5.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/sms_1.5.0_1782920553193_0.21360949368466575","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"_id":"@sinch/sms@1.6.0","dist":{"shasum":"d2888ddf168f043a0dcccfadf6b931d09e17ebf2","tarball":"https://registry.npmjs.org/@sinch/sms/-/sms-1.6.0.tgz","fileCount":338,"integrity":"sha512-UcfqMTuwQmNaLn2hgkls+QDiHvGZuzSe17fHXF3ozPRjR29W+1OKKltjFunRPEOrCQ4dlwBHophvB57gh7gwKg==","signatures":[{"sig":"MEQCIF5lyF6cs/UjIOJAFfadW+7kDj0apTQc2h4F8sMsGWJSAiA8LEdRCDeXuZG4HYg9XnTvbN4uctp69BiciFc/Yff+Yw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIA5RjRDj/xNnHffj9LBW1QmpY+XS1+tLUsH2piciVrN1AiBTJFfY43whw3CuJ/qTvGejhJ9Sf3Fg0dNeDuftCyLtsQ=="}],"unpackedSize":198587},"main":"dist/index.js","name":"@sinch/sms","types":"dist/index.d.ts","author":{"name":"Sinch"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"6b855095cdb2ab4f203caadbba0aadf8fdc6b662","license":"Apache-2.0","scripts":{"build":"yarn run clean && yarn run compile","clean":"rimraf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo","compile":"tsc -p tsconfig.build.json && tsc -p tsconfig.tests.json && rimraf dist/tests tsconfig.build.tsbuildinfo","test:e2e":"TS_NODE_PROJECT=tsconfig.tests.json cucumber-js"},"version":"1.6.0","_npmUser":{"name":"hugo-rivas-sinch","email":"hugo.rivas@sinch.com"},"homepage":"","repository":{"url":"","type":"git"},"_npmVersion":"10.8.2","description":"Sinch SMS API","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/sdk-client":"1.6.0"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sms_1.6.0_1790162467075_0.592426686530547"}}},"time":{"created":"2023-12-18T18:32:53.471Z","modified":"2026-09-23T11:21:07.414Z","0.0.0":"2023-12-18T18:32:53.641Z","0.0.1":"2024-01-22T16:29:12.222Z","0.0.2":"2024-02-26T15:36:54.748Z","0.0.3":"2024-03-22T12:57:40.070Z","0.0.4":"2024-03-22T14:02:28.559Z","0.0.5":"2024-04-12T13:39:33.977Z","1.0.0":"2024-04-19T16:26:12.387Z","1.1.0":"2024-05-14T13:20:16.610Z","1.2.0":"2024-10-04T09:23:18.940Z","1.2.1":"2025-07-01T10:19:27.008Z","1.3.0":"2025-08-13T20:22:38.758Z","1.4.0":"2026-03-31T13:57:40.794Z","1.4.1":"2026-04-13T13:11:09.205Z","1.4.2":"2026-05-12T14:26:24.840Z","1.4.3":"2026-05-18T16:09:15.303Z","1.5.0":"2026-07-01T15:42:33.337Z","1.6.0":"2026-09-23T11:21:07.158Z"},"author":{"name":"Sinch"},"license":"Apache-2.0","repository":{"url":"","type":"git"},"description":"Sinch SMS API","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 SMS SDK for Node.js\n\nThis package contains the Sinch SMS SDK for Node.js for use with [Sinch APIs](https://developers.sinch.com/). 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\nWe recommend to use this SDK as part of the [`@sinch/sdk-core`](../../packages/sdk-core) package in order to make the most out of all the Sinch products.\n\nHowever, it's still possible to use this SDK standalone is you need to access the SMS API only.\n\n### With NPM\n\n```bash\nnpm install @sinch/sms\n```\n\n### With Yarn\n\n```bash\nyarn add @sinch/sms\n```\n\n## Usage\n\n### Credentials\n\nThe `SMS` API uses the Sinch unified authentication with OAuth2 **for the US and EU regions only**. You will need to provide the following credentials:\n- projectId: can be found in the [Account Dashboard](https://dashboard.sinch.com/settings/access-keys)\n- keyId:: can be found in your Access key list in the [Account Dashboard](https://dashboard.sinch.com/settings/access-keys)\n- keySecret: can be found **ONLY** when generating a new access key: keep it safe!\n\nIf you want to use the other regions (BR, AU or CA) or if you prefer to use this type of credential for US or EU, you can use the API Token authentication. You will need to provide the following credentials:\n- servicePlanId: can be found in the SMS dashboard, under [Services Apis](https://dashboard.sinch.com/sms/api/services)\n- apiToken: can be found in the SMS dashboard, under [Services Apis](https://dashboard.sinch.com/sms/api/services)\n\n\n### As part of the Sinch SDK\n\nIf you are using this SDK as part of the Sinch SDK (`@sinch/sdk-core`) you can access it as the `sms` property of the client that you would have instantiated.\n\n```typescript\nimport { \n  Sms,\n  SmsService,\n  SinchClient,\n  ServicePlanIdCredentials,\n  UnifiedCredentials,\n  SmsRegion,\n} from '@sinch/sdk-core';\n\nconst credentialsWithProjectId: UnifiedCredentials = {\n  projectId: 'PROJECT_ID',\n  keyId: 'KEY_ID',\n  keySecret: 'KEY_SECRET',\n  smsRegion: SmsRegion.UNITED_STATES, // Optional, default is 'us'. Only other possibility is 'eu'\n};\n// Access the 'sms' service registered on the Sinch Client\nconst sinchClientCreatedWithProjectId = new SinchClient(credentialsWithProjectId);\nconst smsServiceWithProjectId: SmsService = sinchClientCreatedWithProjectId.sms;\n\nconst credentialsWithServicePlanId: ServicePlanIdCredentials = {\n  servicePlanId: 'SERVICE_PLAN_ID',\n  apiToken: 'API_TOKEN',\n  smsRegion: SmsRegion.UNITED_STATES, // Optional, default is 'us'. Other possibilities are 'eu', 'br', 'au' and 'ca'\n};\n// Access the 'sms' service registered on the Sinch Client\nconst sinchClientCreatedWithServicePlanId = new SinchClient(credentialsWithServicePlanId);\nconst smsServiceWithServicePlanId: SmsService = sinchClientCreatedWithServicePlanId.sms;\n\n// Build the request data\nconst requestData: Sms.SendSMSRequestData = {\n  sendSMSRequestBody: {\n    to: [\n       '+12223334444',\n       '+12223335555',\n    ],\n    from: '+12228889999',\n    parameters: {\n       name: {\n          '+12223334444': 'John',\n          default: 'there',\n       },\n    },\n    body: 'Hi ${name}',\n    type: 'mt_text', \n  },\n};\n\n// Use the 'sms' service registered on the Sinch client\n// The request will be authenticated with OAuth2 and sent to https://zt.us.sms.api.sinch.com\nconst availabilityResult_1: Sms.SendSMSResponse \n    = await smsServiceWithProjectId.batches.send(requestData);\n\n// Use the 'sms' service registered on the Sinch client\n// The request will be authenticated with the API Token and sent to https://us.sms.api.sinch.com\nconst availabilityResult_2: Sms.SendSMSResponse \n    = await smsServiceWithServicePlanId.batches.send(requestData);\n```\n\n### Standalone\n\nThe SDK can be used standalone if you need to use only the SMS APIs. As for a usage with the Sinch Client, you can choose to use the `projectId` or `servicePlanId` credentials.\n\n```typescript\nimport {\n  SmsRegion,\n  ServicePlanIdCredentials,\n  UnifiedCredentials,\n } from '@sinch/sdk-client';\nimport { \n  Sms,\n  SmsService,\n} from '@sinch/sms';\n\nconst credentialsWithProjectId: UnifiedCredentials = {\n  projectId: 'PROJECT_ID',\n  keyId: 'KEY_ID',\n  keySecret: 'KEY_SECRET',\n  smsRegion: SmsRegion.UNITED_STATES, // Optional, default is 'us'. Only other possibility is 'eu'\n};\n// Declare the 'sms' service in a standalone way\nconst smsServiceWithProjectId = new SmsService(credentialsWithProjectId);\n\nconst credentialsWithServicePlanId: ServicePlanIdCredentials = {\n  servicePlanId: 'SERVICE_PLAN_ID',\n  apiToken: 'API_TOKEN',\n  smsRegion: SmsRegion.UNITED_STATES, // Optional, default is 'us'. Other possibilities are 'eu', 'br', 'au' and 'ca'\n};\n// Declare the 'sms' service in a standalone way\nconst smsServiceWithServicePlanId = new SmsService(credentialsWithServicePlanId);\n\n// Build the request data\nconst requestData: Sms.SendSMSRequestData = {\n    // some request parameters\n};\n\n// Use the standalone declaration of the 'sms' service\n// The request will be authenticated with OAuth2 and sent to https://zt.us.sms.api.sinch.com\nconst response_1: Sms.SendSMSResponse = await smsServiceWithProjectId.batches.send(requestData);\n\n// Use the standalone declaration of the 'sms' service\n// The request will be authenticated with the API Token and sent to https://us.sms.api.sinch.com\nconst response_2: Sms.SendSMSResponse = await smsServiceWithServicePlanId.batches.send(requestData);\n```\n\n## Other parameters\n\n`smsHostname`: You can override the default hostname used to send requests to the SMS API by providing the `smsHostname` parameter in the `SinchClientParameters` object. By default, the hostname is built based on the selected region and authentication method.\n - For OAuth2 authentication, the default hostname is `zt.{region}.sms.api.sinch.com`\n - For API Token authentication, the default hostname is `{region}.sms.api.sinch.com`\n\n```typescript\nconst credentials: UnifiedCredentials = {\n  projectId: 'PROJECT_ID',\n  keyId: 'KEY_ID',\n  keySecret: 'KEY_SECRET',\n  smsHostname: 'my.custom.domain.com',\n};\nconst smsService = new SmsService(credentials);\n```\n\n## Promises\n\nAll the methods that interact with the Sinch APIs use Promises. You can use `await` in an `async` method to wait for the response, or you can resolve them yourself with `then()` / `catch()`.\n\n```typescript\n// Method 1: Wait for the Promise to complete (you need to be in an 'async' method)\nlet batchResponse: Sms.SendSMSResponse;\ntry {\n  batchResponse = await smsService.batches.send(requestData);\n  console.log(`The SMS has been sent successfully: batch id = ${batchResponse.id}`);\n} catch (error: any) {\n  console.error(`ERROR ${error.statusCode}: the SMS could not be sent`);\n}\n\n// Method 2: Resolve the promise\nsmsService.batches.send(requestData)\n  .then(response => console.log(`The SMS has been sent successfully: batch id = ${response.id}`))\n  .catch(error => console.error(`ERROR ${error.statusCode}: the SMS could not be sent`));\n```\n\n## Contact\nDeveloper Experience team: [devexp@sinch.com](mailto:devexp@sinch.com)\n","readmeFilename":"README.md"}