mirror of
https://github.com/logto-io/logto.git
synced 2025-01-13 21:30:30 -05:00
6b322a537c
the initial commit to move all connector packages to the main repo.
10 lines
429 B
TypeScript
10 lines
429 B
TypeScript
import { endpoint, staticConfigs } from './constant.js';
|
|
import type { PublicParameters, SendSms } from './types.js';
|
|
import { request } from './utils.js';
|
|
|
|
/**
|
|
* @doc https://help.aliyun.com/document_detail/101414.html
|
|
*/
|
|
export const sendSms = async (parameters: PublicParameters & SendSms, accessKeySecret: string) => {
|
|
return request(endpoint, { Action: 'SendSms', ...staticConfigs, ...parameters }, accessKeySecret);
|
|
};
|