@alipeople/sendon-sdk-typescript

中文文档
1.0.6发布于 2026/08/27MITTypeScriptESM + CJS近 30 天下载 6429

OpenAPI client for @alipeople/sendon-sdk-typescript

原始使用文档
文档目录24 节
  1. 📦 Installation
  2. 🚀 Quick Start
  3. ✨ Features
  4. 📱 SMS Service
  5. 💬 Kakao Service
  6. 🎯 RCS Service
  7. 🚫 Contacts Service
  8. 📤 Sender Service
  9. 💳 Payment Service
  10. 💰 Point Service
  11. 📖 API Reference
  12. Initialization
  13. SMS Service
  14. Kakao Service
  15. RCS Service
  16. Contacts Service (Blocklist)
  17. Payment Service
  18. Point Service
  19. Sender Service
  20. 🔒 Security
  21. 📊 Performance
  22. 🛠️ Development
  23. 📄 License
  24. 🤝 Support

Sendon SDK for TypeScript

npm version License TypeScript Axios

Enterprise-grade messaging SDK for seamless integration with multiple messaging channels

Installation • Quick Start • Features • API Reference • Support


📦 Installation

npm install @alipeople/sendon-sdk-typescript

or with Yarn:

yarn add @alipeople/sendon-sdk-typescript

🚀 Quick Start

import { Sendon } from '@alipeople/sendon-sdk-typescript';

// Initialize the SDK
const sendon = new Sendon({
  id: 'your-api-id',
  apikey: 'your-api-key',
  debug: false // Optional: Enable debug mode for detailed logging
});

// Send an SMS message
const result = await sendon.sms.send({
  from: '01012345678',
  to: ['01087654321'],
  message: 'Hello, World!'
});

✨ Features

📱 SMS Service

Complete SMS/LMS/MMS messaging capabilities with enterprise-grade reliability.

  • SMS/LMS Messaging: Send short and long text messages
  • MMS Support: Rich media messaging with images
  • Bulk Sending: Efficiently send messages to multiple recipients
  • Scheduled Delivery: Schedule messages for optimal timing
  • Delivery Reports: Real-time status tracking and reporting
  • Image Management: Upload and manage MMS images

💬 Kakao Service

Comprehensive Kakao Business Messaging integration for AlimTalk and BrandMessage.

  • AlimTalk: Template-based informational messaging
  • BrandMessage: Rich promotional messaging with various templates
    • Text, Image, Wide, Wide Item List, and Carousel Feed formats
  • Template Management: Create, update, and manage message templates
  • Send Profile Management: Handle multiple sender profiles
  • Review System: Template review request and status tracking
  • Bulk Messaging: Send to multiple recipients efficiently

🎯 RCS Service

Next-generation Rich Communication Services for enhanced mobile messaging.

  • Rich Media Support: Interactive cards, carousels, and buttons
  • Branded Messaging: Custom branding and styling
  • CSV Upload: Bulk recipient management via CSV
  • Advanced Analytics: Detailed message performance tracking
  • Fallback Options: Automatic fallback to SMS/MMS

🚫 Contacts Service

Blocklist management for messaging control.

  • Blocklist Management: Add and remove numbers from blocklist
  • Multi-Channel Support: Block numbers across SMS and Kakao channels
  • Block Type Filtering: Different blocking categories
  • Date Range Queries: Search blocklist by date ranges
  • Pagination Support: Efficient handling of large blocklists

📤 Sender Service

Sender number management and verification.

  • Number Listing: View all registered sender numbers
  • Pagination Support: Browse through multiple sender numbers
  • Number Verification: Verified sender number management

💳 Payment Service

Payment history and transaction tracking.

  • Payment History: View detailed payment transaction logs
  • Date Range Filtering: Search payments by date range
  • Transaction Details: Access specific payment information
  • Pagination Support: Navigate through payment records

💰 Point Service

Message cost calculation and point tracking.

  • Cost Calculation: Get message sending costs
  • Point Listing: View available points and balances
  • Usage Tracking: Monitor point consumption

📖 API Reference

Initialization

const sendon = new Sendon({
  id: string,        // Your API ID
  apikey: string,    // Your API Key
  debug?: boolean    // Enable debug logging (optional)
});

SMS Service

// Send SMS/LMS/MMS
await sendon.sms.send({
  from: string,
  to: string[],
  message: string,
  subject?: string,  // For LMS/MMS
  images?: File[]    // For MMS
});

