{"_id":"2office-sms","_rev":"7-52f9ac858c87d4f19f79fb40979e4582","name":"2office-sms","time":{"modified":"2022-06-12T14:07:00.862Z","created":"2017-02-21T09:45:44.525Z","0.1.0":"2017-02-21T09:45:44.525Z","0.1.1":"2017-02-21T09:49:21.589Z","0.2.0":"2017-02-21T10:31:59.443Z","0.2.1":"2017-02-21T13:12:24.194Z","0.3.0":"2017-02-22T05:17:34.442Z"},"maintainers":[{"name":"gaara","email":"senellise@gmail.com"}],"dist-tags":{"latest":"0.3.0"},"description":"send sms use 2office service","readme":"## Install\n```\nnpm i 2office-sms --save\n```\n\n## Usage\n```\nconst Office2 = require('../')\n\nconst office2 = new Office2({\n  account: 'your_2office_account',\n  password: 'your_2office_password',\n  servivalKey: 'your_2office_key'\n})\n\noffice2.sendSms('18902xxxxxx', 'message content', 'your_channel', new Date().getTime(), 1, function (err, result) {\n  return done(err)\n})\n```\n\n## Api\n\n- sendSms\n  send normal sms(text message)\n- sendVoiceSms\n  send voice sms(voice call)\n\n## Test\n\nmodify `test/fixture.json`, and run `mocha`\n","versions":{"0.1.1":{"name":"2office-sms","version":"0.1.1","description":"send sms use 2office service","main":"index.js","scripts":{"test":"mocha"},"author":{"name":"gaara","email":"senellise@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/sabakugaara/2office-sms.git"},"devDependencies":{"mocha":"^3.2.0"},"dependencies":{"request":"^2.79.0","xml2js":"^0.4.17"},"gitHead":"94d2d8726187edc3ae3147a2ee636e8557b1b607","bugs":{"url":"https://github.com/sabakugaara/2office-sms/issues"},"homepage":"https://github.com/sabakugaara/2office-sms#readme","_id":"2office-sms@0.1.1","_shasum":"b3d18aaaf6d4d8d6a5e695fe1979a9a6ad1d762c","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"gaara","email":"senellise@gmail.com"},"dist":{"shasum":"b3d18aaaf6d4d8d6a5e695fe1979a9a6ad1d762c","tarball":"https://registry.npmjs.org/2office-sms/-/2office-sms-0.1.1.tgz","integrity":"sha512-fBZM8MkOvNnkFi0EJ5WP5kPjEPULUft1VNpq6JzO9OVdvwLrJtSXGruqy44Th8hZm9pZddwesIHwYsfIna/GiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgYpYoAgJDebHRMi/OMH41y/2U2XSvdjcfbyZq62WGMAiEA0hMcEPPr1p/N+k4w8tbdjoYN3STf+5z9xyeWKyNUa0Q="}]},"maintainers":[{"name":"gaara","email":"senellise@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/2office-sms-0.1.1.tgz_1487670561377_0.42511802609078586"}},"0.2.0":{"name":"2office-sms","version":"0.2.0","description":"send sms use 2office service","main":"index.js","scripts":{"test":"mocha"},"author":{"name":"gaara","email":"senellise@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/sabakugaara/2office-sms.git"},"devDependencies":{"mocha":"^3.2.0"},"dependencies":{"request":"^2.79.0","xml2js":"^0.4.17"},"gitHead":"7ba9e7ff7fd625b82ef02cb750bd8e25d59bfa50","bugs":{"url":"https://github.com/sabakugaara/2office-sms/issues"},"homepage":"https://github.com/sabakugaara/2office-sms#readme","_id":"2office-sms@0.2.0","_shasum":"992da6a734b0b9a4fef9b3fabfba430e4246964b","_from":".","_npmVersion":"4.2.0","_nodeVersion":"4.4.0","_npmUser":{"name":"gaara","email":"senellise@gmail.com"},"dist":{"shasum":"992da6a734b0b9a4fef9b3fabfba430e4246964b","tarball":"https://registry.npmjs.org/2office-sms/-/2office-sms-0.2.0.tgz","integrity":"sha512-9IWg+NA/8h2GSXTVaet96XNmxZKY8JM96zb5Uel4hlNBw51Zp5w/UKgs3CW4Lfda7+wU7dsL585yo5AT4V6Rag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDR0YOCWWJfeIG2KQY2wIZYUw0OiD+VO5yMv3BqX5JYeAiEAt306JsIqHwQ8jX2tC3YbS5TE1w2JXsKu/32hPiFvvHA="}]},"maintainers":[{"name":"gaara","email":"senellise@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2office-sms-0.2.0.tgz_1487673117750_0.7806971615646034"}},"0.2.1":{"name":"2office-sms","version":"0.2.1","description":"send sms use 2office service","main":"index.js","scripts":{"test":"mocha"},"author":{"name":"gaara","email":"senellise@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/sabakugaara/2office-sms.git"},"devDependencies":{"mocha":"^3.2.0"},"dependencies":{"request":"^2.79.0","xml2js":"^0.4.17"},"gitHead":"30798b06500d904c75ac8dc4e4ee3e87a9d7b7de","bugs":{"url":"https://github.com/sabakugaara/2office-sms/issues"},"homepage":"https://github.com/sabakugaara/2office-sms#readme","_id":"2office-sms@0.2.1","_shasum":"a9b44666a506a658448dc27fc32e137548eb6a16","_from":".","_npmVersion":"4.2.0","_nodeVersion":"4.4.0","_npmUser":{"name":"gaara","email":"senellise@gmail.com"},"dist":{"shasum":"a9b44666a506a658448dc27fc32e137548eb6a16","tarball":"https://registry.npmjs.org/2office-sms/-/2office-sms-0.2.1.tgz","integrity":"sha512-gU9U5CfN8NL841xfTZUODQO0UYq98JE+vzjyMy8Fmub4ws4jBPgd3p6qGAIBIcclAq4bQWQK+sSX/QBszs1DVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+Xxxnqd9GFlObt3oBeuICniIqNlzfnJz/aPz+tKAAPAiEA8J/2lgBsMvzpBjlZ/TD30HPsAJH7h22W6dnBg988aAE="}]},"maintainers":[{"name":"gaara","email":"senellise@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2office-sms-0.2.1.tgz_1487682742299_0.401234308257699"}},"0.3.0":{"name":"2office-sms","version":"0.3.0","description":"send sms use 2office service","main":"index.js","scripts":{"test":"mocha"},"author":{"name":"gaara","email":"senellise@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/sabakugaara/2office-sms.git"},"devDependencies":{"mocha":"^3.2.0"},"dependencies":{"request":"^2.79.0","xml2js":"^0.4.17"},"gitHead":"732230601a4f1ae500f55d970cfe657419702183","bugs":{"url":"https://github.com/sabakugaara/2office-sms/issues"},"homepage":"https://github.com/sabakugaara/2office-sms#readme","_id":"2office-sms@0.3.0","_shasum":"bad96ff272c50635833d1bd7476a8a7ffca147a5","_from":".","_npmVersion":"4.2.0","_nodeVersion":"4.4.0","_npmUser":{"name":"gaara","email":"senellise@gmail.com"},"dist":{"shasum":"bad96ff272c50635833d1bd7476a8a7ffca147a5","tarball":"https://registry.npmjs.org/2office-sms/-/2office-sms-0.3.0.tgz","integrity":"sha512-9SNoIj/74Hh5ueDWbx9M3++2pnvKpY8HhWdQETd38xuFjHnLgqAtK3btJshRL4RAazNYYejo2/gotpo+NdN5eA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLqQJ9mWzG/rUSAjgQhyVr6gY0e0q9Yf/6HujZm2t/zgIhAMm7/A7Z5K629rk987jggGZIF+NnSbzAOZVS8xJQ0ITL"}]},"maintainers":[{"name":"gaara","email":"senellise@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2office-sms-0.3.0.tgz_1487740652669_0.544433364411816"}}},"homepage":"https://github.com/sabakugaara/2office-sms#readme","repository":{"type":"git","url":"git+https://github.com/sabakugaara/2office-sms.git"},"author":{"name":"gaara","email":"senellise@gmail.com"},"bugs":{"url":"https://github.com/sabakugaara/2office-sms/issues"},"license":"MIT","readmeFilename":"README.md"}