AligoProvider
Defined in: packages/provider/src/aligo/provider.ts:22
Aligo Provider package entrypoint
Extends
섹션 제목: “Extends”Implements
섹션 제목: “Implements”Constructors
섹션 제목: “Constructors”Constructor
섹션 제목: “Constructor”new AligoProvider(
config):AligoProvider
Defined in: packages/provider/src/aligo/provider.send.ts:60
Parameters
섹션 제목: “Parameters”config
섹션 제목: “config”Returns
섹션 제목: “Returns”AligoProvider
Inherited from
섹션 제목: “Inherited from”Properties
섹션 제목: “Properties”
readonlyid:"aligo"="aligo"
Defined in: packages/provider/src/aligo/provider.send.ts:38
Unique identifier for this provider instance. Used for routing and logging.
Example
섹션 제목: “Example”"solapi"Inherited from
섹션 제목: “Inherited from”name
섹션 제목: “name”
readonlyname:"Aligo Smart SMS"="Aligo Smart SMS"
Defined in: packages/provider/src/aligo/provider.send.ts:39
Human-readable name for display purposes.
Example
섹션 제목: “Example”"SOLAPI"Inherited from
섹션 제목: “Inherited from”supportedTypes
섹션 제목: “supportedTypes”
readonlysupportedTypes: readonlyMessageType[]
Defined in: packages/provider/src/aligo/provider.send.ts:40
Message types this provider supports. Messages of unsupported types will be rejected.
Inherited from
섹션 제목: “Inherited from”Methods
섹션 제목: “Methods”addKakaoChannel()
섹션 제목: “addKakaoChannel()”addKakaoChannel(
params):Promise<Result<KakaoChannel,KMsgError>>
Defined in: packages/provider/src/aligo/provider.send.ts:150
Add a Kakao channel after authentication.
Parameters
섹션 제목: “Parameters”params
섹션 제목: “params”authNum
섹션 제목: “authNum”string
categoryCode
섹션 제목: “categoryCode”string
phoneNumber
섹션 제목: “phoneNumber”string
plusId
섹션 제목: “plusId”string
Returns
섹션 제목: “Returns”Promise<Result<KakaoChannel, KMsgError>>
Inherited from
섹션 제목: “Inherited from”createTemplate()
섹션 제목: “createTemplate()”createTemplate(
input,ctx?):Promise<Result<Template,KMsgError>>
Defined in: packages/provider/src/aligo/provider.ts:26
Create a new template.
Parameters
섹션 제목: “Parameters”input
섹션 제목: “input”ctx?
섹션 제목: “ctx?”Returns
섹션 제목: “Returns”Promise<Result<Template, KMsgError>>
Implementation of
섹션 제목: “Implementation of”TemplateProvider.createTemplate
deleteTemplate()
섹션 제목: “deleteTemplate()”deleteTemplate(
code,ctx?):Promise<Result<void,KMsgError>>
Defined in: packages/provider/src/aligo/provider.ts:41
Delete a template by code.
Parameters
섹션 제목: “Parameters”code
섹션 제목: “code”string
ctx?
섹션 제목: “ctx?”Returns
섹션 제목: “Returns”Promise<Result<void, KMsgError>>
Implementation of
섹션 제목: “Implementation of”TemplateProvider.deleteTemplate
getOnboardingSpec()
섹션 제목: “getOnboardingSpec()”getOnboardingSpec():
ProviderOnboardingSpec
Defined in: packages/provider/src/aligo/provider.send.ts:52
Get the onboarding specification for this provider. Used by tooling to guide provider configuration.
Returns
섹션 제목: “Returns”Inherited from
섹션 제목: “Inherited from”AligoProvider.getOnboardingSpec
getTemplate()
섹션 제목: “getTemplate()”getTemplate(
code,ctx?):Promise<Result<Template,KMsgError>>
Defined in: packages/provider/src/aligo/provider.ts:48
Get a template by code.
Parameters
섹션 제목: “Parameters”code
섹션 제목: “code”string
ctx?
섹션 제목: “ctx?”Returns
섹션 제목: “Returns”Promise<Result<Template, KMsgError>>
Implementation of
섹션 제목: “Implementation of”healthCheck()
섹션 제목: “healthCheck()”healthCheck():
Promise<ProviderHealthStatus>
Defined in: packages/provider/src/aligo/provider.send.ts:85
Check if the provider is operational. Used for health monitoring and circuit breaker decisions.
Returns
섹션 제목: “Returns”Promise<ProviderHealthStatus>
Inherited from
섹션 제목: “Inherited from”listKakaoChannelCategories()
섹션 제목: “listKakaoChannelCategories()”listKakaoChannelCategories():
Promise<Result<KakaoChannelCategories,KMsgError>>
Defined in: packages/provider/src/aligo/provider.send.ts:137
List available channel categories for registration.
Returns
섹션 제목: “Returns”Promise<Result<KakaoChannelCategories, KMsgError>>
Inherited from
섹션 제목: “Inherited from”AligoProvider.listKakaoChannelCategories
listKakaoChannels()
섹션 제목: “listKakaoChannels()”listKakaoChannels(
params?):Promise<Result<KakaoChannel[],KMsgError>>
Defined in: packages/provider/src/aligo/provider.send.ts:130
List registered Kakao channels.
Parameters
섹션 제목: “Parameters”params?
섹션 제목: “params?”plusId?
섹션 제목: “plusId?”string
senderKey?
섹션 제목: “senderKey?”string
Returns
섹션 제목: “Returns”Promise<Result<KakaoChannel[], KMsgError>>
Inherited from
섹션 제목: “Inherited from”AligoProvider.listKakaoChannels
listTemplates()
섹션 제목: “listTemplates()”listTemplates(
params?,ctx?):Promise<Result<Template[],KMsgError>>
Defined in: packages/provider/src/aligo/provider.ts:55
List templates with optional filtering and pagination.
Parameters
섹션 제목: “Parameters”params?
섹션 제목: “params?”limit?
섹션 제목: “limit?”number
page?
섹션 제목: “page?”number
status?
섹션 제목: “status?”string
ctx?
섹션 제목: “ctx?”Returns
섹션 제목: “Returns”Promise<Result<Template[], KMsgError>>
Implementation of
섹션 제목: “Implementation of”TemplateProvider.listTemplates
requestKakaoChannelAuth()
섹션 제목: “requestKakaoChannelAuth()”requestKakaoChannelAuth(
params):Promise<Result<void,KMsgError>>
Defined in: packages/provider/src/aligo/provider.send.ts:143
Request authentication SMS for channel registration.
Parameters
섹션 제목: “Parameters”params
섹션 제목: “params”phoneNumber
섹션 제목: “phoneNumber”string
plusId
섹션 제목: “plusId”string
Returns
섹션 제목: “Returns”Promise<Result<void, KMsgError>>
Inherited from
섹션 제목: “Inherited from”AligoProvider.requestKakaoChannelAuth
requestTemplateInspection()
섹션 제목: “requestTemplateInspection()”requestTemplateInspection(
code,ctx?):Promise<Result<void,KMsgError>>
Defined in: packages/provider/src/aligo/provider.ts:62
Request inspection for a template (submits for approval review).
Parameters
섹션 제목: “Parameters”code
섹션 제목: “code”string
ctx?
섹션 제목: “ctx?”Returns
섹션 제목: “Returns”Promise<Result<void, KMsgError>>
Implementation of
섹션 제목: “Implementation of”TemplateInspectionProvider.requestTemplateInspection
send()
섹션 제목: “send()”send(
options):Promise<Result<SendResult,KMsgError>>
Defined in: packages/provider/src/aligo/provider.send.ts:124
Send a message through this provider.
Parameters
섹션 제목: “Parameters”options
섹션 제목: “options”Returns
섹션 제목: “Returns”Promise<Result<SendResult, KMsgError>>
Result with SendResult on success, KMsgError on failure.
Inherited from
섹션 제목: “Inherited from”updateTemplate()
섹션 제목: “updateTemplate()”updateTemplate(
code,patch,ctx?):Promise<Result<Template,KMsgError>>
Defined in: packages/provider/src/aligo/provider.ts:33
Update an existing template by code.
Parameters
섹션 제목: “Parameters”code
섹션 제목: “code”string
patch
섹션 제목: “patch”ctx?
섹션 제목: “ctx?”Returns
섹션 제목: “Returns”Promise<Result<Template, KMsgError>>