// Cancel scheduled message
await sendon.sms.cancel(groupId);

// Get message status
await sendon.sms.find(groupId);

Kakao Service

// Send AlimTalk
await sendon.kakao.sendAlimTalk({
  sendProfileId: string,
  templateCode: string,
  messages: MessageData[]
});

// Send BrandMessage
await sendon.kakao.sendBrandMessage({
  sendProfileId: string,
  templateCode: string,
  messages: MessageData[]
});

// Template Management
await sendon.kakao.createTemplate(sendProfileId, templateData);
await sendon.kakao.getTemplates(sendProfileId, query);
await sendon.kakao.updateTemplate(sendProfileId, templateId, templateData);

RCS Service

// Send RCS message
await sendon.rcs.send({
  messageType: 'SMS' | 'LMS' | 'MMS' | 'RCS',
  from: string,
  messages: RcsMessageData[]
});

// Get CSV upload URL
await sendon.rcs.createCsvUploadUrl();

Contacts Service (Blocklist)

// Create blocklist entry
await sendon.contacts.createBlocklist({
  phoneNumbers: ['01012345678'],
  blockType: 'SMS',
  senderNumber: '0212345678'
});

// Get blocklist
await sendon.contacts.getBlocklist({
  blockType: ['SMS', 'KAKAO'],
  limit: 100
});

// Delete from blocklist
await sendon.contacts.deleteBlocklist(blocklistId);

Payment Service

// Get payment history
await sendon.payment.getPaymentHistories({
  startDate: new Date('2024-01-01'),
  endDate: new Date('2024-12-31'),
  page: 1,
  limit: 20
});

// Get payment detail
await sendon.payment.getPaymentHistoryDetail(historyId);

Point Service

// Get message costs
await sendon.point.getCost();

// List available points
await sendon.point.listPoints();

Sender Service

// List registered sender numbers
await sendon.sender.listUserNumbers(page, limit);

🔒 Security

  • Secure Authentication: API key-based authentication
  • Data Encryption: All data transmitted via HTTPS
  • Rate Limiting: Built-in rate limit handling
  • Error Handling: Comprehensive error management

📊 Performance

  • Optimized Batching: Efficient bulk operations
  • Connection Pooling: Reusable HTTP connections
  • Async/Await Support: Modern asynchronous patterns
  • TypeScript Native: Full type safety and IntelliSense

🛠️ Development

This SDK is built with:

  • TypeScript 5.1+ for type safety
  • Axios for HTTP client
  • OpenAPI Generator for API consistency
  • Vitest for testing

📄 License

This project is licensed under the MIT License.

🤝 Support

For technical support and inquiries, please contact our support team or visit our documentation portal.


Built with ❤️ by Alipeople

版本与发布记录

@alipeople/sendon-sdk-typescript 共发布 22 个版本,首次发布于 2025/02/14;过去 12 个月发布了 2 个版本。

版本发布日期距今
1.0.6latest2026/08/272 个月前
1.0.52026/01/289 个月前
1.0.42025/09/251.1 年前
1.0.3-prepare.992025/09/251.1 年前
1.0.32025/07/151.3 年前
1.0.22025/05/251.5 年前

关于 @alipeople/sendon-sdk-typescript 的常见问题

@alipeople/sendon-sdk-typescript 是什么?

OpenAPI client for @alipeople/sendon-sdk-typescript

如何安装 @alipeople/sendon-sdk-typescript?

在项目目录运行 npm install @alipeople/sendon-sdk-typescript,或使用 pnpm add / yarn add / bun add。

@alipeople/sendon-sdk-typescript 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@alipeople/sendon-sdk-typescript 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@alipeople/sendon-sdk-typescript 可以商用吗?

@alipeople/sendon-sdk-typescript 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@alipeople/sendon-sdk-typescript 的下载量有多少?

根据 npm 官方下载统计,@alipeople/sendon-sdk-typescript 在 2026/10/06 – 2026/11/04 这 30 天内被下载 6,429 次,日均约 214 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@alipeople/sendon-sdk-typescript 还在维护吗?

最新版本 1.0.6 发布于 2026/08/27(2 个月前);至今共发布 22 个版本,其中过去 12 个月发布了 2 个;首次发布于 2025/02/14。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。