Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
smart-sms-solutions
Advanced tools
Smart-SMS-Solutions sdk - https://developer.smartsmssolutions.com/
pnpm add smart-sms-solutions
npm install smart-sms-solutions
yarn add smart-sms-solutions
bun add smart-sms-solutions
import SmartSmsSolutions from "smart-sms-solutions";
const smartSmsSolutions = new SmartSmsSolutions("api_key");
const balance = await smartSmsSolutions.getBalance();
const balance = await smartSmsSolutions.getBalance();
const dataProductList = await smartSmsSolutions.getDataProductList(
"080********",
"SME"
);
phoneNumber
- The phone number of the usersort
- The sort order of the list of data products. Can be undefined
or SME
. If you need more sort options, please open an issue.const buyInternetData = await smartSmsSolutions.buyInternetData({
phone: "080********",
productName: "product-name",
refId: "ref-id",
});
const buyAirtime = await smartSmsSolutions.buyAirtime({
phone: "080********",
amount: 1000,
refId: "ref-id",
});
const voiceOtpRequest = await smartSmsSolutions.voiceOtpRequest({
phone: "080********",
otp: "123456",
refId: "ref-id",
classTitle: "THREE_DIGITS_ONCE",
});
classCode
or classTitle
property. You can't use both at the same time.classTitle
can be THREE_DIGITS_ONCE
, THREE_DIGITS_TWICE
, FOUR_DIGITS_ONCE
, FOUR_DIGITS_TWICE
, SIX_DIGITS_ONCE
, SIX_DIGITS_TWICE
classTitle
inputs the class code for you.classCode
is the code of the voice otp class. e.g. B1DXW4V8YA. Here you have to input the class code yourself.const voiceOtpDeliveryStatus = await smartSmsSolutions.voiceOtpDeliveryStatus({
refId: "ref-id",
logId: "log-id",
});
const sendSmsOtp = await smartSmsSolutions.sendSmsOtp({
phone: "080********",
otp: "123456",
refId: "ref-id",
senderId: "sender-id",
appNameCode: "app-name-code",
templateCode: "template-code",
});
const sendSms = await smartSmsSolutions.sendSms({
to: "080********",
message: "message",
refId: "ref-id",
senderId: "sender-id",
dirTimeout: "dir-timeout",
routing: "routing",
schedule: "schedule",
type: "type",
simServerToken: "sim-server-token",
});
to
, senderId
and message
are requiredtype
defaults to 0routing
defaults to 3const submitSenderId = await smartSmsSolutions.submitSenderId({
senderId: "sender-id",
message: "message",
address: "address",
organizationName: "organization-name",
registrationNumber: "registration-number",
});
const getPhoneInfo = await smartSmsSolutions.getPhoneInfo({
phone: "080********",
type: "type",
});
FAQs
Smart-SMS-Solutions sdk - https://developer.smartsmssolutions.com/
The npm package smart-sms-solutions receives a total of 0 weekly downloads. As such, smart-sms-solutions popularity was classified as not popular.
We found that smart-sms-solutions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.